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

ESP32 CAM-Based Wi-Fi Motion-Activated Smart Light

View and Edit Project In Cirkit DesignerImage of ESP32 CAM-Based Wi-Fi Motion-Activated Smart Light

Circuit Documentation

Summary

The circuit in question appears to be a motion-activated lighting system. It uses an ESP32 CAM microcontroller to interface with an HC-SR501 PIR motion sensor and control a 2-channel relay, which in turn switches an AC bulb on and off. The ESP32 CAM is powered by a 5V supply, and it also provides a 3.3V power supply to the PIR motion sensor. The relay module is used to safely control the high-voltage AC bulb with the low-voltage signals from the ESP32 CAM. The circuit is designed to activate the lighting when motion is detected by the sensor.

Component List

ESP32 CAM

HC-SR501 PIR Motion Sensor

2-Channel Relay

AC Bulb

Power 220V

Wiring Details

ESP32 CAM

HC-SR501 PIR Motion Sensor

2-Channel Relay

AC Bulb

Power 220V

Documented Code

No code was provided for the microcontroller. The functionality of the circuit as described in the summary is dependent on the implementation of the embedded code, which would typically handle input from the PIR motion sensor and control the relay to switch the AC bulb on and off. Without the code, the circuit's operation cannot be fully documented.