Android speedo on bike using Arduino and Bluetooth.

Android Display for Arduino Speedometer Using Bluetooth

If you haven’t done so already, please review the Android and Arduino Coding Fun page before continuing.

With this project the reader can use an Android device to display the speed and distance travelled by a small vehicle, such as bicycle, go kart or scooter. It features a speed limit setting that can be used to activate a beeper if the speed limit is exceeded. The speedometer logic is all in the Arduino, and the Android app is used for display and configuration.

For the speedometer you will need the following items, in addition to the core items:

  • a reed switch,
  • a magnet

Note, the Arduino digital pin 5 and GND are connected to the reed switch for measuring wheel rotations.

The source code is available for download as follows:

The video below demonstrates how to configure and use the speedometer Android app.

Don’t forget to like, share or comment!

Share on LinkedInShare on Google+Tweet about this on TwitterShare on Facebook

7 thoughts on “Android Display for Arduino Speedometer Using Bluetooth

  1. Charles Harris

    Hi
    I am retired with interest in model railways. I would love to use the speedometer with BT . Just learning Arduino.
    With model railways not much room. What sensor to find number of revolutions of the axle made, and using distance travelled on track per rev, calculate speed and show on Android. yuo
    Could your speedometer be used for above project ?
    Thanks
    Charles

    Reply
    1. Kashif Baig Post author

      Hi Charles. It might be possible to use an optical sensor and a wheel encoder on the motor itself to calculate speed/distance. The Arduino code for reading the sensor and calculating the speed/distance would need some modification, but rest of the code you could use as is. You may also be able to get the code to work on a scaled down Arduino, e.g. Adafruit Pro Trinket. Hope that helps.

      Reply
  2. Charles Harris

    Thanks Kashif. I will give it a try.

    Is there a Fritzing or similar drawing of the Arduino and the Bluetooth module connections etc.

    Thanks

    Charles

    Reply
  3. kenneth sørensen

    Hello
    I think your project looks very exciting.
    Will it be possible to use a bluetooth bike sensor (BLE) instead of the Arduino?

    Thanks Kenneth

    Reply
    1. Kashif Baig Post author

      Hi Daniel

      This project focuses mainly on the software side of things. The actual magnet and reed switch are from a bicycle speedometer product which broke, and so were used here. One connection of the reed switch is connected to GND, the other to Arduino pin 5.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *