ESP32 Ultrasonic Water Level Sensor Housing (with HC-SR04 Mount & Cutout Template)

Robust housing for ESP32 and HC-SR04 to measure water tank level e.g. with ESPHome and Home Assistant.
3
10
0
77
updated June 20, 2025

Description

PDF

This 3-part 3D printable housing system allows you to install an ESP32 and HC-SR04 sensor into a waterproof container or tank lid for use as a smart fill level sensor. It’s perfect for home automation projects using ESPHome and Home Assistant.

🧩 Parts Included:

Inner Housing: Holds the ESP32 and ultrasonic sensor.

Outer Housing: Encloses and protects the sensor unit from outside elements.

Mounting Template: Used to mark and cut a matching hole in the tank lid.

 

🔩 Hardware Required:

M5 bolts and nuts (e.g., 4x M4 bolts + 4x M4 nuts)

 

🔧 Installation Steps:

Print all three parts.

Use the cutout template to mark and cut the mounting hole in the tank lid.

Insert the sensor module with the ESP32 and HC-SR04.

Secure the assembly with M5 screws and nuts.

Flash the ESP32 with ESPHome and configure it to read the HC-SR04 sensor data.

 

🎥 A complete build tutorial (in German) is available here:

Tags



Model origin

The author marked this model as their own original creation.

License