The circuit in question appears to be a soil moisture monitoring system with automated water pump control. It uses multiple YL-69 soil moisture sensors to measure the moisture level of the soil, which are interfaced with a Soil Moisture Module. The data from these modules are then read by an ADS1115 analog-to-digital converter (ADC) for precise measurement. An ESP8266 NodeMCU microcontroller is used to process the sensor data and control the system. The system also includes a 4-channel relay module to control multiple 5V mini water pumps based on the moisture levels detected. The entire system is powered by a 12V battery, with voltage regulation provided for the 5V components.
+
, -
positive
, negative
, Analog
, Digital
, Ground
, VCC
VDD
, GND
, SCL
, SDA
, ADDR
, ALRT
, A0
, A1
, A2
, A3
positive pin
, negative pin
D0
, D1
, D2
, D3
, D4
, 3V3
, GND
, D5
, D6
, D7
, D8
, RX
, TX
, A0
, RSV
, SD3
, SD2
, SD1
, CMD
, SD0
, CLK
, EN
, RST
, VIN
GND
, IN1
, IN2
, IN3
, IN4
, VCC
, COM1
, COM2
, COM3
, COM4
, NO1
, NO2
, NO3
, NO4
, NC1
, NC2
, NC3
, NC4
+
, -
+
: Connected to the positive
pin of the corresponding Soil Moisture Module.-
: Connected to the negative
pin of the corresponding Soil Moisture Module.positive
: Connected to the +
pin of the corresponding YL-69 Soil Moisture Sensor.negative
: Connected to the -
pin of the corresponding YL-69 Soil Moisture Sensor.Analog
: Connected to the A0
- A3
pins of the ADS1115 for analog data reading.Digital
: Not used in this circuit.Ground
: Connected to the GND
pin of the ESP8266 NodeMCU and ADS1115.VCC
: Connected to the 3V3
pin of the ESP8266 NodeMCU.VDD
: Connected to the 3V3
pin of the ESP8266 NodeMCU.GND
: Connected to the GND
pin of the ESP8266 NodeMCU.SCL
: Connected to the D2
pin of the ESP8266 NodeMCU.SDA
: Connected to the D1
pin of the ESP8266 NodeMCU.ADDR
, ALRT
: Not used in this circuit.A0
- A3
: Connected to the Analog
pins of the Soil Moisture Modules.positive pin
: Connected to the NO1
- NO4
pins of the Relay 4 Channel 5V.negative pin
: Commonly connected to the -
pin of the 12V Battery.3V3
: Provides power to the ADS1115, Relay 4 Channel 5V, and Soil Moisture Modules.GND
: Common ground for the ADS1115, Relay 4 Channel 5V, and Soil Moisture Modules.D1
, D2
: I2C communication with the ADS1115.D4
- D7
: Control signals for the Relay 4 Channel 5V.GND
: Connected to the GND
pin of the ESP8266 NodeMCU.IN1
- IN4
: Controlled by the D6
- D7
and D4
- D5
pins of the ESP8266 NodeMCU.VCC
: Powered by the 3V3
pin of the ESP8266 NodeMCU.COM1
- COM4
: Commonly connected to the +
pin of the 12V Battery.NO1
- NO4
: Connected to the positive pin
of the corresponding 5V Mini Water Pumps.+
: Provides power to the COM1
- COM4
pins of the Relay 4 Channel 5V.-
: Common ground for the 5V Mini Water Pumps.No code was provided for the ESP8266 NodeMCU or any other programmable components in the circuit. The code would typically include the initialization of the I2C interface, reading of the analog values from the ADS1115, processing the moisture level data, and controlling the relay module based on the moisture thresholds to activate the water pumps.