← 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 kitParts only: available parts total
₹2,774
4 of 4 line items available now.
Electronics
| Part | Role | Qty | Unit | Line | Status |
|---|---|---|---|---|---|
| ESP32 Development Board WiFi + BT + BLE (38pin) | ESP32 development board (Wi-Fi) | 1 | ₹580 | ₹580 | ships in about 6 business days |
| Peacefair PZEM-004T AC Multi-function Electric Energy Metering Power Monitor | PZEM-004T energy meter module with current coil | 1 | ₹738 | ₹738 | ships in about 6 business days |
| Grove 0.96-inch OLED display (128 × 64)Module | Readings display | 1 | ₹741 | ₹741 | ships in about 11 business days |
| Electronics fun kit with 830 breadboardKit | 830-point breadboard, jumper wires, LEDs, resistors, buttons and buzzer | 1 | ₹715 | ₹715 | ships in about 6 business days |
How to build it
- 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.
- Connect the OLED to GPIO21 (SDA) and GPIO22 (SCL).
- Install the PZEM-004T v3 library, and print the readings over USB; with no mains connected they read zero.
- 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.
- Show voltage, current, power and kWh on the OLED, and cost as kWh × your tariff.
- 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.
- Works only on mains AC: have every mains connection made and checked by a qualified electrician.
- Needs a micro-USB or USB-C cable (depending on the board) and an insulated enclosure, not included.
Prices are final and follow what Indian distributors have in stock (refreshed nightly). Out-of-stock parts are not added to the cart.