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

ESP8266 NodeMCU Controlled Relay with AC Bulb and Opto-isolated Input

View and Edit Project In Cirkit DesignerImage of ESP8266 NodeMCU Controlled Relay with AC Bulb and Opto-isolated Input

Circuit Documentation

Summary

The circuit described by the provided inputs is a control circuit that utilizes an ESP8266 NodeMCU microcontroller to drive an LED and a relay, which in turn controls an AC-powered bulb. The circuit includes protection and control elements such as resistors, a diode, a PC817 optocoupler, and a BC547 transistor. The NodeMCU is powered by a Vcc source, and the ground connections are distributed across the components. The relay is used to switch the AC source to the bulb, and the optocoupler isolates the microcontroller from the relay control circuit.

Component List

Microcontroller

Passive Components

Power Supply Components

Control and Protection Components

Output Components

Connection Components

Power Source

Wiring Details

ESP8266 NodeMCU

LED (Red)

Resistors

PC817 Optocoupler

BC547 Transistor

Diode

Relay

Bulb

Terminal Block

AC Source

Documented Code

No code was provided for the microcontroller. The operation of the circuit is assumed to be controlled by the firmware running on the ESP8266 NodeMCU, which would handle GPIO pin manipulation to turn the LED on or off and to control the relay for powering the bulb. Without the code, the specific logic and functionality cannot be documented.