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

ESP32-Based Smart Home Automation System with Motion Detection and Manual Control

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Home Automation System with Motion Detection and Manual Control

Circuit Documentation

Summary

The circuit is designed to control a set of bulbs using relays, which are in turn controlled by an ESP32 Devkit V1 microcontroller. The ESP32 reads inputs from pushbuttons and PIR motion sensors to determine the state of the relays. The relays can switch AC power to the bulbs, allowing them to be turned on or off. The circuit also includes a green LED and a piezo buzzer for status indication.

Component List

Microcontroller

Sensors

Actuators

Power Sources

Output Devices

Wiring Details

ESP32 Devkit V1

Relay 4 Channel 5v

Pushbuttons

PIR Motion Sensors

LED (Green)

Piezo Buzzer

Bulbs

AC Source

Documented Code

No code was provided for the microcontroller. The documentation of the code would include the setup of the GPIO pins, the main loop with the logic for reading sensor inputs and controlling the relay outputs, and any interrupt service routines or functions for debouncing the pushbuttons or reading the PIR sensors. Since no code is available, this section cannot be completed.