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

ESP32-Controlled Humidifier with MCP23017 IO Expansion

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled Humidifier with MCP23017 IO Expansion

Circuit Documentation

Summary of the Circuit

This circuit appears to be designed to control a humidifier using an ESP32 Wroom Dev Kit microcontroller in conjunction with an MCP23017 I/O expansion board. The humidifier is powered by an external Vcc source and is switched on and off through an NPN transistor acting as a low-side switch. The base of the transistor is connected to the MCP23017 through a resistor, which likely serves to limit the current flowing into the base. The ESP32 communicates with the MCP23017 via I2C, using GPIO 21 and GPIO 22 for SDA and SCL lines, respectively.

Component List

ESP 32 Wroom Dev Kit

MCP23017 I/O Expansion Board

NPN Transistor (ECB)

Resistor

GND

Humidifier

Vcc

Wiring Details

ESP 32 Wroom Dev Kit

MCP23017 I/O Expansion Board

NPN Transistor (ECB)

Resistor

Humidifier

Vcc

Documented Code

There is no code provided for the microcontroller. The expected functionality would include initializing the I2C communication with the MCP23017, configuring the MCP23017 ports as outputs, and toggling the appropriate port to control the base of the NPN transistor, thus turning the humidifier on and off.