An ESP Makes A Bicycle Odometer
Measuring the speed of your cycling can be easily achieved by purchasing a cycle computer, but Clovis Fritzen opted to build his own. His creation is a smart PCB where speed is indicated by a row of LEDs, making for an innovative and custom solution. The setup involves a reed switch with a magnet attached to a wheel, sensed by an ESP8266 microcontroller. The six LEDs are controlled using charlieplexing over three lines.
To maintain the correct supply voltage for the ESP8266 despite the fluctuations of a lithium battery, a small buck-boost module is employed. While the current code does not make the speed data available via the wireless capabilities of the ESP8266, adding this functionality would likely require just a bit more software development. This enhancement could significantly expand the device’s utility by enabling wireless speed monitoring.
When enclosed in a box mounted on the handlebars, this DIY cycle computer presents a smart and simple instrument that enhances any bicycle. The project not only demonstrates a creative approach to measuring cycling speed but also highlights the potential for further customization and functionality through additional coding and wireless integration.
Read more: An ESP Makes A Bicycle Odometer