Hey guys
I want to make something that can measure the speed of model trains. Now if I have 2 sensors a fixed distance apart (like 30cm) then I just need to time how long it takes for the 2nd sensor to be tripped after the first one, then speed = distance / time.
Any ideas? im guessing its gonna have to be some sort routine that increments, then measure how big the increment was to get the time?
Sorry for asking loads of questions all the time
Regards
DJH
I want to make something that can measure the speed of model trains. Now if I have 2 sensors a fixed distance apart (like 30cm) then I just need to time how long it takes for the 2nd sensor to be tripped after the first one, then speed = distance / time.
Any ideas? im guessing its gonna have to be some sort routine that increments, then measure how big the increment was to get the time?
Sorry for asking loads of questions all the time
Regards
DJH