loading
In this Instructables I will show you how to make ultrasonic measuring tape using very few components such as 16 x 2 LCD, HC SR04 ultrasonic sensor and an Arduino Uno.
This is not supposed to replace accurate measuring tools this is just a fun arduino project that you can easily make at home or at a local makerspace.

Step 1: Wire the LCD

Wire the LCD like in the picture:

Step 2: Wire Ultrasonic Sensor

Wire the ultrasonic sensor's trigger pin to pin 6 on the arduino, the echo pin goes to digital pin 7 and vcc goes to 5 volts or probably even 3.3 volts. Then the grd pin goes to any ground pin on the arduino or on the ground rail on the breadboard if you connected it to ground.

Step 3: Download NewPing Library

Download the newping library: https://code.google.com/p/arduino-new-ping/

Drag the folder into the libraries folder by going: Documents --> Arduino --> and libraries. After that change the name to "Newping"

Step 4: Upload the Code

Upload this code to your arduino board:

Step 5: Finished

You have completed this instructable!
Please vote for this in the contests favourite it subscribe and give some ideas on some instructables that I can do.
<p>Anyone that views this instructable I recently updated it. People were getting errors so here is the solution: Download the newping library and drag it into the libraries folder. You can get it here: https://code.google.com/p/arduino-new-ping/</p>
<p>There is something wrong in the code because every time i get this error:</p><p>Blink:10: error: 'NewPing' does not name a type</p><p>Blink.ino: In function 'void loop()':</p><p>Blink:19: error: 'sonar' was not declared in this scope</p><p>Blink:21: error: 'US_ROUNDTRIP_CM' was not declared in this scope</p>
<p>I have updated this instructable and now you don't copy and paste directly from the instructable, you just double click the file this will open a text editor and copy and paste into the arduino IDE.</p>
<p>thank you for the instructable! </p>
Thank you for your feedback! I am glad you liked it.
<p>Very interesting, but you don't say anything about precision.</p>
<p>...nor range, scope, etc.</p>
<p>The maximum distance is 200cm and it is pretty precise but it is sometimes 1-3 cm off.</p>
<p>Well, this is not so impressive. </p><p>A few days ago I spent ashamed because of a cheap Chinese electronic scale: I went to complain to the supermarket because I had been overcharged the ham, and there MY SCALE weighed much more than at home.</p>

About This Instructable

3,659views

62favorites

License:

Bio: My name is Zach Sousa and I'm a Canadian highschool student that has a passion for making.
More by Zach Sousa:CNC Oak Watch Box CNC Camera SD Card Holder Edge 3D 3.0 - A $200 3D Printer 
Add instructable to: