I am trying to build a speedometer for my bicycle. I have some issues with my current hardware. Let me go through of what i have done first. I have attached a magnet on my bicycle radius (not sure if there is a specific way to do that). Next i have attached a magnetic sensor with my arduino quite close to the magnet. When I spin the wheel (slowly) and the magnet passes from the sensor the arduino onboard led turns on. Else the led is turned off. The PROBLEM is when I turn the wheel fast (It is not very fast since I am doing this with my hands) it skips everything. I am not sure what I am doing wrong and if my hardware is not enough what should I buy? It seems that there is not enough time to catch the magnetic force.
thanks for your time.