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

ESP32-Based Smart Lighting System with Ambient Light Sensing and IR Remote Control

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Lighting System with Ambient Light Sensing and IR Remote Control

Circuit Documentation

Summary

The circuit in question appears to be a smart control system designed to interface with various sensors and actuators. It includes two ESP32 microcontrollers, which are likely used for processing and communication purposes. The circuit can control an AC bulb via a 12v relay, which is triggered by one of the ESP32s. It also includes an LDR (Light Dependent Resistor) for light sensing, an IR transmitter and receiver for infrared communication, and a DHT22 sensor for measuring temperature and humidity. The power for the relay's coil is derived from the 3.3V supply of the ESP32, and the AC bulb is powered by a 240v power source.

Component List

ESP32 (30 pin)

12v Relay

LDR (Light Dependent Resistor)

GND (Ground)

240v Power Source

AC Bulb

IR Transmitter

DHT22

IR Receiver

Wiring Details

ESP32 (30 pin)

12v Relay

LDR

AC Bulb

IR Transmitter

DHT22

IR Receiver

Documented Code

No code was provided for the microcontrollers in the circuit. For this system to function, code would need to be written and uploaded to the ESP32 microcontrollers to handle input from the LDR and DHT22 sensors, control the relay to power the AC bulb, and manage IR communication with the IR transmitter and receiver. The code would likely include routines for reading sensor values, debounce logic for stable relay operation, and protocols for IR signal encoding and decoding.