Cheap DIY Speedometer

Use a magnet, magnetic reed switch, and math. Attach the magnet, use the reed switch to detect when the magnet passes by therefore one revolution, then calculate speed based on wheel diameter.