The soil moisture sensor value goes from 0 to 1023, when the sensor recive a value minor than 600, the relay turn on and the pump starts to irrigating the soil. To adapt the 220V home tension, I used a phone charger. Open it, remove the USB connector, find the VCC and GND pins (probably 1° and 4°) and connect it to the Arduino pins (like the wiring diagram)
Published March 8, 2021



_ztBMuBhMHo.jpg?auto=compress%2Cformat&w=48&h=48&fit=fill&bg=ffffff)

_qM2soP8k8n.jpg?auto=compress%2Cformat&w=48&h=48&fit=fill&bg=ffffff)








_3u05Tpwasz.png?auto=compress%2Cformat&w=40&h=40&fit=fillmax&bg=fff&dpr=2)
Comments