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

ESP8266 NodeMCU Controlled 4-Channel Relay for Smart Lighting

View and Edit Project In Cirkit DesignerImage of ESP8266 NodeMCU Controlled 4-Channel Relay for Smart Lighting

Circuit Documentation

Summary

This circuit is designed to control four individual bulbs using an ESP8266 NodeMCU microcontroller and a 4-channel 5V relay module. The ESP8266 NodeMCU is responsible for triggering the relays, which in turn switch the bulbs on and off. The relay module is powered by a 5V adapter, and the bulbs are powered by a 220V power source. The ground connections are shared among the components to complete the circuit.

Component List

ESP8266 NodeMCU

Relay 4 Channel 5V

5V Adapter

Bulb

Power 220V

Wiring Details

ESP8266 NodeMCU

Relay 4 Channel 5V

5V Adapter

Bulb

Power 220V

Documented Code

No code has been provided for the ESP8266 NodeMCU. The expected functionality would include initializing the GPIO pins connected to the relay module and toggling them to control the state of the bulbs. Without the code, we cannot document the specific implementation details or provide a code walkthrough.