Microcontroller › Arduino › Measuring speed using inductive proximity sensor. › HI…I am trying to read
HI…I am trying to read speed from both front and rear wheels of my motorcycle. I am using an Arduino uno with a 16×2 lcd display to view results and two fotek pl-05l npn inductive sensors. Sensors are reading wheel spinning from 5 screws that each one has for the disk brake. The main idea is to calculate time between each screw and assuming that its 1/5 of wheel to calculate the km/h. So far I have managed to read wheel speeds and comparing them to my original motorcycle speedometer they are pretty close. The problem is that often I get no logical km/h for example while riding at stable 90km/h suddenly shows 50km/h for a while and after that I have 90km/h again. My sensors are supposed to work at 800hz which from my calculations are enough for over 300 km/h. Can anyone help to find a solution.