MAKER:MissionCritical/ Translator:Fun Endless
This issue introduces a portable ultrasonic measuring ruler that looks like a robot.In this project, we will not use jump wires or PCB; the circuit and appearance are combined into one, directly soldered with copper wire, retro and cute.
Let’s watch a production video:
Material List
Arduino Nano×1Ultrasonic Sensor (HC-SR04)×1OLED 0.96-inch Display×1Copper Wire 0.8mm×SeveralCopper Wire 0.6mm×SeveralSoldering Iron×1Solder Wire×1Soldering Magnifier×1Soldering Smoke Absorber×1Pliers×1Drill×1
Working Principle
The working principle is very simple.

1. The ultrasonic sensor measures the distance.

2. After calculation by Arduino, the result is displayed on the I2C OLED display.

In addition, there is another tutorial about ultrasonic waves that can be referenced:http://arduino.nxez.com/2018/03/13/how-to-make-a-radar-with-arduino.html.It introduces how to make a radar using an ultrasonic sensor.
Wiring
Before soldering, you need to connect with jump wires for code testing.



The connection method is as followsUltrasonic Sensor part:Ground GND-D2Echo ECHO-D3Trigger TRIG-D4Power Voltage VCC-D5
I2C OLED Display part:Power Voltage Vcc-5vGround GND-GNDData Line SDA-A4Control Line SCL-A5
Download the circuit diagram and Fritzing file from the project file library.https://make.quwj.com/project/155
Upload Code

The libraries used in the project are:SPI, Adafruit GFX, and Adafruit ssd1306.1. Initialize OLED, define trigger and echo pins, and define variables.2. Add necessary definitions in PIN mode, and display the information “Electronic scale by Mission Critical” after booting.3. In the main loop section, set to calculate in centimeters, the speed of sound is 340m/s, so distance = 0.034 * time / 2.4. Save distance data in the “distance” variable option and extend to the appropriate cursor position.5. Upload the code to Arduino Nano.


Download the code file from the project file library.https://make.quwj.com/project/155
Making the Copper Wire Shell

1. Created a CAD design drawing using Autodesk’s Fusion 360.

Download the appearance design drawing from the project file library.https://make.quwj.com/project/155
2. Processing Copper WireStep 1:Cut several pieces of copper wire, each 10cm long, for later use.

Step 2:Open the drill chuck and create a bent angle at one end of the copper wire.

Step 3:Tighten the drill chuck, slightly pull the other end with pliers to create tension.Step 4:Open the drill at low speed.Be careful when using the drill.

Measure the components according to the CAD drawing, and start soldering from the base using 18 gauge wire.The base size:52mm X 34mm.

Use pliers to cut two pieces of copper wire, one 52mm and the other 34mm, and solder them according to the drawing.
Soldering the Ultrasonic Sensor

Solder the ultrasonic sensor onto the Arduino board and form a certain vertical height, just directly insert the ultrasonic into the Arduino board.
The connection method is:Ground GND-D2Echo ECHO-D3Trigger TRIG-D4Power Voltage VCC-D5

After completion, you can solder the Arduino board, ensuring the angle is right angle during soldering.
Installing Arduino Nano


1. After the ultrasonic sensor is installed, use copper wire to solder it vertically to the base, the height of the sensor is about 24mm, cut four 24mm copper wires for later use.

2. Use the onboard holes of Arduino Nano to fix it in place.Use 28mm wire and bend it to 24mm, solder it to the base.
Installing the Display

1. Cut four pieces of copper wire, each 36mm long, and fold them into several parts according to the connection points on Arduino.The connection method is:Power Voltage Vcc-5vGround Gnd-GndData Line SDA-A4Control Line SCL-A5

Then bend the copper wire according to the position of the connection points.

2. After the connection points are soldered, solder the connector pins as shown.
Applying the Shell Protective Layer


After the project is completed, apply a layer of transparent nail polish on the entire copper structure to prevent copper from contacting the air and add luster.The project uses copper wire, you can replace it with brass rods, which are more wear-resistant and durable.

This project adopts a design in Freeform mode, not only eliminating the circuit but also having a more artistic shape. The design of the “metal arms” makes it look more like a robot! You can design one according to your preferences.
The project file library address:
http://make.quwj.com/project/155
via instructables.com/id/Digital-Scale-Using-Ultrasonic-Sensor-in-Freeform-/
Links in the text can be clicked to read the original text at the end
3D Printing to Create a Minimalist Automatic Fish Feeder
Raspberry Pi to Create a Low-Cost Interactive Microscope
Elegantly Adding Power On/Off Button to Raspberry Pi
Hacking Experience: Cat Whisker Sensory Enhancement Gear
Arduino + 3D Printing DIY Electronic Watch
Google Glass Based on Raspberry Pi and Vufine Screen
Raspberry Pi DIY Real-Life CS Equipment: Infrared Laser Gun