Ultrasonic Measuring Tape

About: My name is Zach Sousa and I'm a Canadian highschool student that has a passion for making.

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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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.

Arduino Contest

Participated in the
Arduino Contest

Full Spectrum Laser Contest

Participated in the
Full Spectrum Laser Contest

1 Person Made This Project!


  • Made with Math Contest

    Made with Math Contest
  • Multi-Discipline Contest

    Multi-Discipline Contest
  • Robotics Contest

    Robotics Contest

7 Discussions

Zach Sousa

5 years ago on Introduction

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

1 reply

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.

rimar2000Zach Sousa

Reply 5 years ago on Introduction

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.