I'm trying to make a speedometer car for my model railroad. At the moment, my plan is to have a 2mm Neodymium magnet attached to the rear of a freight car wheel, with a KY-003 hall effect sensor mounted to detect when it goes off. This will be connected to an Arduino Pro Nano on an interrupt pin, which will perform the calculations, update an LED display and log the speed and time to an SD card.
Thing is, I've used this sensor before, and its output is analogue, not digital. As such, I'm not sure if this sensor would work for this project. Could this work, or am I better off with a different sensor?
Also, the diameter of the wheel in question is approximately 11mm - just under half an inch.