Built to order

DIY Digital Wattmeter using Arduino and ACS712

This project builds a DIY digital wattmeter that measures the power drawn by an AC load and shows live volts, amps, watts and energy in kilowatt-hours on a 16×2 LCD. An Arduino Uno reads load current through an ACS712 Hall-effect sensor and mains voltage through an isolated ZMPT101B module, samples both waveforms and computes power as P = V × I, accumulating energy over time. Readings are calibrated against a handheld multimeter and demonstrated on bulb loads. Suitable for B.E./B.Tech final-year projects in Electrical Engineering and Electronics & Telecommunication.

Chat on WhatsApp — get a quotation

Electrical Arduino Uno16x2 LCD displayACS712 current sensorBreadboard prototypingArduino IDE · C++ZMPT101B voltage sensor moduleHall-effect sensingTrue-RMS samplingHardware
DIY Digital Wattmeter using Arduino and ACS712 — project thumbnail preview
More project photos (2)

The problem

A DIY digital wattmeter using Arduino and ACS712 is a bench instrument that measures how much electrical power an AC appliance actually draws, and shows the result live in volts, amps, watts and kilowatt-hours. Most students can quote P = V × I from a textbook but have never measured real power: plug-in energy meters are sealed boxes, and an ordinary multimeter shows voltage or current one at a time, never their product over time. This project closes that gap by building the meter itself. An ACS712 Hall-effect current sensor watches the load current without breaking the circuit, a ZMPT101B voltage-transformer module samples the mains voltage through galvanic isolation, and an Arduino Uno multiplies the two readings, accumulates energy, and displays everything on a 16×2 LCD. The meter is calibrated against a handheld multimeter, demonstrated on ordinary bulb loads, and documented so the student can explain every stage from magnetic sensing to the final watt figure.

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
powerMains supply

230 V AC to the sensors

Follow the working sequence

How it works

The meter works in five stages: sense, sample, compute, display and accumulate. The load current flows through the ACS712 module, where its magnetic field drives a Hall element that outputs a voltage proportional to current, centred on 2.5 V at zero current. The ZMPT101B transformer steps the mains voltage down to a small isolated replica, biased to the same 2.5 V centre so the Arduino's 0–5 V ADC can read both halves of the AC waveform. The Uno samples both channels hundreds of times per mains cycle, converts each sample to real volts and amps using the datasheet sensitivities, and computes RMS voltage, RMS current and their product, the real power in watts. Power is shown live on the LCD while energy is integrated over time into kilowatt-hours. The result is a meter the student can trust, calibrate and explain, rather than a sealed box whose numbers must be taken on faith.

  1. The demo load is wired in series through the ACS712 screw terminals, and the mains supply connects only to the ZMPT101B module's isolated input terminals.
  2. The ACS712 outputs 2.5 V with no current flowing, shifting by 66 mV for every amp of load current (datasheet value).
  3. The ZMPT101B steps the mains down to a small isolated waveform, and its onboard op-amp stage biases that waveform to the 2.5 V centre of the Arduino ADC range.
  4. The Arduino Uno samples both analog channels repeatedly across each 20 ms mains cycle, capturing the full shape of both waveforms.
  5. Firmware subtracts the measured zero offsets, converts each sample to real volts and amps, multiplies simultaneous voltage-current pairs, and averages over complete cycles to get real power in watts.
  6. The LCD refreshes about once per second with volts, amps, watts and accumulated kilowatt-hours, and the buzzer sounds if power crosses the configured threshold.
  7. Before measurements are trusted, the builder runs the two-point calibration: zero both channels with the load disconnected, then trim gain against a known bulb load verified with a handheld multimeter.

Tech stack:

  • Arduino Uno (ATmega328P)
  • ACS712-30A current sensor module
  • ZMPT101B voltage sensor module
  • 16×2 LCD display
  • Arduino IDE · C++ firmware
  • Hall-effect current sensing
  • True-RMS power computation
  • Breadboard · jumper wires · bulb load rig
Parameter Value
Controller Arduino Uno, ATmega328P, 16 MHz clock (datasheet)
Current sensor ACS712-30A Hall-effect module, ±30 A range, 66 mV/A sensitivity (datasheet)
Voltage sensor ZMPT101B module, 0–250 V AC input, 1000:1000 ratio, 4000 V isolation withstand (datasheet)
ADC resolution 10-bit, 0–5 V, approximately 4.88 mV per step (datasheet)
Display 16 × 2 character LCD showing volts, amps, watts and kWh
Measurement method Instantaneous v × i sampling averaged over full mains cycles (true RMS)
Power range 0–1000 W (design target); demo loads up to approximately 200 W
Energy Kilowatt-hour accumulation, 0.001 kWh resolution (design target)
Accuracy ±3% of reading (design target, resistive loads, after two-point calibration)
Update rate Approximately 1 reading per second (design target)
Overload warning Buzzer + LCD alert above 200 W (configurable, design target)
Power supply 5 V DC via USB, expected draw under 200 mA

Project features

