dasetiawan / ESP32-PZEM004T

power metering using ESP32 and PZEM004T over MQTT
5 stars 3 forks source link
esp32 internet-of-things pzem004t pzem004t30 smart-home smartgrid smarthome smartmetering

Project Description

This IoT project is to measure power and energy consumption using PZEM-004T v3 sensor and NodeMCU ESP32

Before start to monitoring, the PZEM-004T sensor must be modified first because the voltage on the sensor is 5V while the ESP32 is 3.3V. Modifications are made to the sensor by adding a resistor with a value of 1k ohms. Data read by the sensor is voltage, current, power and energy data. Data on ESP32 is converted into JSON file format and then sent to the MQTT broker (in this project I use Eclipse Mosquitto) via WiFi.

for details, check my wiki on: https://github.com/dasetiawan/ESP32-PZEM004T/wiki/ESP32-PZEM004T-Wiki!