Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP8266 NodeMCU Controlled Automated Plant Watering System with Soil Moisture Sensing

Image of ESP8266 NodeMCU Controlled Automated Plant Watering System with Soil Moisture Sensing

Circuit Documentation

Summary

The circuit in question appears to be designed for a soil moisture and water level monitoring system, which can control water pumps based on sensor readings. It includes an ESP8266 NodeMCU microcontroller for processing and control, multiple soil moisture modules and water sensors for monitoring environmental conditions, a relay module to control power to the water pumps, and a power supply to energize the system.

Component List

ESP8266 NodeMCU

  • Microcontroller with WiFi capability
  • Used for reading sensor data, controlling relays, and possibly communicating with a remote server or user interface.

Relay 4 Channel 5V

  • A module with 4 relays capable of controlling higher power devices
  • Used to switch the water pumps on and off.

7.4V Power Supply

  • Provides power to the relay module and indirectly to the water pumps.

5V Mini Water Pump (4 units)

  • Small pumps for moving water
  • Controlled by the relay module, used to water plants based on soil moisture readings.

Soil Moisture Module (4 units)

  • Sensors that measure the moisture level in the soil
  • Provide analog or digital signals to the microcontroller to determine when watering is needed.

Water Sensor (4 units)

  • Detects the presence of water
  • Used to monitor water levels and possibly to prevent overwatering or detect leaks.

Wiring Details

ESP8266 NodeMCU

  • 3V3 connected to VCC of all Soil Moisture Modules
  • GND connected to Ground of all Soil Moisture Modules and Relay 4 Channel 5V GND
  • D0 to D4 connected to Digital pins of Soil Moisture Modules
  • D1, D5, D6, D7 connected to IN1, IN2, IN3, IN4 on Relay 4 Channel 5V
  • VIN connected to Relay 4 Channel 5V VCC

Relay 4 Channel 5V

  • GND connected to ESP8266 NodeMCU GND
  • IN1 to IN4 connected to ESP8266 NodeMCU D1, D5, D6, D7
  • VCC connected to ESP8266 NodeMCU VIN
  • COM1 to COM4 connected to positive pins of each 5V Mini Water Pump
  • NO1 to NO4 connected to 7.4V Power Supply positive

7.4V Power Supply

  • + connected to NO1, NO2, NO3, NO4 on Relay 4 Channel 5V
  • - connected to negative pins of all 5V Mini Water Pumps

5V Mini Water Pump

  • positive pin connected to COM1, COM2, COM3, COM4 on Relay 4 Channel 5V
  • negative pin connected to 7.4V Power Supply negative

Soil Moisture Module

  • VCC connected to ESP8266 NodeMCU 3V3
  • Ground connected to ESP8266 NodeMCU GND
  • Digital connected to ESP8266 NodeMCU D0 to D4
  • positive and negative connected to corresponding + and - on Water Sensors

Water Sensor

  • + connected to positive on corresponding Soil Moisture Module
  • - connected to negative on corresponding Soil Moisture Module

Documented Code

No code has been provided for the microcontroller. The expected code should handle reading sensor data from the soil moisture modules and water sensors, processing the data to make decisions, and controlling the relay module to turn the water pumps on or off accordingly. It may also include functionality for communicating with a remote server or user interface to report sensor readings and system status.