Tag: e-scooter speedometer

1 articles found.

ESP32 E-Scooter Speedometer with A3144 and GC9A01 - Proteus Simulation

ESP32 E-Scooter Speedometer with A3144 and GC9A01 - Proteus Simulation: the ESP32, the A3144 Hall switch and the GC9A01 round display showing the speed

Hello friends, I hope you all are doing great. Today, I am going to share the ESP32 E-Scooter Speedometer with A3144 and GC9A01 - Proteus Simulation, the ninety-seventh project of our IoT Projects series. If you have searched for an ESP32 speedometer, how a Hall sensor measures speed, a bike computer with a round display, or how to drive a GC9A01 without a library, here is a complete one in a Proteus simulation. Every bike computer and most scooter dashboards work the same way: a small magnet on the wheel, a sensor on the fork that notices it once a turn, and a microcontroller with a stopwatch. This project builds that speedometer for an electric scooter with a 10-inch wheel. An A3144 Hall switch sees the magnet pass; the ESP32 timestamps every pass with an interrupt and turns the time of one wheel turn into km/h. A 1.28-inch GC9A01 round display shows a dial of 36 segments, the speed in big digits, the trip and the highest speed, and turns red with SLOW above 25 km/h, the legal limit for e-scooters in much of Europe. The trip, the ride time and the average are on a dashboard, with a reset and a km/h / mph switch. In this tutorial, we will go through the circuit, how a Hall switch works and why it needs 5 V, how speed comes from one turn of the wheel, how the round display is driven with plain SPI, and the code. Then we ride a full speed run in the simulation, from walking pace past the limit and back to a stop. At the end, you can download the project with the sketch and ...