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

ESP32 and MCP23017-Based Smart Relay Control System with DHT22 Sensors

View and Edit Project In Cirkit DesignerImage of ESP32 and MCP23017-Based Smart Relay Control System with DHT22 Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes various components such as a DFRobot Gravity MCP23017 I2C 16 Digital IO Expansion Module, multiple relay modules, DHT22 sensors, an ESP32-POE-ISO microcontroller, and a power supply. The circuit is designed to interface with multiple relays and sensors, controlled via I2C and GPIO connections.

Component List

  1. DFRobot Gravity MCP23017 I2C 16 Digital IO Expansion Module

    • Description: I2C-based 16-channel digital I/O expander.
    • Pins: SDA, SCL, GND, 5V/VCC, RST, IA (Interrupt Detection Pin) A, IB (Interrupt Detection Pin) B, 0 (PA0), 1 (PA1), 2 (PA2), 3 (PA3), 4 (PA4), 5 (PA5), 6 (PA6), 7 (PA7), 8 (PB0), 9 (PB1), 10 (PB2), 11 (PB3), 12 (PB4), 13 (PB5), 14 (PB6), 15 (PB7)
  2. Relay 4 Channel 5v

    • Description: 4-channel relay module for switching high-power devices.
    • Pins: GND, IN1, IN2, IN3, IN4, VCC, COM1, COM2, COM3, COM4, NO1, NO2, NO3, NO4, NC1, NC2, NC3, NC4
  3. DHT22

    • Description: Digital temperature and humidity sensor.
    • Pins: +, Out, -
  4. 4 Channel 30a 5V Relay

    • Description: High-power 4-channel relay module.
    • Pins: 5V, GND, IN1+, IN1-, IN2+, IN2-, IN3+, IN3-, IN4+, IN4-
  5. ESP32-POE-ISO

    • Description: ESP32 microcontroller with Power over Ethernet (PoE) and isolation.
    • Pins: GPI39 (VN), GPI36 (VP), GPI35, GPI34, GPIO33, GPIO32, GPIO16, GPIO15, GPIO14, GPIO13, 5v, 3.3v, GND, EN, GPIO0, GPIO1, GPIO2, GPIO3, GPIO4, GPIO5
  6. POWER SUPPLY 5V 5AMP

    • Description: Power supply providing 5V at 5A.
    • Pins: 220V Positive Pole (AC), 220V Negative Pole (AC), GND, GND (DC), 12V-24V Output (DC)

Wiring Details

DFRobot Gravity MCP23017 I2C 16 Digital IO Expansion Module

Relay 4 Channel 5v

DHT22

DHT22 (Second Instance)

4 Channel 30a 5V Relay

4 Channel 30a 5V Relay (Second Instance)

ESP32-POE-ISO

POWER SUPPLY 5V 5AMP

Code

No code is provided for