Built to order

Arduino-Based Digital Energy Meter with PZEM-004T and LCD

This project builds a standalone bench energy meter using an Arduino Uno, a Peacefair PZEM-004T module, a 100 A split-core CT clamp and a 16x2 LCD that measures voltage, current, active power, power factor, frequency and cumulative energy and shows the readings locally, with no Wi-Fi, cloud or app. Unlike the ESP32 IoT monitor on this site, which streams readings to a cloud dashboard, this is a bench meter: same sensor module, different instrument, read at the bench. Suitable for B.E./B.Tech final-year projects in Electrical, Electronics and Instrumentation.

Chat on WhatsApp — get a quotation

Electrical Arduino UnoArduino IDE16×2 LCD with I2C backpackPeacefair PZEM-004T V3.0Modbus-RTU TTL UARTPZEM004Tv30 librarySingle-phase AC meteringHardware
Arduino-Based Digital Energy Meter with PZEM-004T and LCD — project thumbnail preview
More project photos (2)

The problem

An Arduino-Based Digital Energy Meter with PZEM-004T and LCD is a standalone bench instrument that measures the electrical quantities of a single-phase AC load — voltage, current, active power, power factor, frequency and cumulative energy in kilowatt-hours — and shows them on a local 16x2 LCD. Plug-in meters are sealed boxes that hide the sensing and the calculation; this project opens that box. A Peacefair PZEM-004T module measures the mains quantities on board, an Arduino Uno polls it over Modbus-RTU, and the LCD cycles through the live readings, so every value traces to a sensor, a register and a line of firmware. A documented one-time calibration against a known load, such as a lamp of known wattage, lets the student check it against a reference. It differs plainly from the ESP32 + PZEM-004T IoT monitor on this site: that build streams readings to a cloud dashboard, while this one is a bench meter with a local display and no network.

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
powerAC Load

Single-phase load drawing current from the mains supply.

Follow the working sequence

How it works

End to end, the measurement starts at the mains and ends at the LCD in four stages: sensing, polling, processing and display. The PZEM-004T voltage terminals connect across the live and neutral of the load circuit, while the split-core CT clamp closes around the live conductor only; the module's metering chip samples the voltage and current waveforms many times per cycle, multiplies instantaneous voltage by instantaneous current to get instantaneous power, and accumulates that power over time to build the energy total in kilowatt-hours. The Arduino Uno acts as the Modbus-RTU master: about once a second it sends a read request at 9600 baud over its TTL serial link, the module replies with ten registers holding the six quantities, and the firmware checks the reply's CRC before trusting it. The Arduino then formats the values and writes them to the 16x2 LCD, cycling between a voltage/current screen and a power/energy screen.

  1. The PZEM-004T voltage terminals are connected across the live and neutral of the load circuit, as supervised work, because these terminals touch live mains.
  2. The split-core CT clamp is clipped around the live conductor only and plugged into the module; clamping it around a whole cable makes the live and neutral currents cancel and the reading drops to zero.
  3. The module's TTL serial pins and 5 V supply are wired to the Arduino Uno, with the optocoupler-isolated UART keeping the logic side separated from the mains side.
  4. The Arduino polls the module over Modbus-RTU at 9600 baud, requesting the ten input registers that hold voltage, current, power, energy, frequency and power factor.
  5. Firmware checks the CRC of each reply, then formats the values and writes them to the 16x2 LCD, alternating between the voltage/current screen and the power/energy screen.
  6. The meter is calibrated once against a known load: the student records the module's reading, the reference value, and the difference, and reports that measured error in the project report.

Tech stack:

  • Arduino Uno (ATmega328P)
  • Peacefair PZEM-004T V3.0 · 100 A CT version
  • 100 A split-core CT clamp
  • 16x2 LCD with I2C backpack
  • Modbus-RTU over TTL UART · 9600 baud
  • Arduino IDE · C/C++ firmware
  • PZEM004Tv30 library
  • Single-phase AC test load
Parameter Value
Controller Arduino Uno, ATmega328P at 16 MHz
Measurement module Peacefair PZEM-004T V3.0, 100 A variant with split-core CT
Voltage range 80–260 V AC (Datasheet value)
Voltage resolution / accuracy 0.1 V / ±0.5% (Datasheet value)
Current range 0–100 A via CT (Datasheet value)
Current resolution / accuracy 0.001 A / ±0.5% (Datasheet value)
Starting current 0.02 A (Datasheet value)
Active power range 0–23 kW (Datasheet value)
Active power resolution / accuracy 0.1 W / ±0.5% (Datasheet value)
Energy range 0–9999.99 kWh (Datasheet value)
Energy resolution 1 Wh (Datasheet value)
Frequency range / accuracy 45–65 Hz / ±0.5% (Datasheet value)
Power factor range / accuracy 0.00–1.00 / ±1% (Datasheet value)
Communication Modbus-RTU, 9600 baud, 8N1, TTL UART, optocoupler-isolated (Datasheet value)
Display 16x2 character LCD with I2C backpack
Poll interval Approximately 1 s (Design target)
Display refresh Approximately 1 s (Design target)
Calibration error Expected within ±2% of a reference meter after one-time calibration against a known load (Expected, not a measured claim)
Test load Design target: 60–200 W single-phase resistive load for demonstration
Arduino supply 5 V via USB or 7–12 V DC jack (Expected)

Project features

