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

Wi-Fi Controlled Smart Lighting System with ESP8266 and Relay Module

View and Edit Project In Cirkit DesignerImage of Wi-Fi Controlled Smart Lighting System with ESP8266 and Relay Module

Circuit Documentation

Summary of the Circuit

This circuit is designed to control multiple AC bulbs using a 4-channel relay module, which is interfaced with an ESP8266 NodeMCU microcontroller. The relay module allows for the independent control of each bulb, enabling the microcontroller to switch the bulbs on and off. The circuit also includes AC power supply components and flush switches that can be used for manual control or as input triggers for the microcontroller.

Component List

Relay 4 Channel 5v

AC Bulb

ESP8266 NodeMCU

AC Supply

Flush Switch

Wiring Details

Relay 4 Channel 5v

AC Bulb

ESP8266 NodeMCU

AC Supply

Flush Switch

Documented Code

The provided inputs did not include any code for the microcontroller. Therefore, this section is left blank until the code is supplied. The code would typically include the initialization of the GPIO pins, the setup of Wi-Fi connectivity (if applicable), and the logic for controlling the relay channels based on the inputs from the flush switches or other sensors.


Please note that the actual implementation of the code will depend on the specific requirements of the circuit's operation, such as the desired behavior when a flush switch is pressed or how the bulbs should be controlled via Wi-Fi commands.