skip to content

1.3 Circuit connection

Schematic diagram :

  • Attach NodeMCU on Breadboard.

  • Connect VCC of Relay with Pin 3.3V of NodeMCU.

  • Connect GND of Relay with GND of NodeMCU.

  • Connect Pin Signal of Relay with Pin D7 (GPIO 13) of NodeMCU.

  • Connect one terminal of Bulb (Blue Wire) with Pin NC (Normally Close) of Relay.

  • Connect one terminal of Adapter with Pin C (Common) of Relay.

  • Connect the other terminal of Bulb (Red Wire) with another terminal of Adapter.