Wi-Fi Controlled Power Monitoring and Relay System using ESP8266
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP8266 NodeMCU, ACS712 Current Sensor, ZMPT101B Voltage Sensor, a 5V Relay, and a CD4051 Multiplexer. The circuit is designed to interface various sensors and control a relay using the ESP8266 microcontroller.
Component List
ESP8266 NodeMCU
- Description: A low-cost Wi-Fi microcontroller with GPIO, ADC, and UART capabilities.
- 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
ACS712 Current Sensor 5A 20A 30A
- Description: A current sensor that provides an analog voltage output proportional to the current passing through it.
- Pins: 1, 2, GND, OUT, VCC
ZMPT101B
- Description: A voltage sensor module used for measuring AC voltage.
- Pins: OUT, GND, VCC, NEUTRO, FASE
5V Relay
- Description: An electromechanical relay used to control high voltage devices with a low voltage signal.
- Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
CD4051
- Description: An 8-channel analog multiplexer/demultiplexer.
- Pins: CH0, CH1, VDD, DA, DB, DC, COM
Wiring Details
ESP8266 NodeMCU
- D1 connected to DA of CD4051
- D2 connected to DB of CD4051
- D3 connected to DC of CD4051
- D4 connected to In of 5V Relay
- A0 connected to COM of CD4051
- 3V3 connected to VCC of ZMPT101B and VCC of ACS712 Current Sensor
- GND connected to GND of ZMPT101B and GND of ACS712 Current Sensor
ACS712 Current Sensor 5A 20A 30A
- VCC connected to 3V3 of ESP8266 NodeMCU
- GND connected to GND of ESP8266 NodeMCU
- OUT connected to CH1 of CD4051
ZMPT101B
- VCC connected to 3V3 of ESP8266 NodeMCU
- GND connected to GND of ESP8266 NodeMCU
- OUT connected to CH0 of CD4051
5V Relay
- In connected to D4 of ESP8266 NodeMCU
CD4051
- DA connected to D1 of ESP8266 NodeMCU
- DB connected to D2 of ESP8266 NodeMCU
- DC connected to D3 of ESP8266 NodeMCU
- COM connected to A0 of ESP8266 NodeMCU
- CH0 connected to OUT of ZMPT101B
- CH1 connected to OUT of ACS712 Current Sensor
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 section is designed to offer clear and concise information to facilitate understanding and replication of the circuit.