Pocket Sonic Ruler

by ThareeqA in Circuits > Arduino

1499 Views, 20 Favorites, 0 Comments

Pocket Sonic Ruler

IMG20200714110207.jpg
IMG20200714113517.jpg

This a pocket sized Ultrasonic scale you could carry in your pocket and measure the length of object.

You could measure your height, furniture heights etc.,

I am writing this instructable on the assumption that you know how to install Arduino IDE and upload code to arduino uno using it.

So Lets get Started.

Components used:

Arduino Uno

TM1637 - 7 segment display

HC-SR04 Ultrasonic scale

Switch

Arduino power jack

9V battery and its connector

Connections and Code

IMG20200714110942.jpg
IMG20200714110931.jpg
IMG20200714111039.jpg

Ultrasonic has 4 pins: echo, trigger, vcc, gnd

Connect VCC to pin 8 of arduino

echo --> pin 7

trig --> pin 6

gnd --> ground of arduino

TM1637 display has 4 pins CLK, DIO , VCC, GND

CLK --> Pin 2 of arduino

DIO --> Pin 3 of arduino

VCC-->5v

GND-->GND

Download the code from this link and copy-paste in Arduino IDE.

Download the code

Upload the code to Arduino Uno

Put It in a Box

IMG20200714115023.jpg
IMG20200714113439.jpg
IMG20200714113445.jpg

After all connection put them together in a box.

Take a pocket sized box and cut holes for ultrasonic sensor, switch and display.

Switch connection you could see from image.

You could add your own modifications.

Product Images and Video

IMG20200714113624.jpg
Pocket Sonic Scale
IMG20200714113503.jpg