DIY Speedometer on Arduino

28,427

125

12

Introduction: DIY Speedometer on Arduino

About: I like to create things, handmade weapon, arduino projects, science and some crazy staff! Also I like to capturing videos about my projects and I have YouTube channel - MadGyver!

This project based on Arduino, it will measure time of one revolution of wheel, then divide wheel's lenght on this time, and it will be the speed. Revolutions of wheel will be measured by magnet and hall sensor. I used servo motor with arrow and scale to show the speed, it looks like "analog". Also I used 7 segment display to show distance (odometer), also arduino write odo in its EEPROM after bicycle is stopped, so odo keeps in Arduino and not clears after system reboot.

You can watch all process of making this device IN THIS VIDEO

Step 1: Components and Wiring

All we need:

Connect components by scheme.

Sketch for Arduino and library are here, on my GitHub page

Step 2: Body

Body is made of shoe sponge box. Servo and display are fixed by hot glue. Button fixed by superglue.

Step 3: Scale

Draw scale on thick paper and cut it off. Arrow is made of painted toothpick and fixed to servo by thermalshrink tube

Step 4: Mount

Speedeter will be mounted on bike's handbar by tube mount. Sensor wire I wond around brake tube. Plastic cap is body for hall sensor. Magnet I fixed on cable holder.

Step 5: Test Drive

Speedometer works correctly, and also it is strong enough to survive a very aggressive forest ride. That’s all I wanted to show you, so see ya later! You can watch test drive video by this link

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    12 Discussions

    0
    Topteddy49
    Topteddy49

    Question 10 months ago on Step 5

    Thank you for uploading the instructable. I am interested to know what the 4 segment display does? It appered blank on the video clip. (which is not accessable on YT btw. I'm sure you can alter the settings in the creator section of your YT chanal. I typed the title into YT to ger the Video soI didn't miss it.)

    0
    zaid.rski
    zaid.rski

    Answer 3 months ago

    Its for the miles you went

    0
    jbike
    jbike

    1 year ago on Step 5

    Thanks for the code, I used some of it in my eBike project. Works great. Knowing the bike's speed will allow a smoother transition from different preset wattage levels.

    0
    TrezorO
    TrezorO

    3 years ago

    Why did you link to the non-English Ali site for the components?

    0
    kschmidt2
    kschmidt2

    3 years ago

    That's really cool and comes up at a good time because the Speedo on my bike just broke, getting new ones is a pain and I could probably modify it to work like this if I wanted and still make it look stock standard. Apart from the digital ODO of course.

    0
    kschmidt2
    kschmidt2

    Reply 3 years ago

    Motorbike that is.

    0
    mikeamick
    mikeamick

    3 years ago

    Dude .. that is all class.

    0
    Papimo
    Papimo

    3 years ago

    haha great! :)