Smart WiFi AC Energy Meter (ESP32 + PZEM004T) Source Code
$3.29 Original price was: $3.29.$1.09Current price is: $1.09.
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
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. Any personal assistance will be charged at ₹500 INR or $5.28 USD extra.
Written Tutorial: IoT AC Energy Meter using PZEM-004T & ESP32 Web Server
Circuit Diagram
🔧 Components Required
🧠 Main Controller
- ESP32 Development Board
⚡ Energy Measurement
- PZEM-004T v3.0 AC Energy Meter Module
- Current Transformer (CT Clamp) – usually supplied with PZEM004T
- AC Voltage Input Wires (L & N)
🔌 Power Supply
- 5V DC Power Supply (USB adapter or SMPS)
- Micro-USB / Type-C Cable (as per ESP32 board)
🔗 Wiring & Interfaces
- Jumper Wires (Male-Female)
- Screw Terminals / Terminal Block
- 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)
- Install ESP32 board in Boards Manager [ https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json ]
- Install AsyncTCP
- Install ESPAsyncWebServer
- 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.
Related products
-
Sale!

Premium IoT Smart Energy Meter Source Code (PZEM-004T, Blynk)
$3.29Original price was: $3.29.$2.19Current price is: $2.19. Add to cart -
Sale!

Advanced Smart Energy Meter Source Code with Web Dashboard & CSV Logging
$9.89Original price was: $9.89.$7.69Current price is: $7.69. Read more -
Sale!

Premium IoT Smart Energy Meter Source Code (ESP32, PZEM-004T, Blynk, Telegram)
$3.29Original price was: $3.29.$2.19Current price is: $2.19. Add to cart





Reviews
There are no reviews yet.