- This topic has 2 replies, 2 voices, and was last updated 7 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › c code for car over speeding detection using IR sensors and 8051 microcontroller
hi
anyone to help me out with a c code to calculate the speed(particularly time). the distance is fixed in this case
Hi there
If you want to use IR sensors for this, then try making something similar to an IR based visitor counter. You can use this same concept and calculate the time gap between two sensor values and then calculate the speed using formula:
Speed= Distance/Time,
here distance would be the gap between two IR sensors and time would be calculated using them, as said above.
This might help
thank you very much let me try that one out