Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino-Based Smart Irrigation System with Soil Moisture and pH Sensors, GSM Connectivity, and Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino-Based Smart Irrigation System with Soil Moisture and pH Sensors, GSM Connectivity, and Battery Power

Circuit Documentation

Summary

This circuit is designed to monitor soil moisture and pH levels, control a water pump, and communicate data via a GSM module. The core of the circuit is an Arduino UNO microcontroller, which interfaces with various sensors and actuators to achieve the desired functionality.

Component List

  1. SparkFun Soil Moisture Sensor

    • Pins: VCC, GND, SIG
    • Description: Measures the moisture level in the soil.
    • Purpose in Circuit: Provides soil moisture data to the Arduino.
  2. Arduino UNO

    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
    • Description: A microcontroller board based on the ATmega328P.
    • Purpose in Circuit: Central control unit for processing sensor data and controlling the water pump and GSM module.
  3. PH Meter

    • Pins: Signal, VCC, GND
    • Description: Measures the pH level of the soil.
    • Purpose in Circuit: Provides pH data to the Arduino.
  4. 1 Channel 5V Relay Module

    • Pins: VCC+, VCC- (GND), IN, N.O., COM, N.C.
    • Description: A relay module to control high-power devices.
    • Purpose in Circuit: Controls the water pump based on signals from the Arduino.
  5. Water Pump

    • Pins: VCC, GND
    • Description: A pump to water the soil.
    • Purpose in Circuit: Waters the soil when activated by the relay module.
  6. 18650 Li-ion Battery x 2

    • Pins: +, -
    • Description: Provides power to the water pump.
    • Purpose in Circuit: Supplies power to the water pump through the relay module.
  7. SIM 800L V2.0 GSM

    • Pins: SIM_TXD, VDD, SIM.RXD, 5V/4V, GND, RST
    • Description: A GSM module for communication.
    • Purpose in Circuit: Sends data to a remote server or receives commands via GSM.

Wiring Details

SparkFun Soil Moisture Sensor

Arduino UNO

PH Meter

1 Channel 5V Relay Module

Water Pump

18650 Li-ion Battery x 2

SIM 800L V2.0 GSM

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Additional Documentation (documentation.txt)