I found one power issue: a second ESP32 should not share the existing AP2112K 3.3V regulator because two WiFi ESP32 modules can exceed its 600 mA rating. I’m correcting this by giving the receiver its own USB-C power/programming and 3.3V regulator block.
Project Specification: ESP32 Water Level Early Warning System
Project Overview
Status: Draft. ESP32-based early warning node for monitoring water level and triggering local/WiFi alerts when water rises beyond configured thresholds.
Intended Use
Prototype field/deployment monitor for drains, tanks, rivers, or flood-prone points. The ultrasonic sensor is mounted above the water surface and measures distance to water.
What the Device Should Do
Measure water distance/level periodically.
Trigger warning through buzzer and status LED when threshold is crossed.
Provide WiFi/BLE-capable ESP32 platform for sending alerts to a server/app.
Support USB-C power and firmware programming.
Main Features
ESP32-S3 WiFi/BLE MCU module.
Second ESP32-S3 receiver/alarm device for remote warning output.
Waterproof ultrasonic water-level sensor module.
USB-C 5V input with 3.3V regulation.
Receiver has its own USB-C 5V input and local 3.3V regulator so the two ESP32 devices do not overload one LDO.
Local audible buzzer alarm and status LED.
Boot/reset buttons for easy firmware flashing.
System Architecture
Diagram
Hardware Subsystems
Power: TX USB-C 5V input and 3.3V LDO for U1; RX USB-C 5V input and separate 3.3V LDO for U4; 5V rail for ultrasonic sensor on the TX node.
Compute/Communication: ESP32-S3 module with WiFi/BLE and native USB programming.
Wireless Tx/Rx link: U1 sends alert packets to U4 via ESP-NOW/WiFi; no direct wired signal connection is required.
RX ESP32 GPIO: GPIO18 drives receiver buzzer transistor Q2, GPIO21 drives receiver status LED LED2, GPIO0/EN provide boot/reset.
Power and Runtime Expectations
Prototype assumes USB-C 5V power. Battery/solar operation is not included yet and can be added later.
Power Tree and Power Budget
Estimated per-node peak loads: each ESP32-S3 can require about 500mA peak on 3.3V, plus roughly 30mA buzzer and 2-5mA LED. TX and RX now use separate AP2112K 600mA regulators; each regulator is marginal but acceptable for prototype peak current. Thermal dissipation should be checked in layout and firmware should avoid sustained maximum WiFi TX plus buzzer load.
Manufacturing and Assembly Expectations
Default to SMD components for a compact prototype PCB. Add test points and mounting holes during layout if requested.
Firmware-Relevant Hardware Requirements
Arduino/ESP-IDF firmware should configure ultrasonic trigger/echo timing, thresholds, buzzer PWM/GPIO, LED status, WiFi connection, and remote alert publishing.
Physical Design Expectations
ESP32 antenna must be at the PCB edge with keepout. Sensor connector should be board-edge accessible. USB-C should be at board edge.
Important Design Decisions
ESP32-S3 chosen for WiFi/BLE and native USB programming.
Waterproof ultrasonic module chosen for non-contact level measurement.
USB-C powered prototype chosen because the user did not specify battery/solar.
Sensor ECHO line is level-shifted from 5V to 3.3V for ESP32 safety.
Assumptions
Monitoring range fits the JSN-SR04T-style 20-600 cm ultrasonic sensor.
USB-C 5V power is acceptable for the first prototype.
Local buzzer and LED are sufficient for local warning; network alert behavior will be firmware-defined.
Change Notes
Initial specification created from the user request on 2026-06-02.
Added independent receiver USB-C power/programming and receiver 3.3V regulator on 2026-06-02.
Project Overview
Intended Use
What the Device Should Do
Main Features
System Architecture
Hardware Subsystems
Interfaces and Connections
Power and Runtime Expectations
Power Tree and Power Budget
Manufacturing and Assembly Expectations
Firmware-Relevant Hardware Requirements
Physical Design Expectations
Important Design Decisions
Assumptions
Change Notes
Reviews
Documents
Project Specification: ESP32 Water Level Early Warning System
Firmware Starter — ESP32-S3 Water Level Early Warning System with Tx/Rx Devices
Board Bring-Up Plan — ESP32 Water Level Early Warning System
Assets
Assets are files uploaded to this project which can be used in various ways.
ESP32-based water level early warning system using a waterproof ultrasonic level sensor, USB-C power/programming, WiFi alert capability, local buzzer, and status LED indicators.
Properties
Properties describe core aspects of the project.
Pricing & Availability
Distributor
Qty 1
Arrow
$4.82–$6.38
Digi-Key
$12.79–$14.16
HQonline
$0.55–$0.75
LCSC
$16.00–$38.06
Mouser
$26.06
TME
$0.81
Verical
$4.88–$9.46
Controls
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.