Ultrasonic Measuring Tape





Introduction: Ultrasonic Measuring Tape

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.



  • Science of Cooking

    Science of Cooking
  • Pocket-Sized Contest

    Pocket-Sized Contest
  • Spotless Contest

    Spotless Contest

We have a be nice policy.
Please be positive and constructive.




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/

There is something wrong in the code because every time i get this error:

Blink:10: error: 'NewPing' does not name a type

Blink.ino: In function 'void loop()':

Blink:19: error: 'sonar' was not declared in this scope

Blink:21: error: 'US_ROUNDTRIP_CM' was not declared in this scope

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.

Very interesting, but you don't say anything about precision.

...nor range, scope, etc.

The maximum distance is 200cm and it is pretty precise but it is sometimes 1-3 cm off.

Well, this is not so impressive.

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.