SmartFlow
Personal Project · Field Installed (1 Site in Leon)Automated controller for a residential deep-well water pump

End-to-end data flow: Tank Node (ESP8266 + ultrasonic) → 40m RS-485 → Master ESP32 → CJX2 Contactor → 1.5 HP Pump
Why SmartFlow makes decisions locally:
SmartFlow started with a problem at home. I sometimes forgot to switch off our water pump after the tank was full, leaving it running longer than necessary and wasting water and electricity. I built a two-node controller to monitor the tank and manage the pump automatically.
Along the way, I learned about electrical noise from the motor, hardware limitations, and why safety logic belongs on the microcontroller. An ESP8266 monitors the 660L elevated tank, communicating over a 40-meter wired RS-485 cable to an ESP32 master node. If the sensor link drops or water flow stops while running, local C++ firmware trips the motor within 30 seconds to protect the pump from running dry.
The physical control box in Leon incorporates a Koten K63N C16 breaker for low-voltage control circuits, a CNC YC87-63N C20 breaker for the 220V pump line, an industrial CJX2-2510 contactor, and an LR2-D13 thermal overload relay to handle inductive inrush current safely.



