Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP8266 NodeMCU Controlled SSR for Smart Power Management

Image of ESP8266 NodeMCU Controlled SSR for Smart Power Management

Circuit Documentation

Summary

The circuit in question appears to be designed to control a 120V AC load, such as a lamp or a fan, using a solid-state relay (SSR) that is driven by an ESP8266 NodeMCU microcontroller. The ESP8266 NodeMCU can be programmed to switch the SSR on and off, which in turn controls the power to the AC load. Additionally, there is an LED indicator connected to the microcontroller, presumably to indicate the status of the load (on or off). The power for the AC load is provided through an IEC320 inlet, which is connected to a 220V power source and a terminal block that distributes the power to the SSR and the AC load. The circuit also includes a 120V outlet, although its connection to the rest of the circuit is not specified in the provided net list.

Component List

ESP8266 NodeMCU

  • Microcontroller module with WiFi capability
  • Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN

SSR-25A

  • Solid State Relay capable of switching 25A loads
  • Pins: -, +, 1-in, 2-out

LED: Two Pin (green)

  • Green LED indicator
  • Pins: cathode, anode

Lamp Red

  • Red lamp indicating a power source or status
  • Pins: +, -

Power 220V

  • Power source for the circuit
  • Pins: hot wire, neutral wire

120 Fan 12V

  • 12V DC fan
  • Pins: 12V+, GND

Terminal Block (04-01)

  • Terminal block for connecting and distributing wires
  • Pins: 1, 2, 3, 4, 5, 6, 7, 8

120V Outlet

  • Standard 120V AC outlet
  • Pins: AC Neutral, AC Hot, GND

IEC320 In

  • IEC320 power inlet for connecting to an AC power source
  • Pins: L (Line), GND (Ground), N (Neutral)

Comments

  • Several comment components are listed, which typically contain notes or labels for the circuit but do not have physical pins or connections.

Wiring Details

ESP8266 NodeMCU

  • D1 connected to the cathode of the green LED and the + pin of the SSR-25A
  • GND connected to the anode of the green LED and the - pin of the SSR-25A

SSR-25A

    • pin connected to D1 of the ESP8266 NodeMCU
    • pin connected to GND of the ESP8266 NodeMCU
  • 1-in connected to pin 2 of the Terminal Block
  • 2-out connected to the + pin of the Lamp Red and the 12V+ pin of the 120 Fan 12V

LED: Two Pin (green)

  • Cathode connected to D1 of the ESP8266 NodeMCU
  • Anode connected to GND of the ESP8266 NodeMCU

Lamp Red

    • pin connected to the 2-out pin of the SSR-25A
    • pin connected to pin 8 of the Terminal Block

Power 220V

  • Hot wire connected to the L pin of the IEC320 In
  • Neutral wire connected to pins 5 and 7 of the Terminal Block

120 Fan 12V

  • 12V+ connected to the 2-out pin of the SSR-25A
  • GND connected to pin 6 of the Terminal Block

Terminal Block (04-01)

  • Pin 2 connected to the 1-in pin of the SSR-25A
  • Pin 8 connected to the - pin of the Lamp Red
  • Pins 5 and 7 connected to the neutral wire of the Power 220V
  • Pin 6 connected to the GND pin of the 120 Fan 12V
  • Pins 1 and 3 connected to the N pin of the IEC320 In

IEC320 In

  • L connected to the hot wire of the Power 220V
  • N connected to pins 1 and 3 of the Terminal Block

Documented Code

No code was provided for the microcontroller in the circuit. Typically, the code would be used to control the GPIO pins of the ESP8266 NodeMCU to switch the SSR-25A on and off, thereby controlling the power to the AC load. The code would also handle the logic for the LED indicator based on the status of the load.