Hello, this is the first project I am uploading to this website. Today we are going to make a speedometer and an odometer with an indicator for your cycle. This project is pretty simple. So, let's get started.
Speedometer and OdometerFirst, we are going to start with the speedometer and the odometer. We need three items for this. Arduino Mega/UNO, LCD display, and an IR sensor. Making with the uno can be difficult as we have to solder to the pins for the display.
First, plug on the LCD shield onto the Arduino. Connect the pins of the IR sensor
as follows:-
signal--> 22
VCC-->5v
gnd-->gnd
So, now time to paint. As we have to attach the ir sensor to the front wheel,
we have to paint a stripe of white paint on the side of the tyre. Like this:-
We have to do this as the sensor has to sense the make and break of the paint.
It counts the number of times it has come and it gives out the distance.
The time between the two breaks is also calculated to give out the speed.
Now, let's attach the IR sensor to the frame near the tyre. Like this:-
Now, we are ready. Upload the code to the Arduino with the LCD shield and stick it to the centre of the handle of the cycle with double-sided tape and a hot glue gun. Power the Arduino with the power bank or battery. It is better to use a power bank as it has more capacity. Spin the wheel to see the speed and distance covered by the wheel.
IndicatorsNow, let's start with the indicator. Here we need one item; the Led.This is simple. Just connect it as follows:-
led 1:-(left)
VCC-->26
gnd-->gnd
led 2:-(right)
VCC-->28
gnd-->gnd
After this step stick the led's to the left and right frames of the cycle respectively. Just as follows:-
You can even add reflectors for more visibility
Finish!!!!!!!!!!!!!!!!!!!!!!!
Just press the left button for left indicator and right for the right indicator
Comments
Please log in or sign up to comment.