Free virtual lab

Smart irrigation node

A soil-moisture probe tells an ESP32 when the bed is dry, and a relay switches the pump on until it is wet again.

  1. Read the soil-moisture probe on an analogue pin
  2. Drive the relay module from a GPIO pin
  3. Keep the pump circuit on the relay's switched side
  4. Choose the dry threshold

Loading the lab…

Try free. Guest progress lasts while this page is open. Register to save on this device.