Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32-POE2 microcontroller, a 4 Channel 30A 5V Relay, a Relay 4 Channel 5V, and multiple DHT22 sensors. The circuit is designed to control relays and read data from temperature and humidity sensors.
Component List
ESP32-POE2
- Description: A microcontroller with multiple GPIO pins, capable of handling various input and output operations.
- Pins: 12/24V Selectable, 5VP, 5V, 3.3V, EN, GPIO0, GPIO1/U0TXD, GPIO2/HS2_DATA0, GPIO3/U0RXD, GPIO4/U1TXD, GPIO5/SPI_CS, GPIO12/PHY_PWR (MTDI), GPIO13/12C-SDA (MTCK), GND, GPI39, GPI36/U1RXD, GPI35, GPI34/BUT1, GPIO33, GPIO32, GPIO16/I2C-SCL, GPIO15/HS2_CMD(MTDO), GPIO14/HS2_CLK(MTMS), GPIO13/I2C-SDA(MTCK)
4 Channel 30A 5V Relay
- Description: A relay module capable of switching high current loads.
- Pins: 5V, GND, IN1+, IN1-, IN2+, IN2-, IN3+, IN3-, IN4+, IN4-
Relay 4 Channel 5V
- Description: A relay module with 4 channels, used for switching devices.
- Pins: GND, IN1, IN2, IN3, IN4, VCC, COM1, COM2, COM3, COM4, NO1, NO2, NO3, NO4, NC1, NC2, NC3, NC4
DHT22
- Description: A temperature and humidity sensor.
- Pins: +, Out, -
Wiring Details
ESP32-POE2
5V is connected to:
- 4 Channel 30A 5V Relay (5V)
- Relay 4 Channel 5V (VCC)
GND is connected to:
- 4 Channel 30A 5V Relay (GND, IN1-, IN2-, IN3-, IN4-)
- Relay 4 Channel 5V (GND)
- DHT22 (Ground pin of all DHT22 sensors)
3.3V is connected to:
- DHT22 (+ pin of all DHT22 sensors)
GPIO1/U0TXD is connected to:
- DHT22 (Out pin of one DHT22 sensor)
GPIO2/HS2_DATA0 is connected to:
- Relay 4 Channel 5V (IN1)
GPIO3/U0RXD is connected to:
- 4 Channel 30A 5V Relay (IN4+)
GPIO4/U1TXD is connected to:
- 4 Channel 30A 5V Relay (IN3+)
GPIO5/SPI_CS is connected to:
- 4 Channel 30A 5V Relay (IN2+)
GPIO13/12C-SDA (MTCK) is connected to:
- 4 Channel 30A 5V Relay (IN1+)
GPIO14/HS2_CLK(MTMS) is connected to:
- Relay 4 Channel 5V (IN2)
GPIO15/HS2_CMD(MTDO) is connected to:
- Relay 4 Channel 5V (IN3)
GPIO32 is connected to:
- DHT22 (Out pin of one DHT22 sensor)
GPIO33 is connected to:
- DHT22 (Out pin of one DHT22 sensor)
4 Channel 30A 5V Relay
5V is connected to:
- ESP32-POE2 (5V)
GND is connected to:
- ESP32-POE2 (GND)
IN1+ is connected to:
- ESP32-POE2 (GPIO13/12C-SDA (MTCK))
IN2+ is connected to:
- ESP32-POE2 (GPIO5/SPI_CS)
IN3+ is connected to:
- ESP32-POE2 (GPIO4/U1TXD)
IN4+ is connected to:
- ESP32-POE2 (GPIO3/U0RXD)
Relay 4 Channel 5V
VCC is connected to:
- ESP32-POE2 (5V)
GND is connected to:
- ESP32-POE2 (GND)
IN1 is connected to:
- ESP32-POE2 (GPIO2/HS2_DATA0)
IN2 is connected to:
- ESP32-POE2 (GPIO14/HS2_CLK(MTMS))
IN3 is connected to:
- ESP32-POE2 (GPIO15/HS2_CMD(MTDO))
DHT22
+ is connected to:
- ESP32-POE2 (3.3V)
Out is connected to:
- One DHT22 sensor to ESP32-POE2 (GPIO1/U0TXD)
- One DHT22 sensor to ESP32-POE2 (GPIO32)
- One DHT22 sensor to ESP32-POE2 (GPIO33)
- is connected to:
- ESP32-POE2 (GND)
Code
No code is provided for this circuit.
