Skip to content
ThinkNMake — Don't just think. Make it.
BeginnerAges 10–16 1 h 30 min

Automatic Plant Watering

A soil moisture sensor and a tiny pump keep your plants alive while you're away.

Project kit

$20.09

6 parts in one box

Unlocks the code, wiring and step-by-step guide.

Or get the kit

$19.79

Smart Garden Kit · 1 projects

Objective

Water a plant automatically when the soil gets dry, and show moisture on a display.

How it works

The capacitive probe outputs a lower voltage as soil gets wetter. The Nano reads it, compares it to a threshold you calibrate, and switches the pump through the relay for a few seconds.

Components you'll need

ComponentQtyAvailabilityPrice
Arduino Nano×1In stock$6.17
Moisture Sensor×1In stock$1.29
Mini Submersible Water Pump×1In stock$0.89
1-Channel Relay Module×1In stock$0.79
Jumper Wire Set (120 pcs)×1In stock$2.99
Breadboard medium×1In stock$0.99
0.96" OLED Display (I2C)optional×1In stock$3.99
Bought one by one$13.12

All of these come in Smart Garden Kit.

Circuit & connections

The full wiring diagram and pin-by-pin connections.

Already bought it? Log in

Code

The complete, tested sketch (13 lines), ready to upload.

Already bought it? Log in

Step-by-step instructions

4 illustrated steps:

  1. 1Calibrate the sensor
  2. 2Wire the relay and pump
  3. 3Upload and test
  4. 4Install
Already bought it? Log in

Troubleshooting

Fixes for the problems makers hit most often on this build.

Already bought it? Log in