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

Wi-Fi Controlled Smart Irrigation System with Soil Moisture Sensors and ESP8266

View and Edit Project In Cirkit DesignerImage of Wi-Fi Controlled Smart Irrigation System with Soil Moisture Sensors and ESP8266

Circuit Documentation

Summary

This circuit is designed to monitor soil moisture levels using capacitive soil moisture sensors and control water flow through solenoid valves and a water pump. The system is managed by an ESP8266 NodeMCU microcontroller, which processes sensor data and actuates the relays to control the solenoid valves and water pump. The circuit is powered by a 12V 7Ah battery, with voltage regulation provided by an LM2596 step-down module.

Component List

  1. Capacitive Soil Moisture Sensor V1.2

    • Pins: GND, VCC, AOUT
    • Description: Measures soil moisture levels.
    • Purpose: Provides analog output proportional to soil moisture.
  2. Plastic Solenoid Valve

    • Pins: pin1, pin2
    • Description: Controls water flow.
    • Purpose: Opens or closes to allow or stop water flow.
  3. Mini Diaphragm Water Pump

    • Pins: Positive (+), Negative (-)
    • Description: Pumps water.
    • Purpose: Moves water through the system.
  4. ESP8266 NodeMCU

    • Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN
    • Description: Microcontroller with Wi-Fi capabilities.
    • Purpose: Processes sensor data and controls relays.
  5. 12V 7Ah Battery

    • Pins: 12v +, 12v -
    • Description: Provides power to the circuit.
    • Purpose: Supplies 12V power.
  6. 12V Single Channel Relay

    • Pins: NC, COM, NO, IN, GND, VCC
    • Description: Electromechanical switch.
    • Purpose: Controls high-power devices like solenoid valves and water pump.
  7. 4050 Hex Buffer

    • Pins: VCC, NC, G, L, A, F, H, B, K, I, E, C, J, VSS, D
    • Description: Logic level buffer.
    • Purpose: Buffers and conditions signals.
  8. LM2596 Step Down Module

    • Pins: OUT-, OUT+, IN-, IN+
    • Description: Voltage regulator.
    • Purpose: Steps down voltage from 12V to 3.3V for the ESP8266.

Wiring Details

Capacitive Soil Moisture Sensor V1.2

Plastic Solenoid Valve

Mini Diaphragm Water Pump

ESP8266 NodeMCU

12V 7Ah Battery

12V Single Channel Relay

4050 Hex Buffer

LM2596 Step Down Module

Code

No code provided for this circuit.


This documentation provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code section. Each component is described, and its connections are detailed to ensure clarity and ease of understanding.