The meter's core capabilities are six-quantity measurement, a local LCD readout, non-invasive current sensing and a documented calibration procedure. First, the PZEM-004T measures voltage, current, active power, power factor, frequency and cumulative energy on board, so the Arduino never does the metering maths itself; it simply asks for finished values over Modbus-RTU and displays them. Second, the 16x2 LCD shows the readings at the bench with no phone, app or internet, so the reading is taken at the device itself. Third, the split-core CT clamp measures current without cutting the mains cable, and it clips around the live conductor only, which is the single most important wiring fact in the whole build. Fourth, the one-time calibration against a known load gives the student a genuine measurement exercise: compare the meter against a reference, record the difference, and state the error in the report instead of quoting a datasheet figure as a result.

  • [Six-quantity measurement] The PZEM-004T measures voltage, current, active power, power factor, frequency and cumulative energy (kWh) on a single-phase AC line, all computed on the module itself.
  • [Local 16x2 LCD display] Readings appear on the bench instrument itself, cycling between a voltage/current screen and a power/energy screen, with no phone, app or network needed.
  • [Non-invasive CT sensing] A 100 A split-core CT clamp measures load current without cutting the mains cable; it clips around the live conductor only, never around a whole two-core cable.
  • [Modbus-RTU polling] The Arduino Uno acts as Modbus-RTU master over a 9600 baud TTL serial link and requests the module's ten measurement registers, with CRC checking on every reply.
  • [Documented one-time calibration] A written procedure calibrates the meter against a known load, so the student reports a measured error against a reference instead of quoting the datasheet.
  • [Cumulative energy total] The module accumulates energy in kWh on board and retains the total through a power loss, so the running total survives the meter being switched off.
  • [Supervised mains-wiring procedure] The voltage-terminal wiring is documented step by step as supervised work, with the live-mains hazard stated plainly and the CT clamp identified as the only non-invasive part.

What is included

  • Working bench energy meter prototype (Arduino Uno, PZEM-004T module, 100 A CT clamp, 16x2 LCD, breadboard wiring)
  • Complete Arduino firmware with Modbus-RTU polling, CRC checking and LCD display code
  • Circuit and wiring documentation including the supervised mains-wiring procedure
  • One-time calibration procedure sheet with a worked example against a known load
  • Project report PDF (background, metering theory, methodology, calibration results)
  • Abstract PDF for submission
  • PPT presentation for final review
  • Viva Q&A preparation document (metering principles, Modbus-RTU, CT behaviour, calibration)
  • To order, message Projectech on WhatsApp for a quotation covering the prototype, documentation and delivery timeline — no fixed price is listed because the load, scope and delivery location set the final cost.

Limitations & prerequisites

  • This is an academic bench prototype, not a certified or billing meter; its readings must never be used for billing or for safety-critical decisions.
  • Single-phase AC only; three-phase measurement is out of scope for this build.
  • The PZEM-004T voltage terminals touch live mains, so all mains wiring is supervised work — the CT clamp is non-invasive, but the voltage connection is not.
  • Loads below the 0.02 A starting current (Datasheet value) read as zero, so very small loads cannot be measured.
  • The CT clamp must sit on the live conductor only; around a whole cable the reading cancels to zero.
  • There is no Wi-Fi, cloud logging or phone app in this build — readings exist only on the local LCD.
  • Accuracy after calibration is an expected figure, not a measured claim; the student's own calibration run produces the reported error.
  • The meter measures what is connected to it; it cannot identify which appliance is drawing the current.

Frequently Asked Questions

How is this different from the ESP32 + PZEM-004T IoT home energy monitor?

It uses the same PZEM-004T sensor module but is a different instrument. The ESP32 build streams readings over Wi-Fi to a cloud dashboard for remote monitoring, while this Arduino build has no network at all and shows the readings on a local 16x2 LCD at the bench. Choose this one when the demonstration is a bench meter read at the instrument, and the ESP32 build when remote monitoring is the point.

Is it safe to build and use?

Yes, when the documented procedure is followed under supervision. The split-core CT clamp is non-invasive and clips around a cable without cutting it, but the PZEM-004T voltage terminals connect directly to live mains, so that wiring is done only under supervision, with the supply isolated before any connection is touched. The prototype is an academic bench instrument, not a certified meter, and it is never used for billing.

How does the calibration against a known load work?

A load of known power, such as a lamp of known wattage, is connected and the meter's power reading is recorded alongside the known value. The difference between the two is the measured error for that load, and it is reported in the project report with the load and the conditions stated. The procedure is run once at build time and the student repeats it for the demonstration, so the report contains a real measured comparison rather than a datasheet figure.

Why must the CT clamp go on the live conductor only?

A current transformer senses the magnetic field of the conductor passing through it, and the live and neutral conductors of one circuit carry equal and opposite currents. Clipped around both conductors together, the two fields cancel and the meter reads zero current even while the load is running. The build documents this as a builder note with a simple check: if the meter shows voltage but zero current on a running load, the clamp is around the wrong conductors.

Does it need Wi-Fi or internet?

No. The meter has no Wi-Fi, no cloud connection and no app; the Arduino polls the PZEM-004T over a wired serial link and the readings appear only on the local 16x2 LCD. That is the deliberate difference from the ESP32 IoT monitor: this build works on any lab bench, including one with no network. Wi-Fi logging can be added later as a customisation, but it is not part of the base build.

Is this project suitable for a final-year project?

Yes, for Electrical, Electronics and Instrumentation programs. It demonstrates single-phase AC metering principles, current-transformer sensing, Modbus-RTU serial communication, Arduino firmware and a documented calibration exercise, and the bench meter gives a clear live demonstration with readings the student can explain register by register.

Components & software requirements
  • Arduino Uno (ATmega328P)
  • Peacefair PZEM-004T V3.0 · 100 A CT version
  • 100 A split-core CT clamp
  • 16x2 LCD with I2C backpack
  • Modbus-RTU over TTL UART · 9600 baud
  • Arduino IDE · C/C++ firmware
  • PZEM004Tv30 library
  • Single-phase AC test load
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation