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

ESP32-Controlled Smart Relay with Touch Activation and OLED Feedback

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled Smart Relay with Touch Activation and OLED Feedback

Circuit Documentation

Summary

This circuit is designed to control an AC bulb using an ESP32 microcontroller, which interfaces with a relay module, an OLED display, and touch sensors. The ESP32 controls the relay to switch the AC bulb on or off, receives touch input, and displays information on the OLED screen. The LED and resistor are used as an indicator, likely for power or status.

Component List

ESP32 (30 pin)

Touch Sensor

OLED Display (128x32)

LED (White, Two Pin)

Resistor

1 Channel 5V Relay Module

AC Bulb

120V Outlet

Wiring Details

ESP32 (30 pin)

Touch Sensor

OLED Display (128x32)

LED (White, Two Pin)

Resistor

1 Channel 5V Relay Module

AC Bulb

120V Outlet

Documented Code

No code was provided for the microcontroller. The expected functionality would include initializing the GPIO pins, setting up the I2C communication for the OLED display, reading touch sensor inputs, and controlling the relay to turn the AC bulb on or off based on the touch sensor inputs or other logic. Additionally, the code would handle updating the OLED display with relevant information such as system status or touch sensor states.