Hi all, first time posting here. Ive got a most simple goal, measure the time between a bit going low and a second bit going low. I can only use P1, so Im assuming loop while p1.0 = 1 p1.0 = 0? start a timer, could count up to 10 seconds now loop waiting for p1.1 = 0 p1.1 = 0? stop the timer, calculate how many seconds display the result. Im using an HTE SDK8032 board, there is a monitor routine to display text, it interfaces to hyperterminal. if I can just get that "seconds" value, I could convert as needed and print it. simple. what happens? nothing. now Im trying to use C and a 32bit long as the timer int, maybe decrement, jump not zero or ? but figuring out time from the 11.05 Mc crystal (used for baud rates) is just not making sense right now, any help is appreciated.
The local camera store sells radar guns for a few hundred dollars. That and a videocam (which you will need anyway) might be a better way to go. I'd like to know how you will protect this device when you're not looking after it. Are those kids angels ? Also, my city has portable radar speed signs which are used in the same situation you have. I believe they also have double corded recorders for logging speeds and counts ...