Designing automatic watering system
Posted: 19 Feb 2020, 21:32
Hi Guys,
I've begun designing an automatic watering system for our garden, based on ESPEasy (of course
)
The overall design will include:
1 x Wemos D1 Mini Pro 2.0
2 x https://www.alibaba.com/product-detail/ ... 58258.html Water Flow sensors for measuring consumption
2 x https://www.aliexpress.com/item/4000208 ... web201603_ Solenoid Valves controlled by 2 x relays
2 x push buttons (to manually control each valve)
2 x https://www.aliexpress.com/i/32858273308.html Soil Moisture v1.2 sensors (Maybe just one, since ESP8266 only has one analog port)
2 x LED's (Valve status)
1 x MCP23017 for easy connection of components
I've started designing my own PCB in EasyEDA, to keep it as clean as possible. But I'm not an electronic expert, so I want to make sure that the design is correct.
So, a "couple" of questions:
1) Any restrictions to which GPIO's the two flow sensors are connected? From what I understand the MCP23017 cannot handle pulses.
2) For the flow sensors, do I need to do anything circuit-wise else than power it, and connect them to a ESP8266 GPIO?
3) Does ESPEasy support any way of adding an analog port for the second soil moisture sensor?
I've begun designing an automatic watering system for our garden, based on ESPEasy (of course


The overall design will include:
1 x Wemos D1 Mini Pro 2.0
2 x https://www.alibaba.com/product-detail/ ... 58258.html Water Flow sensors for measuring consumption
2 x https://www.aliexpress.com/item/4000208 ... web201603_ Solenoid Valves controlled by 2 x relays
2 x push buttons (to manually control each valve)
2 x https://www.aliexpress.com/i/32858273308.html Soil Moisture v1.2 sensors (Maybe just one, since ESP8266 only has one analog port)
2 x LED's (Valve status)
1 x MCP23017 for easy connection of components
I've started designing my own PCB in EasyEDA, to keep it as clean as possible. But I'm not an electronic expert, so I want to make sure that the design is correct.
So, a "couple" of questions:
1) Any restrictions to which GPIO's the two flow sensors are connected? From what I understand the MCP23017 cannot handle pulses.
2) For the flow sensors, do I need to do anything circuit-wise else than power it, and connect them to a ESP8266 GPIO?
3) Does ESPEasy support any way of adding an analog port for the second soil moisture sensor?