Soil Moisture Sensor Using Arduino

Learn how to build a smart irrigation system!

Want to keep your plants healthy? A soil moisture sensor can help automate watering!

Un-watered Plant

Properly watered

You'll need:

โ€“ Arduino Uno โ€“ Soil moisture sensor โ€“ Jumper wires โ€“ Water pump (optional)

The sensor detects water levels in soil and sends data to Arduino.

Connect the sensor to Arduino like this:

Use this simple code to read moisture levels!

Upload the code using Arduino IDE and check serial monitor for moisture values

Dry soil = High value,ย  Wet soil = Low value

Add a water pump to automatically water plants when soil is dry!

Troubleshooting Tips

โ€“ "Sensor not working? Check connections!" โ€“ "Getting wrong readings? Calibrate the sensor!"

Build your own soil moisture sensor today! ๐ŸŒฑ๐Ÿ’ก