Simple WiFi AC Energy Meter (ESP32 + PZEM004T) Source Code

$0.54

SKU: DIG-EMS-CODE-V3 Category:

Description

This Smart WiFi AC Energy Meter is a powerful and modern solution for real-time electrical monitoring. Built using ESP32 and the highly accurate PZEM004T v3.0 energy measurement module, it provides live electrical parameters through a beautiful web dashboard accessible from any smartphone, tablet, or computer—no app required.

The system connects directly to your WiFi network and hosts its own responsive web interface, allowing you to monitor electrical consumption anytime, anywhere within the network.

⚠️ Important Notice

Digital Source Code Only • No Physical Product • No Refund

Date Updated: [18-06-2026]

It is a digital product, so no refund will be given after purchase. If you face any issue contact me within 3 days of purchase. Nothing will be entertained after this time period.

📩 Contact Now

Written Tutorial: IoT AC Energy Meter using PZEM-004T & ESP32 Web Server

Demo Dashboard

AC Energy Meter By Circuit Diagrams

AC Energy Dashboard

Live voltage, current, power, energy, frequency and power factor monitoring

Device
Demo Mode
Voltage
V
AC input level
Current
A
Load current
Power
W
Real-time wattage
Energy
kWh
Total consumed
Frequency
Hz
AC line frequency
Power Factor
Load efficiency

Real-time Power Trend

Responsive Canvas

Live Summary

PZEM-004T
ConnectionDemo Online
Voltage— V
Current— A
Power— W
AC Energy Meter By Circuit Diagrams

Components Required

  • ESP32 Development Board
  • PZEM-004T v3.0 AC Energy Meter Module
  • 5V DC Power Supply (USB adapter or SMPS)
  • Jumper Wires (Male-Female)
  • Breadboard or PCB (optional)

🧰 Software & Libraries

  • Arduino IDE
  • ESP32 Board Package
  • PZEM004Tv30 Library
  • ESPAsyncWebServer Library
  • AsyncTCP Library
  • WiFi Library (ESP32 Core)

⚙️ Board Setup (Important!)

  • Board: ESP32 Dev Module
  • Upload Speed: 921600 (or 115200 if unstable)
  • Flash Mode: QIO
  • Partition Scheme: Default

📌 Installation Order (Recommended)

  1. Install ESP32 board in Boards Manager [ https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json ]
  2. Install AsyncTCP
  3. Install ESPAsyncWebServer
  4. Install PZEM004Tv30

Restart Arduino IDE after installing.

⚠️ Safety Note

This project involves high-voltage AC mains.
Ensure proper insulation, isolation, and safety practices.
If you’re not experienced with AC wiring, take professional help.

Reviews

There are no reviews yet.

Be the first to review “Simple WiFi AC Energy Meter (ESP32 + PZEM004T) Source Code”

Don't Try to Copy Content!!!

0