Introduction: Arduino Measuring Tape

Picture of Arduino Measuring Tape

Hello, this instructable will teach you how to make an arduino measuring tape.

This isnt very hard as long as you follow each step carefully and make sure you do not play around with wires when there is power. Enjoy the insrucable and share it with your friends.

Step 1: You Will Need

Picture of You Will Need

For this insructable you will need:

1. A Computer

2. An arduino

3. Liquid Crystal

4. Jumper Wires

5. Ultra-Sonic sensor

6. 10k resistor

7. Bread Board

Step 2: The Circut

Picture of The Circut

Simply follow what is displayed in the diagram remember do not poke around with wires while the power is plugged in.

Step 3: U-S Sensor

Picture of U-S Sensor

All you need to do is wire Trigger pin to pin 6 on the arduino, the echo pin goes to digital pin 7 and vcc goes to 3.3 volts.

Step 4: Thanks

Dont forget to vote, share and like this insructable.

Also check out our YouTube channel and website.


Web Site:

Step 5: Code


LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

#include #define TRIGGER_PIN 6 #define ECHO_PIN 7 #define MAX_DISTANCE 200 NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE);

void setup() { lcd.begin(16, 2); Serial.begin(115200); }

void loop() { delay(50); unsigned int uS =; Serial.print("Ping: "); lcd.print(uS / US_ROUNDTRIP_CM); lcd.print("cm"); delay(500); lcd.clear(); }


Robson Couto (author)2014-09-27

Nice project!

Have you used it with a battery? So you can walk with it?

If you accept advices, make the code in the last step more legible.

and put a video here please, I want to see it working.


If you had a 5v battery and hooked it up to the bread board then sure you could use a battery

I used this code twice once each on different computers and i get this error every time I use this code:

This report would have more information with

"Show verbose output during compilation"

enabled in File > Preferences.

Arduino: 1.0.6 (Windows Vista), Board: "Arduino Uno"

sketch_oct08a:11: error: 'NewPing' does not name a type

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

sketch_oct08a:20: error: 'sonar' was not declared in this scope

sketch_oct08a:22: error: 'US_ROUNDTRIP_CM' was not declared in this scope

Did you download the newping library?

Thanks for the feedback, Im sorry it took so long for me to reply.

I took the project apart so I could start a new one but I will put it pack together so I can show you the video. So if it takes a while you know why.

ibenkos (author)2014-10-18

Smart idea! Thanks for shearig :)

bpogačar (author)2014-10-10

what is project's purpose? what does it measure

It can measure from the Ultra sonic sensor to a wall or surface up to 2 meters. It is over all pretty accurate but is sometimes 1-3 centimeters off

seamster (author)2014-09-26

Nicely done!

About This Instructable




More by Multiplatform gaming:Arduino Measuring TapeMulti-Coloured Led Gaming Setup
Add instructable to: