The circuit described is an AC-powered system with a motion-activated LED bulb, interfaced with an ESP8266 NodeMCU microcontroller. The system uses a 220V AC power source, an infrared motion sensor to detect presence, a two-channel relay to control the power to the LED bulb, and a converter to step down the voltage for the microcontroller and sensors. Additionally, an MMWave radar sensor is included, interfaced with the microcontroller for further detection capabilities.
+
, -
hot wire
, neutral wire
L
, A
, N
VCC
, IN2
, IN1
, GND
, NC2
, C2
, NO2
, NC1
, C1
, NO1
A
, B
, L
, N
D0
, D1
, D2
, D3
, D4
, 3V3
, GND
, D5
, D6
, D7
, D8
, RX
, TX
, A0
, RSV
, SD3
, SD2
, SD1
, CMD
, SD0
, CLK
, EN
, RST
, VIN
TX
, RX
, IO1
, IO2
, GND
, VGG
+
connected to the neutral wire of the power source, the N
pin of the Converter, and the N
pin of the Infrared Motion Sensor.-
connected to the C1
pin of the Two Channel Relay 5V.hot wire
connected to the NC1
pin of the Two Channel Relay 5V and the L
pin of the Infrared Motion Sensor.neutral wire
connected to the +
pin of the LED Bulb AC / Bombillo AC.L
connected to the hot wire
of the power source.A
connected to the L
pin of the Converter.N
connected to the +
pin of the LED Bulb AC / Bombillo AC.VCC
connected to the VGG
pin of the MMWave Radar Sensor and the VIN
pin of the ESP8266 NodeMCU.IN1
connected to the D0
pin of the ESP8266 NodeMCU.GND
connected to the GND
pin of the ESP8266 NodeMCU.NC1
connected to the hot wire
of the power source.C1
connected to the -
pin of the LED Bulb AC / Bombillo AC.A
connected to the VGG
pin of the MMWave Radar Sensor and the VIN
pin of the ESP8266 NodeMCU.B
connected to the D1
pin of the ESP8266 NodeMCU.L
connected to the A
pin of the Infrared Motion Sensor.N
connected to the +
pin of the LED Bulb AC / Bombillo AC.D0
connected to the IN1
pin of the Two Channel Relay 5V.D1
connected to the B
pin of the Converter.D3
connected to the TX
pin of the MMWave Radar Sensor.D4
connected to the RX
pin of the MMWave Radar Sensor.GND
connected to the GND
pin of the Two Channel Relay 5V and the GND
pin of the MMWave Radar Sensor.VIN
connected to the VGG
pin of the MMWave Radar Sensor and the A
pin of the Converter.TX
connected to the D3
pin of the ESP8266 NodeMCU.RX
connected to the D4
pin of the ESP8266 NodeMCU.GND
connected to the GND
pin of the ESP8266 NodeMCU.VGG
connected to the VCC
pin of the Two Channel Relay 5V and the A
pin of the Converter.No code was provided for the microcontroller or any other programmable components in the circuit. If code is later provided, it should be documented here with explanations of how it interacts with the hardware components and implements the desired functionality of the circuit.