??? 04/06/06 17:39 Read: times |
#113749 - wondering .. Responding to: ???'s previous message |
Im usually the one here asking for help, but couldnt he just set up a code for a timer to start as it hits the first sensor and a stop when it hits the second? So lets say hes using a 4MHZ crystal, it would be 1 over 4MHZ which is 2E-7, multiply that by 12 (instructions), so that would mean that the microcontroller runs at 3 microseconds per instruction. Then write down the hex that he got from the timer (TH and TL) and Multiply that by 3 micro seconds, that would give you the exact time between both sensor breaks then convert that to MPH somehow ...
Maybe im just blabbing ... lol, but i thought that would work Goodluck |
Topic | Author | Date |
measure time with photo sensor | 01/01/70 00:00 | |
Time measurement using optical sensor | 01/01/70 00:00 | |
and | 01/01/70 00:00 | |
wondering .. | 01/01/70 00:00 | |
There's no such thing! | 01/01/70 00:00 | |
and it is harmful | 01/01/70 00:00 | |
show what you have done so far | 01/01/70 00:00 | |
How do you sense back bumper impulse? | 01/01/70 00:00 | |
Sensor | 01/01/70 00:00 | |
more and more cars have black (plastic?)![]() | 01/01/70 00:00 |