Measure Box (Distance Sensing) Using Ultrasonic Sensor~The Easiest
Intro: Measure Box (Distance Sensing) Using Ultrasonic Sensor~The Easiest
Ever wanted to measure without a scale or measuring tape?
Measure distance without a hassle with this small device!
Highly accurate*For more Intresting Projects Visit : www.miymakers.com
Facebook : www.facebook.com/miymakers
STEP 1: HOW IT WORKS`
STEP 2: COMPONENTS
>ARDUINO UNO
>ULTRASONIC SENSOR HC-SR04
>16*2 LCD SCREEN
>POTENTIO METER(ADJUSTING CONTRAST OF LCD)
>9V BATTREY
>CONNECTION CABLE
STEP 3: HEADER PIN
Use header pin so that You can easely make this project using only MALE TO FEMALE & FEMALE TO FEMALE JUMPER WIRES
Step 1: Place the Header Pin into the pins of Arduino After it glueing it will look like this.
Step 2:Using GlueGun, Glue the header pin to Arduino so that it does'nt become loose.
Double check whether the header pins are not loose,otherwise there will be no output from the pin!!!
STEP 4: CIRCUIT
DOUBLE CHECK!
LCD Connection
D7- DIGITAL PIN 2
D6 - 3
D5 - 4
D4 - 5
E - 11
RS - 12
VDD (+) RAIL BREADBOARD
A (+)RAIL BREADBOARD
---------------------------------------
VSS (-)RAIL BREADBOARD
K (-)RAIL BREADBOARD
RW (-)RAIL BREADBOARD
STEP 5: THE BOX
13 CM LENGTH
11 CM BREADTH
6 CM HIGHT
USE A BOX OF MORE LENGTH or else everything will be a little messy! (as in the box)
:D
STEP 6: MAKE HOLES
STICK EVERYTHING USING A DOUBLE SIDE CELLOTAPE
STEP 7: KEEP EVRYTHING INSIDE THE BOX!
AS I HAD CHOOSEN A SMALL BOX EVERYTHING SEEMS A LITTLE MESSY!
BE SURE TO TAKE A BIG one!
USE A 9V battrey/Powerbank to power the arduino TIP : Cover the box with some colour paper / paint itSTEP 8: DATASHEET
Please download the ULTRASONIC SENSOR library from the above link.
Then Open Arduino IDE Go to Sketch
--> Include Library
--> Add Zip File Close the Arduino IDE and open it again then you will find the library included.
For more info : https://www.arduino.cc/en/Guide/Libraries
STEP 9: Code
Code
Download the Code from the link and open it with Arduino IDE.
STEP 10: Done!
Please do vote this project as it has participated in Sensor contest.Your votes are very valuable To MIYMAKERS <3 !
Thats all makers!
If you have any doubts just comment it with the tag " #MM " Stay Tuned for more Projects! --------------------------------------------------------- :D View My Blog For More Intresting Projects! ****http://miymakers.wordpress.com **** It's a request from me If my instructable worked for You ,Let the other Makers know by ur comments and Favourites! Do Visit my blog for Sure! Thank You!
4 Comments
marcop90 7 years ago
#MM the archive doesnt work
miymakers 7 years ago
What happened Dude?
:D
jantjep 7 years ago
Nice and handy, I will make it but I will use a plastic box. (From Chinese take away or something like that)
miymakers 7 years ago
More Intresting Projects @ : http://miymakers.wordpress.com
Facebook Page : www.facebook.com/miymakers