SENSING MOVEMENT FROM ROTATION

Reed switches are mechanical switches operated by a moving magnet. Depending on the physical construction of the moving magnet and the reed's position they tend to bounce like a manual switch. If you know the RPM range your setup can be in you can measure the time between two edges and ignore all edges too close to the former one.