Skip to content

Lumb3/Plant_Watering_Circuit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

🌱 Plant_Watering_Circuit

An automatic plant watering system developed using Arduino
Keep your plants hydrated without lifting a finger!


Objective

Build a self-watering circuit that monitors soil moisture and activates a water pump when the soil gets too dry.


Materials Used

  1. Arduino 5V 1-Channel Relay Module (JK-5V-1RS)
    🔗 Purchase here

  2. Arduino Water Pump Motor (3–5V)
    🔗 Purchase here

  3. Arduino Uno R3 Compatible Practice Kit (ARD-S)
    🔗 Purchase here

  4. Soil Moisture Detection Sensor Module
    🔗 Purchase here

  5. Air Hose for Water Pump
    🔗 Purchase here

  6. Jumper Wires
    🔗 Purchase here


Step 1: Planning

Proper planning is key! Here are two wiring schemes reviewed and approved by my ECE professor:

Option 1 – Basic Relay Module Setup

How it works:

  • The soil sensor uses a Digital Output (DO) signal to transmit either a "wet" or "dry" status to the Arduino.
  • Connect the sensor’s VCC and GND pins to the Arduino’s 5V and GND pins, respectively.
  • The relay module acts as a protective switch between the Arduino and the water pump, preventing potential overcurrent damage to the Arduino.
  • A 3–5V external battery connects to the relay’s Common Connector (CC).
    • (Alternative: You can use the Arduino’s 3–5V output as the power source. However, this is not recommended, as the water pump may require more current than the Arduino can provide. More details available here.)
  • The water pump connects to the Normally Open (NO) pin on the relay and activates only when the soil is detected as dry.

Relay Module Mechanism:

Relay Working

Option 2 – MOSFET-Controlled Setup

What’s different?

  • This version uses a MOSFET instead of a relay to control the water pump.
  • ⚠️ Caution: The pump is directly connected to the Arduino, which may be risky if the pump draws more current than the board can safely handle.
  • It is essential to measure the pump’s minimum current draw before using this method.

Step 2: Implementation

Soil Sensor Test

  • When the sensor touches water, the green light turns on.
  • When the sensor is dry, the light turns off.

📹 Watch the test


Test: Method 1 Implementation

📹 Watch the circuit in action

📸 Implementation snapshot:

Note: The pump is temporarily powered by the Arduino’s 5V pin, which is not recommended for long-term use.
Use a separate power source to avoid damaging the board.


Conclusion

This project successfully demonstrates how Arduino can automate a common task—plant watering—by integrating sensors, relays, and basic electronics. Among the two methods explored, Method 1 (Relay-based) proved to be more stable and safer due to current isolation from the Arduino board. Future improvements could include:

  • Using a capacitive moisture sensor for better durability.
  • Adding real-time monitoring via Bluetooth or Wi-Fi (e.g., ESP8266).
  • Implementing power-saving modes for battery-operated use.

About

Automated Plant Watering Circuit developed on Arduino

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages