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
- Arduino (any one will do, I am using a Clone here)
- Hall sensor
- 10K- Resistor
- A small peice of Magnet
- A rotating wheel (For testing purpose)
- Connecting wires
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
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 :-).
Participated in the
First Time Author Contest 2016
1 Person Made This Project!
as-WIN-th made it!