Watch this video and learn about variable resistance and how a soil sensor uses it to read moisture levels.

 

Use this diagram to learn how to wire an soil moisture sensor and use it in your projects. 

Soil Sensor circuit diagram

Use this code and the serial monitor to take readings from your sensor.  Put it in water and then dry it off to see what happens.

 

Mastered soil moisture sensors?  Check out these tutorials to learn about some other parts. 

LCDs

LED Matrices

LEDs

Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
We do not share your personal details with anyone.