Distence Measurment using Arduion
How to make distence measurment using arduino
Distence measurment using the arduino is easy just need to fallowing componets and connect the shown in the connection diagram
- Arduino
- Ultrasonic sensore
- 1 10k Potentiometer
- Bread Board
- Connecting wire
- LCD display
Breaboard
First take the breadboard and conect the wires as shown in the diagram
connections
- connect the red and black wire for +5Vcc amd ground in arduino
- connect the display vss to ground and vdd to ground
- connecth the display V0 to center of the potentiometer
- display RS pin to arduino pin 2
- Disply RW pin to Arduino ground
- Display E pin to Arduino pin 3
- Display pin D4 to Arduino pin 4
- Display pin D5 to Arduino pin 5
- Display pin D6 to Arduino pin 6
- Display pin D7 to Arduino pin 7
- Display pin A to Arduino pin Positive 5V
- Display pin K to Arduino pin Ground
Take the Ultrasonic sensor connect to the arduino
- Sensor pin Vcc to Arduino pin Positive 5V
- Sensor pin GND to Arduino pin Ground
- Sensor pin Trig to Arduino pin A4
- Sensor pin Echo to Arduino pin A5
After the connections it's time to program. The upload of the program will be using Arduino sofware. You can download it easily from google.
The program will be avilable through in this link Click here to download
Comments
Post a Comment