Smart IoT Water Level Controller Design

ChatGPT Image May 30, 2026, 02_19_56 PM.png

Image

Gemini_Generated_Image_4t5zsh4t5zsh4t5z.png

Image

Gemini_Generated_Image_dlnbr1dlnbr1dlnb (1).png

Image

Gemini_Generated_Image_q20bmqq20bmqq20b.png

Image

I’ll use these reference images to refine the documented architecture and PCB feature list, especially the single-board labels, touch/network edition, relay/protection zones, and user-control layout. I’ll update the project files rather than duplicating the long details in chat.
I updated the project requirements using the uploaded reference images and added a new Reference Image Assessment.
I also updated the Project Specification with the image-derived features: touch/network edition labeling, front-panel LEDs, five-key backup UI, relay/protection zones, and clear PCB service markings.
Start schematic design
Choose safe sensors
Add component list
Explain isolation boundary
Design HV board later

Refine this doc
Ask about this doc
Power and Architecture Notes
Safety Architecture
The recommended product architecture is two-board separation:
  1. High-voltage board: mains input, protection, AC sensing, current sensing, isolated power supply, and motor contactor interface.
  2. Low-voltage logic board: ESP32, UI, buttons, sensor inputs, RTC, memory, buzzer, and communications.
This separation reduces electric shock risk, keeps high-current noise away from the ESP32, and makes the product easier to service.
Preliminary Power Tree

Diagram


"230 VAC Mains" "Fuse" "MOV GDT EMI NTC" "Certified Isolated AC DC Module" "5 V Logic Rail" "4.2 inch TFT" "Buzzer and Drivers" "Relay or Contactor Driver" "3.3 V Regulator" "ESP32 Module" "RTC Memory Sensors LEDs"
Initial Load Estimate
These are planning estimates only. Final values must be updated after exact part selection and datasheet review.

Table


RailLoadTypical EstimatePeak EstimateNotes
3.3 VESP32 module120 mA500 mAWi-Fi transmit peaks can be high.
3.3 VRTC plus memory2 mA5 mADS3231 and EEPROM or NVS support.
3.3 Vlevel input network5 mA20 mADepends on probe method and pull-up values.
3.3 Vstatus LEDs0 mA to 30 mA50 mACould also be powered from 5 V through drivers.
5 VTFT touch display150 mA300 mAMust verify exact display module.
5 Vbuzzer and indicators20 mA150 mADepends on buzzer type and LED drive.
5 Vrelay driver interface20 mATBDA contactor coil may be external AC and not powered by this rail.
Preliminary Rail Sizing
  • 3.3 V regulator target: at least 700 mA peak capability.
  • 5 V isolated AC-DC target: at least 2 A for prototype margin if the TFT and relay/driver are powered from 5 V.
  • If the contactor has a high-power DC coil, the coil supply should be separated from the ESP32 logic rail.
  • If using an LDO from 5 V to 3.3 V at 300 mA typical, thermal dissipation is about 0.51 W, which is too high for many tiny SOT-23 regulators. A larger LDO package or a buck regulator should be considered if continuous ESP32 plus peripherals exceed about 250 mA.
Mains and Motor Protection Notes
  • Use a properly rated fuse before surge and filter components.
  • MOV must be rated for 230 VAC mains service.
  • GDT selection depends on surge requirements and earthing arrangement.
  • EMI filter must be safety-rated for mains use.
  • NTC inrush limiter must be sized for normal load current and enclosure temperature.
  • Motor current path should not be routed through the low-voltage logic PCB.
  • A 30 A motor output should use a certified contactor or relay assembly with suitable creepage, clearance, thermal design, and terminal rating.
Isolation Notes
  • AC voltage sensing should be isolated from ESP32 ADC inputs.
  • Current sensing should be isolated or non-invasive. SCT013 current transformer is safer for high-current AC loads than a board-mounted Hall module when the motor current is large.
  • Relay or contactor drive should use optocoupler or isolated driver where needed.
  • Inter-board connectors must preserve the high-voltage to low-voltage isolation boundary.
Open Decisions Before Schematic Part Selection
  1. Exact ESP32 module: ESP32-S3-WROOM is recommended for native USB and sufficient GPIO.
  2. TFT display interface: SPI is recommended to reduce pin count.
  3. Tank sensing method: conductive probes, float switches, capacitive sensors, or isolated digital inputs.
  4. Dry-run sensing method: source probe, flow sensor, pressure switch, or current-signature algorithm.
  5. Current sensor: SCT013 style CT for high-current AC is recommended for safety.
  6. Voltage sensor: isolated voltage transformer/module or certified measurement front end.
  7. Motor output: external AC contactor controlled by low-voltage driver is recommended for 30 A loads.
  8. Compliance target: local safety certification requirements must be decided before production.
Current Design Direction
For the first schematic revision, build a safe low-voltage controller board plus isolated interfaces to a high-voltage board. Treat high-voltage mains switching and sensing as connectorized, isolated subsystems unless exact certified HV parts are selected.

    Safety Architecture

    Preliminary Power Tree

    Initial Load Estimate

    Preliminary Rail Sizing

    Mains and Motor Protection Notes

    Isolation Notes

    Open Decisions Before Schematic Part Selection

    Current Design Direction

Documents

    Project Specification:IRAA ESP32 IoT Water Controller

    Power and Architecture Notes

    Schematic Implementation Plan

    Reference Image Assessment

Assets

No assets added.

IRAA ESP32 IoT Water Controller

IRAA ESP32 IoT Water Controller thumbnail
Premium dual-PCB ESP32 smart water level controller with isolated high-voltage power/motor board, low-voltage IoT logic board, level sensing, dry-run/voltage/current protection, TFT UI, MQTT connectivity, RTC logging, and industrial surge protection.

Properties

Properties describe core aspects of the project.

Pricing & Availability

See prices from popular manufacturers for your project.

Controls