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

ESP32C3-Controlled Smart Environment Monitoring and Lighting System

View and Edit Project In Cirkit DesignerImage of ESP32C3-Controlled Smart Environment Monitoring and Lighting System

Circuit Documentation

Summary

This circuit is designed to interface an ESP32C3 Supermini microcontroller with various peripherals including a DHT22 temperature and humidity sensor, an RGB LED strip, a pushbutton, a rotary encoder, and a two-channel relay module. The circuit also includes NPN transistors to drive the RGB LED strip and resistors for current limiting and pull-down purposes. An AC source is connected to a power module (HLK-PM12) to provide a stable DC supply for the microcontroller and the relay module. Additionally, an LED bulb is controlled via the relay module, which is actuated by the ESP32C3 Supermini.

Component List

ESP32C3 Supermini

DHT22

LED RGB Strip

Pushbutton

Rotary Encoder

NPN-Transistor

Resistor

AC source

HLK-PM12

LED bulb AC / Bombillo AC

Two Channel Relay 5v

Wiring Details

ESP32C3 Supermini

DHT22

LED RGB Strip

Pushbutton

Rotary Encoder

NPN-Transistor (three instances)

Resistor (three instances of 270 Ohms)

Resistor (one instance of 10,000 Ohms)

AC source

HLK-PM12

LED bulb AC / Bombillo AC

Two Channel Relay 5v

Documented Code

No code has been provided for the microcontroller. The documentation of the code would typically include descriptions of the functions, the purpose of each code block, and how the code interacts with the hardware components. Since no code is available, this section cannot be completed. If code becomes available, it should be documented here following the same structure as the rest of the documentation.