Automatic Plant Watering System Using Ar ...

Automatic Plant Watering System Using Arduino | Soil Sensor + Relay Project

Jun 22, 2025

🔧 Project Overview

Components:

Function:
When the soil is dry (detected by the FC-28 sensor), the Arduino activates the relay, which turns on the water pump.

Soil Moisture Sensor

  • VCC of the soil moisture sensor connects to the 5V pin on the Arduino.

  • GND of the soil moisture sensor connects to the GND pin on the Arduino.

  • DO (Digital Output) of the soil moisture sensor connects to D6 on the Arduino.

Relay Module

  • VCC of the relay module connects to the 5V pin on the Arduino.

  • GND of the relay module connects to the GND pin on the Arduino.

  • Signal Pin (S) of the relay module connects to D3 on the Arduino.

Submersible Pump

  • Connect one terminal of the submersible pump to the normally open (NO) terminal of the relay.

  • Connect the other terminal of the submersible pump to the positive terminal of the power supply for the pump.

  • Connect the common (COM) terminal of the relay to the negative terminal of the power supply.

  • After you make the circuit just copy and paste the code to your IDE and click on upload.

  • DOWNLOAD THE CODE HEREimage

Подобається цей допис?

Купити для Gear Desk каву

Більше від Gear Desk

КонфіденційністьУмовиПоскаржитись