Wi-Fi Controlled Power Monitoring and Relay System using ESP8266, ACS712, and ZMPT101B
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ACS712 Current Sensor, an ESP8266 NodeMCU, a ZMPT101B Voltage Sensor, a 5V Relay, and a CD4051 Multiplexer. The circuit is designed to measure current and voltage, control a relay, and interface with a multiplexer for signal routing. The ESP8266 NodeMCU serves as the central microcontroller, managing the sensors and relay.
Component List
ACS712 Current Sensor 5A 20A 30A
- Description: Current sensor for measuring AC and DC currents.
- Pins: 1, 2, GND, OUT, VCC
ESP8266 NodeMCU
- Description: Wi-Fi enabled microcontroller for IoT applications.
- 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
ZMPT101B
- Description: Voltage sensor for measuring AC voltage.
- Pins: OUT, GND, VCC, NEUTRO, FASE
5V Relay
- Description: Relay module for switching high voltage devices.
- Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
CD4051
- Description: 8-channel analog multiplexer/demultiplexer.
- Pins: CH1, CH0, A, B, C, COM
Wiring Details
ACS712 Current Sensor 5A 20A 30A
- GND: Connected to GND of ESP8266 NodeMCU and ZMPT101B.
- OUT: Connected to CH1 of CD4051.
- VCC: Connected to 3V3 of ESP8266 NodeMCU and VCC of ZMPT101B.
ESP8266 NodeMCU
- GND: Connected to GND of ACS712 Current Sensor and ZMPT101B.
- 3V3: Connected to VCC of ACS712 Current Sensor and ZMPT101B.
- D1: Connected to A of CD4051.
- D2: Connected to B of CD4051.
- D3: Connected to C of CD4051.
- D4: Connected to In of 5V Relay.
- A0: Connected to COM of CD4051.
ZMPT101B
- GND: Connected to GND of ESP8266 NodeMCU and ACS712 Current Sensor.
- VCC: Connected to 3V3 of ESP8266 NodeMCU and VCC of ACS712 Current Sensor.
- OUT: Connected to CH0 of CD4051.
5V Relay
- In: Connected to D4 of ESP8266 NodeMCU.
CD4051
- CH1: Connected to OUT of ACS712 Current Sensor.
- CH0: Connected to OUT of ZMPT101B.
- A: Connected to D1 of ESP8266 NodeMCU.
- B: Connected to D2 of ESP8266 NodeMCU.
- C: Connected to D3 of ESP8266 NodeMCU.
- COM: Connected to A0 of ESP8266 NodeMCU.
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation. Each component is described in detail, and the wiring connections are clearly outlined to ensure proper assembly and functionality of the circuit.