Speedometer Using Arduino and Processing




Introduction: Speedometer Using Arduino and Processing

About: I work as a Tech.Editor for circuitdigest.com My Job here is to tinker with electronics, build cool things and share it with the world. It fun to play with electronics and work on recent technologies. Apar…

Hello all, This is my first Instructables publication. I am gonna tell you how to make a Speedometer using Arduino and Processing. The cool thing about using Processing here, is that you can make your speedometer look cool like the one shown above. Also with few changes in the program you can make your android app using processing and display speed on your mobile phone.

The updated mobile phone version of the same can be found here : Arduino Speedometer

I will explain how code on using Arduino and Processing in upcoming steps. If you are not a amateur and just wanna rush up with through this you can jump into my YouTube video shown above.

Lets start with the hardware and software requirements

Hardware Requirements

  1. Arduino (any one will do, I am using a Clone here)
  2. Hall sensor
  3. 10K- Resistor
  4. A small peice of Magnet
  5. A rotating wheel (For testing purpose)
  6. Connecting wires

Software Requiremetns

  1. Arduino
  2. Processing

Step 1: Getting Things Ready

In this step lets get ready with the Hardware and Software that we need to get started. The hardware components are easily available online. The download links for software are given below



If you are installing Arduino software for the first time, please download the suitable driver and install it. Processing does not require any drivers, but it requires JAVA installed on your computer. If not installed do not worry Processing itself will guide you on how and from where to install it.

The Hardware Setup for this project is very simple, as shown in image above. The hall sensor is a three terminal transducer that changes its output based on the magnetic field around it. It is commonly used for speed detection and proximity switching. The first and second pin represents the +5V and Gnd respectively. The last pin is the data pin, which is connected through a pull-up resistor to latch output of the sensor.

Now get a rotating device to measure the speed and stick the magnet over the edge of the wheel and place the hall sensor near the magnet so that the magnet cross over the sensor for each rotation, then follow the image above and connect your sensor to arduino plug it in to your PC through programming cable, Lets start coding.

Step 2: Programming Your Arduino and Processing

The code is available as an attachment for you to download and burn straight away. Follow the comment lines to know how the code works and what changes are to be made to suit the code for your application.

If you are still confused go back and follow the video :-).

First Time Author Contest 2016

Participated in the
First Time Author Contest 2016

1 Person Made This Project!


  • Make it Glow Contest

    Make it Glow Contest
  • First Time Author Contest

    First Time Author Contest
  • PCB Challenge

    PCB Challenge

4 Discussions


3 years ago

its gonna be via bluetooth. once the device measures a certain speed it blocks the rod from going any further. just email me directly, thompson.brandon76@yahoo.com. Thanks!!!


3 years ago

I have a question relating to your build. i am building something similar, i need to be able to make a small rod stop moving when it reaches a certain speed. you think you have any knowledge on that? would be a huge help!!!!


4 years ago

Thanks for sharing, the video is helpful!


Reply 4 years ago

You are welcome, Let me know if you need any help.