1/ 100th second Slot car Timer


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by KeithH View Post
    I'm pretty new to this, though I do remember reading somewhere that if you run the Chip at 4Mhz, 9600 baud is just that but if you run the pic at a higher rate, the 9600 baud setting is also multiplied. so you could get the equivelant of 24000baud if you run the chip at 10Mhz?
    Sorry if I am wrong.
    You are correct. If you DEFINE OSC 4 for 4Mhz, but actually use 40Mhz, and your serial commands are setup for 9600 baud, you'll actually get 96,000 baud. But running 9600 baud @ 4Mhz, the bit timing is fairly tight and if you're running any kind of interrupts, that'll mess it up.
    Better to use DEBUG serial commands @ 4Mhz since they take up less code space.

  2. #2
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50

    Default Thanks For The Help

    I finished the project. I ended up using the pic basic pot command to trip a cad to tell the PC a number. I then wrote a VB program with a more accurate Apps call to more or less get a very accurate 1 1000th sec timer. I needed the nice user interface VB provided. I will give out the code for free to anyone who wants it and can learn by it. I am on to my next project now.
    Thanks to everyone who helped I hope I can return the favor.
    Snap
    Beer is proof that God loves us and wants us to be happy.

Similar Threads

  1. Thermo 7 segments - little problem
    By fratello in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 27th July 2013, 08:31
  2. RS485 bus - starting probem
    By wurm in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th January 2010, 14:35
  3. 32 bit square root
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 6th May 2009, 04:37
  4. one line led light make image
    By bioul in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th February 2008, 13:19
  5. HSERIN doesn´t work
    By wurm in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th July 2007, 15:23

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts