CUBIC METER (arduino + Hc-sr04 Sensors)





Introduction: CUBIC METER (arduino + Hc-sr04 Sensors)

Uploaded project was designed and programmed by Rodrigo Mejías (Santiago-CHILE).

The product consists of measuring from a simple linear distance, square meters and up to cubic meters. Since we are using HC-SR04 ultrasound sensors, distances should not exceed between 3.5 meters and 4 meters long,and especially there should be no obstacles in the line that is registering the measure

According to the measurement that we select in the TFT screen menu, the LEDs will begin to flash indicating where each sensor should point, so that each distance registers the angle for square meters, cubic meters, or simply linear distance. After that, just make click on center of ROTARY ENCODER to Start collecting ("MEDIR option") each distance. An single 3-axis graphic will show each measure and confrimed by each LED that stays ON. And according selected Option in menu Mts2 or Mts3, results will be shown on top right corner.

Step 1: Tools and Materials


1 Arduino NANO

3 HC-SR04 Sensors

1 TFT SPI 1.44" 128x128

1 Rechargable cell (18650) 1200mA

1 Battery charger (mini USB input)

1 Dc-Dc booster 3.7V to 5V


Laser cutting MACHINE

Machining Bench

Soldering Iron

Plastic adhesive

Step 2: Schematics / Plane Cutting Pieces & ARDUINO Sketch

Step 3: Full Sides CUBIC View

General view of assembled CUBIC and a couple more pics to show inside wiring.

Suggestions are welcome



    • Microcontroller Contest

      Microcontroller Contest
    • Spotless Contest

      Spotless Contest
    • Science of Cooking

      Science of Cooking

    We have a be nice policy.
    Please be positive and constructive.




    Hello, your project is very good!

    I would like to ask you to replace the sensor with three GY30 modules (IIC light sensor) to detect the two-dimensional plane?

    Cool project. You should enter this into the First Time Author contest.

    Thanks for the advice, I'll keep it in mind.