slergos wrote: ↑
Sat Jun 29, 2019 8:53 am
Hello, My name is Savvas, im an agricultural scientist, i have already build a prototype contrller for hydroponics on ESP32 / arduino, now i want to move on to Rasbberry / Python to take advantage of its hardware benefits , (remote acces and GUI)...
i need to control 12 peristaltic pumps and some solenoids.
the peristaltic pumps must start all at the same time (not one after the other) and run each one for a diferent time.
any idea how to achieve that?
Thank you !
Hi may i suggest you use your Pi With your current h/w, esp dev boards make great wifi assets for a smart system you host on your pi. there are a number of mature home automation systems with a strong user base such as Home assistant and Domoticz that can provide you with a gui for reference and control as well as providing the mechanisms for automatic reactions to sensor input.
to get 12x or any number of discrete esp wifi controllers all to start at the same time could be accomplished in a number of ways, With the tools i use for my own home automation experiments Mqtt/Node-red and tasmota firmware installed on my esp devices, Using Mqtt to issue commands to all the devices i would
1) point/confirm all are pointed at the same ntp server to sync time.
2) for each device define and set up a one off timer to start and end as desired all sharing the same start time.