# GitHub of the project: [https://github.com/astrosander/arduino-speedometer](https://github.com/astrosander/arduino-speedometer)

**Bike computer based on arduino and Hall Sensor**

​

[ 3D animation of a bicycle with hardware on it](https://i.redd.it/712knlxtzrxb1.gif)

​

https://preview.redd.it/i4d6lfqvzrxb1.jpg?width=1280&format=pjpg&auto=webp&s=51e23eb4ac0629a7d4f1a1bb8cd93d3c0a1cef63

​

https://preview.redd.it/koai577wzrxb1.jpg?width=1280&format=pjpg&auto=webp&s=32377713e988accc38ad638ed9431336f1dbc0d1

​

https://preview.redd.it/ea60usmwzrxb1.jpg?width=1280&format=pjpg&auto=webp&s=a6ab7bab56b55489153780c129fd55a2d0be3607

​

[ Wiring diagram of my project ](https://preview.redd.it/hmx1ueaxzrxb1.png?width=2202&format=png&auto=webp&s=c0d28688ebff93db55c36a690c66e31e1ea3c7bb)

​

[ Value of the Hall sensor when the magnet passes by it](https://preview.redd.it/9kqkulvyzrxb1.png?width=800&format=png&auto=webp&s=4202bf34eea60c2d06a018fe193a509f58e9e3f4)

Unsatisfied with the functionality of shop bike computers, I decided to create my own solution. Working independently in our garden, I devised a system that utilized a magnet and a Hall Sensor attached to the bike to accurately measure wheel movement in inercial system of the bike body.

By calculating the time difference between sensor triggers, the program provided precise data on various bike metrics: speed, distance covered, time, maximum speed, acceleration, and velocity-time graphs for different durations.

The setup involved a magnet on the front wheel’s spokes passing by a sensor on the fork, transmitting data to an Arduino Uno powered by a Xiaomi PowerBank. This information was then displayed on a 16×02 LCD screen. To enhance user experience, I integrated a feature that automatically switched off the display backlight if there was no motion detected for the last 15 seconds.

by Nice-Revolution8187

Share.

1 Comment

Leave A Reply