Society of Robots - Robot Forum
Software => Software => Topic started by: adaschau2 on December 19, 2011, 01:28:24 PM
-
Hey all,
I have been trying to piece together a track timer for my local cub scout troop's pinewood derby (racing small wooden cars down an incline), and I would like the finish line to have two separate timers displaying the finish time of each lane. As I have it set up right now, I need my controller to send a signal of a particular frequency to a "display" circuit which will show the current race time down to milliseconds. Big question is, how can I run both of these timers simultaneously and still be able to stop one lane's timer while having the other continue? Thanks in advance!
-
Put the clock through a fast AND gate and tie the other input of that gate to the timer stop line. Pull the line low to disable that timer.
-
Aight, thanks absentwizard. I actually thought about doing that, but I had some concerns in regards to accuracy problems due to the and gate having a delay in switching.
-
There are delays. About 25 nanoseconds. You wanted millisecond accuracy.
-
That I did, that I did. I certainly do believe that I could suck it up and accept a 25ns loss in accuracy :P Thanks, that clears up my issues as far as that logic goes.