Need to create controller based on ESP32, controlled by Nextion HMI.
Operating principle:
The device counts the teeth of a gear mounted on a drum using an inductive sensor –
similar to a garden hose reel. We know the dimensions of the drum (width), the number
of gear teeth, and the hose length. This allows us to calculate the current winding
position. The irrigation process is a cycle:
1. The machine starts fully wound. We power on the controller, knowing that 400
meters of hose are wound on the drum. As the hose unwinds, the controller
counts pulses and calculates the length.
2. Irrigation begins – a turbine powered by flowing water starts rewinding the hose.
During this phase, the controller counts pulses to calculate the remaining hose
length.
3. Based on the rewinding speed, the controller (not yet implemented) regulates
and adjusts the speed by controlling a pressure valve.
Safety mechanisms:
When safety is activated, the controller monitors the system. If a pressure drop or a halt
in rewinding is detected, it sends an SMS to the pump controller and turns oM the pump.
All settings are configured via the Nextion HMI.
Additionally, the device communicates with a server via MQTT.
Prototype are made, need to made a better code, make better GSM config, redesign PCB, prepare to future upgrades.
Also possibly to redesign Web App - in plans.
... Show more