Skip to content
Voltomni
← All project kits

IoT smart energy meter (ESP32 and PZEM-004T)

AdvancedBuild time 3–4 hours· You'll learn: ESP32, Serial (Modbus), IoT dashboards, Mains safety

A top final-year IoT project. The PZEM-004T measures mains voltage, current (through its clip-on current coil), power, energy, frequency and power factor, and sends them over serial. The ESP32 shows the readings on an OLED, works out the cost in rupees from your tariff, and serves a live web dashboard any phone on your Wi-Fi can open, or sends the numbers to a cloud dashboard.

Complete kit

₹3,159

Every part below as one item: we collect, check and ship the whole set together, with one GST invoice. Ships in about 11 business days.

View complete kit

Parts only: available parts total

₹2,774

4 of 4 line items available now.

Electronics

PartRoleQtyUnitLineStatus
ESP32 Development Board WiFi + BT + BLE (38pin)ESP32 development board (Wi-Fi)1₹580₹580ships in about 6 business days
Peacefair PZEM-004T AC Multi-function Electric Energy Metering Power MonitorPZEM-004T energy meter module with current coil1₹738₹738ships in about 6 business days
Grove 0.96-inch OLED display (128 × 64)ModuleReadings display1₹741₹741ships in about 11 business days
Electronics fun kit with 830 breadboardKit830-point breadboard, jumper wires, LEDs, resistors, buttons and buzzer1₹715₹715ships in about 6 business days

How to build it

  1. Start with the low-voltage side: wire the PZEM's TTL pins to the ESP32 (its TX to GPIO16, RX to GPIO17), and power its TTL side from the ESP32's 3.3 V so its signals are safe for the ESP32.
  2. Connect the OLED to GPIO21 (SDA) and GPIO22 (SCL).
  3. Install the PZEM-004T v3 library, and print the readings over USB; with no mains connected they read zero.
  4. Have an electrician, or your lab in-charge, wire the PZEM's mains terminals to live and neutral and pass the live wire of the appliance's lead through the current coil, all inside a closed, insulated box.
  5. Show voltage, current, power and kWh on the OLED, and cost as kWh × your tariff.
  6. Serve the readings as a web page from the ESP32, or send them to a cloud dashboard every few seconds.

Questions

Is it safe to build?
The ESP32 side is low voltage, but the PZEM connects to 230 V mains. Never touch it while plugged in; keep it in a closed box, and have the mains side wired and checked by a qualified person.
How accurate is it?
The PZEM-004T is rated around 0.5–1 %, close to a home meter, which is plenty for a project.
Can it cut off power when usage is high?
Add a relay or contactor rated for the load and switch it from the ESP32, again with an electrician's help.

Prices are final and follow what Indian distributors have in stock (refreshed nightly). Out-of-stock parts are not added to the cart.