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

Wi-Fi Controlled Smart Light with NodeMCU and Relay

View and Edit Project In Cirkit DesignerImage of Wi-Fi Controlled Smart Light with NodeMCU and Relay

Circuit Documentation

Summary

The circuit described in the provided inputs is a simple control system that uses a NodeMCU V3 ESP8266 microcontroller to operate a 1-Channel Relay, which in turn controls the power to a bulb. The relay is an electromechanical switch that allows the low-power NodeMCU to control the high-power circuit of the bulb. The bulb is connected to an AC power source through a 2 Prong AC Socket. The NodeMCU is powered by the same voltage source that powers the relay.

Component List

NodeMCU V3 ESP8266

1-Channel Relay (5V 10A)

Bulb

2 Prong AC Socket

Wiring Details

NodeMCU V3 ESP8266

1-Channel Relay (5V 10A)

Bulb

2 Prong AC Socket

Documented Code

No code was provided for the microcontroller. Typically, the code would be responsible for controlling the relay by setting the D0 pin to a high or low state, which would open or close the relay and turn the bulb on or off. Since no code is available, it is assumed that the user will develop or provide the necessary code to control the relay via the NodeMCU V3 ESP8266.