Digital Meter
In this instructable we will show you a new way to measure distances between two objects without using the conventional tape measures, the idea to carry out this project is born from observing how complex it is to measure long distances when there is no person to help hold one of the ends of the tape measure, for this reason we thought of a way to digitize this process to make it more practical and simple.
In this instructable we will show you step to step how to make a digital measurement system, instead of using a tape measure we will use an ultrasound sensor that will record the distance traveled. The operation of this type of sensor is based on ultrasonic waves, the sensor head emits an ultrasonic wave that collides with the object and bounces back to the sensor. These types of sensors measure the distance to the object by counting the time between the emission and reception of the ultrasonic wave.
Supplies
• Arduino nano
• Display Oled 0.96 128x64 I2c
• Ultrasonic sensor Hc-sr04
• Lipo Battery 5V
• Mini protoboard 170 points
• Wire male-female 10cm
• Wire USB to MINIUSB
Electronic Circuit Connection
Place the Arduino nano in the center of the mini protoboard, then connect the rest of the elements with male-female wire as shown in the image.
Programming
Connect the cable from the computer to the Arduino nano to upload the code, Make sure you select the Arduino nano board in the tools menu before uploading the code.
Downloads
3D Printing of the Structure
3D print the box and lid needed to assemble our digital meter. Below are the files to print:
Assembly 1
Screw the led display into the cap.
Assembly 2
Place the sensor in the two holes of the box and insert the rest of the circuit
Assembly 3
Join the lid and the box with screws.
Tests
The digital meter is ready for you to use in your projects. Now you can try it.