Skip to content

boikedamhuis/Arduino-soil-moisture-relay-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Arduino Soil Moisture relay controller

Arduino example to control a relay based on moisture values. The basis for a smart garden irrigation system.

Wiring relay

  • Connect VCC to 3.3v
  • Connect ground to ground
  • Connect data pin to pin D4/GPIO2

alt text

Wiring soil moisture sensor

  • Connect VCC to 3.3v
  • Connect ground to ground
  • Connect data pin to AO analog pin.

alt text Wire your pump to the relay. The pump will start pumping water as soon as the soil moisture sensor detects too less water.

About

Controll a relay with a soil moisture sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages