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

ESP32C3 Smart Home Automation System with Wi-Fi Control

View and Edit Project In Cirkit DesignerImage of ESP32C3 Smart Home Automation System with Wi-Fi Control

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an ESP32C3 microcontroller, a DHT22 temperature and humidity sensor, an RGB LED strip, a pushbutton, a rotary encoder, several NPN transistors, resistors, an AC source, an HLK-PM12 power module, an AC LED bulb, and a two-channel relay. The circuit is designed to control the RGB LED strip and the AC LED bulb based on inputs from the pushbutton and rotary encoder, with temperature and humidity data being read from the DHT22 sensor.

Component List

ESP32C3 Supermini

DHT22

LED RGB Strip

Pushbutton

Rotary Encoder

NPN-Transistor

Resistor (270 Ohms)

Resistor (10k Ohms)

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

Resistor (270 Ohms)

Resistor (10k Ohms)

AC Source

HLK-PM12

LED bulb AC / Bombillo AC

Two Channel Relay 5v

Documented Code

ESP32C3 Supermini Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

DHT22 Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This documentation provides a comprehensive overview of the circuit, including the components used, their connections, and the code for the microcontrollers.