loading

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.

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

ARDUINO:https://www.arduino.cc/en/Main/Software

PROCESSING:https://processing.org/download/

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 :-).

<p>Please add the following needle.png,needle.png,speedcover.png,neon.png,gloss.png</p>
<p>Here you go.. syed</p>
<p>Thanks for sharing, the video is helpful!</p>
<p>You are welcome, Let me know if you need any help.</p>

About This Instructable

2,012views

16favorites

Bio: By profession I am a Embedded Design Engineer (R &amp; D) at Ampere Vehicles Pvt Ltd (http://amperevehicles.com). I have spent years learning Electrical and ... More »
More by as-WIN-th:Solar Powered Go Kart Calibrating Hobby Servo Motors Using Arduino Smart and Easy Timer Functions for Any Application  
Add instructable to: