Circuit Documentation
Summary
The circuit in question appears to be a control and monitoring system, likely for an environmental or hydroponic application. It includes a NodeMCU V3 ESP8266 microcontroller, which is the central processing unit capable of connecting to Wi-Fi for potential IoT applications. The circuit also features a DHT11 temperature and humidity sensor, a water sensor, multiple relay modules to control power to devices such as water pumps and fans, and a PCB board that serves as the base for mounting and interconnecting the components. The circuit is powered by a 12V power supply, and there are provisions for connecting water pumps and fans, which are controlled by the relay modules.
Component List
NodeMCU V3 ESP8266
- Microcontroller with Wi-Fi capability
- Pins: A0, GND, VU, S3, S2, S1, SC, S0, SK, 3V3, EN, RST, Vin, D0, D1, D2, D3, D4, D5, D6, D7, D8, RX, TX
DHT11
- Temperature and humidity sensor
- Pins: AO, DO, GND, VCC, +, -
Water Sensor
- Sensor for detecting water presence
- Pins: -, +
2 Channel Relay Module (x3)
- Modules for controlling high power devices
- Pins: N.O. 2, COM 2, N.C. 2, N.O. 1, COM 1, N.C. 1, pin 7, pin 8, pin 9, pin 10, pin 11, pin 12, VCC+, VCC- (GND), IN 1, IN 2
Humidity Sensor
- Sensor for measuring humidity
- Pins: GND, D1, 3V
PCB Board
- Baseboard for mounting and interconnecting components
- Pins: +, -
Water Pump 12V (x3)
- Pumps for moving water
- Pins: +, -
Fan (x2)
- Fans for air circulation
- Pins: GND, 5V
12V Power Supply (x2)
- Power supplies for the circuit
- Pins: +, -
Baseboard ESP8266
- Additional baseboard for ESP8266
- Pins: -, +
Wiring Details
NodeMCU V3 ESP8266
- A0 connected to DHT11 AO
- GND connected to PCB Board -, DHT11 GND, Humidity Sensor GND, and all relay modules VCC- (GND)
- 3V3 connected to PCB Board +, DHT11 VCC, Humidity Sensor 3V, and all relay modules VCC+
- D1 connected to Humidity Sensor D1
- D2 connected to Relay Module IN 2 (Instance 3)
- D3 connected to Relay Module IN 2 (Instance 2)
- D4 connected to Relay Module IN 1 (Instance 2)
- D5 connected to Relay Module IN 2 (Instance 1)
- D6 connected to Relay Module IN 1 (Instance 1)
DHT11
- AO connected to NodeMCU V3 ESP8266 A0
- DO not connected
- GND connected to NodeMCU V3 ESP8266 GND
- VCC connected to PCB Board + and NodeMCU V3 ESP8266 3V3
- connected to Water Sensor +
- connected to Water Sensor -
Water Sensor
2 Channel Relay Module (Instance 1)
- N.O. 2 connected to Fan (Instance 1) 5V
- COM 2 connected to PCB Board +
- N.O. 1 connected to Fan (Instance 2) 5V
- COM 1 connected to PCB Board +
- VCC+ connected to PCB Board + and NodeMCU V3 ESP8266 D3
- VCC- (GND) connected to PCB Board -
- IN 2 connected to NodeMCU V3 ESP8266 D5
- IN 1 connected to NodeMCU V3 ESP8266 D6
2 Channel Relay Module (Instance 2)
- N.O. 2 connected to Water Pump (Instance 3) +
- COM 2 connected to PCB Board +
- N.O. 1 connected to Water Pump (Instance 1) +
- COM 1 connected to PCB Board +
- VCC+ connected to PCB Board + and NodeMCU V3 ESP8266 D3
- VCC- (GND) connected to PCB Board -
- IN 2 connected to NodeMCU V3 ESP8266 D4
- IN 1 not connected
2 Channel Relay Module (Instance 3)
- N.O. 2 connected to Water Pump (Instance 2) +
- COM 2 connected to PCB Board +
- N.O. 1 not connected
- COM 1 connected to PCB Board +
- VCC+ connected to PCB Board + and NodeMCU V3 ESP8266 3V3
- VCC- (GND) connected to PCB Board -
- IN 2 connected to NodeMCU V3 ESP8266 D2
- IN 1 not connected
Humidity Sensor
- GND connected to NodeMCU V3 ESP8266 GND
- D1 connected to NodeMCU V3 ESP8266 D1
- 3V connected to NodeMCU V3 ESP8266 3V3
PCB Board
- connected to NodeMCU V3 ESP8266 3V3, DHT11 VCC, all relay modules VCC+, and 12V Power Supply +
- connected to NodeMCU V3 ESP8266 GND, all relay modules VCC- (GND), and 12V Power Supply -
Water Pump 12V (Instance 1)
- connected to Relay Module N.O. 1 (Instance 2)
-
Water Pump 12V (Instance 2)
- connected to Relay Module N.O. 2 (Instance 3)
-
Water Pump 12V (Instance 3)
- connected to Relay Module N.O. 2 (Instance 2)
-
Fan (Instance 1)
- 5V connected to Relay Module N.O. 2 (Instance 1)
- GND connected to PCB Board -
Fan (Instance 2)
- 5V connected to Relay Module N.O. 1 (Instance 1)
- GND connected to PCB Board -
12V Power Supply (Instance 1)
12V Power Supply (Instance 2)
- connected to Baseboard ESP8266 +
- connected to Baseboard ESP8266 -
Baseboard ESP8266
- connected to 12V Power Supply (Instance 2) +
- connected to 12V Power Supply (Instance 2) -
Documented Code
There is no code provided for the microcontroller(s) in the circuit. For a functional system, embedded code would be required to control the GPIO pins of the NodeMCU V3 ESP8266, read sensor data, and manage the relay modules based on sensor inputs or external commands (potentially over Wi-Fi). The code would typically be written in C or C++ using the Arduino IDE or similar development environments that support the ESP8266.