The wattmeter's most useful capabilities are its live four-value display, its isolated sensing, its true-RMS sampling and its honest calibration routine. The 16×2 LCD shows volts, amps, watts and accumulated kilowatt-hours at a glance, updating about once per second, so a student can watch power change the moment a load switches on. Current is sensed by the ACS712 Hall-effect module and voltage by the ZMPT101B transformer module, so the low-voltage Arduino side stays galvanically separated from the mains. Firmware samples both waveforms many times per mains cycle and computes true RMS values, which stay correct even when the load current is not a clean sine wave. Finally, a two-point calibration against a handheld multimeter removes sensor offsets before any reading is trusted. The design stays deliberately simple — one controller, two sensors and a display — so every reading on the screen can be traced back to a physical measurement the student understands.

  • [Live volts, amps, watts and kWh display] The 16×2 LCD shows RMS voltage, RMS current, real power in watts and accumulated energy in kilowatt-hours, refreshing about once per second.
  • [Hall-effect current sensing] The ACS712-30A module measures load current through the magnetic field around its copper conduction path, with 66 mV/A sensitivity (datasheet value) and no need to break the circuit.
  • [Galvanically isolated voltage sensing] The ZMPT101B transformer module steps the mains down to a small isolated replica, with 4000 V isolation withstand (datasheet value) between mains and the Arduino side.
  • [True-RMS sampling] Firmware samples voltage and current many times per mains cycle and multiplies simultaneous sample pairs, so readings stay valid for non-sinusoidal and reactive loads.
  • [Energy accumulation in kWh] Power is integrated over time into kilowatt-hours with 0.001 kWh resolution (design target), so the meter can track what a load consumes over hours.
  • [Overload warning] A buzzer and LCD alert trigger above a configurable 200 W threshold (design target), warning the user before a demo load exceeds the intended range.
  • [Two-point calibration routine] Firmware zeroes both channels with the load disconnected, then trims gain against a known load checked with a handheld multimeter.

What is included

  • Working wattmeter prototype (Arduino Uno, ACS712 module, ZMPT101B module, 16×2 LCD, breadboard wiring, bulb load rig)
  • Complete Arduino firmware with sampling, RMS computation, power and kWh accumulation
  • Circuit and wiring documentation
  • Two-point calibration procedure with a handheld multimeter
  • Project report PDF (theory, Hall-effect sensing, RMS method, calibration, results)
  • PPT presentation for final review
  • Viva Q&A preparation document (sensing, isolation, RMS, calibration, safety)

Limitations & prerequisites

  • The ZMPT101B measures AC only, so DC loads cannot be measured with this meter.
  • Accuracy depends on calibration; uncalibrated readings can be off by several percent, and the ACS712 zero offset drifts with temperature and supply voltage.
  • One ADC step is approximately 4.88 mV, which equals about 74 mA on the 30 A sensor (datasheet arithmetic), so very small currents below roughly 0.1 A read coarsely.
  • The ZMPT101B introduces a phase shift under 5 degrees (module specification), which adds a small error on highly reactive loads.
  • The prototype is a teaching instrument, not a certified energy meter, and must not be used for billing or safety-critical measurements.
  • All mains wiring must be done under faculty supervision on a protected bench; never work on live mains wiring unsupervised.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes, for Electrical Engineering and Electronics & Telecommunication students, because it demonstrates power measurement, Hall-effect current sensing, transformer isolation, true-RMS computation and sensor calibration in one working instrument. The build gives the student real measured readings to present, a calibration procedure to explain, and a clear safety story for the viva, which together make a strong final-year demonstration.

How accurate is the wattmeter?

About ±3% of reading on resistive loads after the two-point calibration, which is a design target rather than a certified figure. The ACS712 itself carries a ±1.5% total output error (datasheet value at 25 °C), the ZMPT101B adds under 0.2% linearity error, and the 10-bit ADC contributes roughly 74 mA of current quantization, so calibration against a handheld multimeter is what brings the assembled meter to its stated accuracy.

Is it safe to build and demonstrate?

Yes, provided the mains side is treated with respect and all wiring is done under faculty supervision. The ZMPT101B keeps the mains galvanically isolated from the Arduino, the demo uses only low-power bulb loads up to about 200 W, and the low-voltage side runs on 5 V USB power. Students must never touch live mains terminals, must switch off the supply before rewiring, and should demonstrate on a bench protected by an RCD or MCB.

What loads can the wattmeter measure?

AC loads up to about 200 W in the demonstration, such as incandescent bulbs, a table fan or a mobile charger, with the sensor itself rated to ±30 A (datasheet value). In the demo photographs the LCD reads 230.1 V, 0.42 A and 96.6 W for a 100 W bulb, and the arithmetic checks out because 230.1 × 0.42 equals 96.6 W. DC loads cannot be measured, since the ZMPT101B transformer only works with alternating voltage.

What is the main technology used?

An Arduino Uno reads two analog sensors: an ACS712-30A Hall-effect current sensor and a ZMPT101B isolated voltage-transformer module, with results shown on a 16×2 LCD. The firmware is written in C++ in the Arduino IDE and performs RMS sampling, real-power computation and kilowatt-hour accumulation. No cloud service or internet connection is involved; the meter works entirely offline.

Can it log energy usage over time?

Yes, the firmware continuously integrates power into kilowatt-hours and shows the running total on the LCD with 0.001 kWh resolution (design target). Readings can also be printed to the Arduino Serial Monitor for copying into a spreadsheet, and an SD-card logging module can be added as an optional extension for unattended multi-hour energy studies.

Components & software requirements
  • Arduino Uno (ATmega328P)
  • ACS712-30A current sensor module
  • ZMPT101B voltage sensor module
  • 16×2 LCD display
  • Arduino IDE · C++ firmware
  • Hall-effect current sensing
  • True-RMS power computation
  • Breadboard · jumper wires · bulb load rig
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