Ultrasonic Measuring Tape

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

Intro: 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.

Share

Recommendations

  • Audio Contest 2018

    Audio Contest 2018
  • Fix It! Contest

    Fix It! Contest
  • Furniture Contest 2018

    Furniture Contest 2018

7 Discussions

0
None
Zach Sousa

3 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.

0
None
rimar2000Zach Sousa

Reply 4 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.