I want to make a speed meter for my bicycle with a magnet on the front wheel and a reed switch toggled by it. I can attach the reed switch about 4-5 cm away from the magnet. But is the reed switch the best component for this? I feel like the vibration and movement might toggle it even when the magnet is not close. I also tested the copper wire coil which outputs a signal when magnet moves near it but the output was between 0-10 mV, that doesn't seems reliable.
I also found 2 types of reed switch, how are they different?