NodeMCU_PIS
Plant Irrigation System with NodeMCU_ESP8266
Buy Parts
... 3 more lines |
View All |
NodeMCU_PIS
Plant Irrigation Shield for the NodeMCU_ESP8266.
This project combines one soil sensor (resistive or capacetive), one 5V pump in a water tank and a floating switch to detect the water level. Depending on the soil measurment and the configured nominal value the pump can be controlled while the floating switch prevents the pump from running dry. All configurations can be controlled via MQTT.
Schematic
Layout
Assembling
- Assemble all parts according BOM
- there are some slight more variants depending if you want to use an capacetive or resestive soil moisture sensor
- the status LED is optional
- the pullup/pulldown resistors should only be placed if needed
- leave JP1 open
Software
you could run Tasmota and set a few configurations
and set some extra parameter in console
# set nominal valuemem1 750 # turn pump on/off depending mem valueRule1 on analog#a0>%mem1% do power1 1 endon on analog#a0<%mem1% do power1 0 endon # turn rule1 off when water empty // todo: turn status LED onRule2 on Power2#State=0 do Rule1 1 endon on Power2#State=1 do Backlog Rule1 0; Power1 0 endon Rule1 onRule2 on
Changing mem1 value (can also be done via MQTT) results in new nominal value, every plant may need other value depending on size, soil, sunlight, ... so you need to play a bit to find a good value.