Built to order

Solar Net Metering Demo Kit with Import-Export Energy Display using Arduino

This project builds a solar net metering demo kit that shows how rooftop solar export offsets grid import, using an Arduino with two PZEM-004T energy meter modules and a 16x2 LCD display. One meter watches the solar-side feed and the other watches the load, so the Arduino keeps separate import-kWh and export-kWh totals and shows the net balance live. The kit turns the billing idea of net metering into a bench-top demonstration a student can run, measure and explain. 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 displayArduino IDE · C/C++Split-core current transformerBreadboard prototypingPZEM-004T energy meter moduleModbus RTU over UARTSmall solar panel micro-inverterHardware
Solar Net Metering Demo Kit with Import-Export Energy Display using Arduino — project thumbnail preview
More project photos (2)

The problem

This Solar Net Metering Demo Kit with Import-Export Energy Display using Arduino shows, on a bench top, how a rooftop solar system and the electricity grid trade energy with each other. In a real net-metered home, solar panels feed surplus power back to the grid when generation exceeds consumption, and the home draws power from the grid when consumption exceeds generation; the electricity bill is then settled on the net difference between the two flows. Students usually meet this idea only as a diagram in a textbook, with no feel for how import and export are actually measured or why the direction of power flow matters. This kit closes that gap: two PZEM-004T energy meter modules watch the solar-side feed and the load separately, an Arduino keeps separate import-kWh and export-kWh totals, and a 16x2 LCD shows both totals with the live net balance, so the exchange of energy becomes visible, measurable and explainable in a viva.

SYSTEM FLOW

5 components 4 connections

Live flow
Drag to explore
100%
powerSolar Panel

The small solar panel feeds its inverter, which places AC power onto the shared demo bus.

Follow the working sequence

How it works

End to end, the kit works as a small two-feed energy balance: the solar panel feeds power through its inverter onto a shared AC bus, the lamp load draws power from the same bus, and the grid connection supplies whatever the solar feed cannot cover or absorbs whatever the solar feed leaves over. The first PZEM-004T module meters the solar-side feed and the second meters the load, each reporting voltage, current, active power and accumulated energy over UART to the Arduino. Because a single PZEM-004T reports unsigned power and energy, direction is worked out by comparison: when load power exceeds solar power the shortfall is import, and when solar power exceeds load power the surplus is export. The Arduino accumulates both totals in kilowatt-hours, updates the LCD every second, and prints the same values over serial, so the student can watch the totals move as the panel is shaded or the load is switched.

  1. The small solar panel feeds its inverter, which places AC power onto the shared demo bus, while the lamp load draws power from the same bus.
  2. The first PZEM-004T module, clamped on the solar-side feed, measures the generation-side voltage, current, active power and energy.
  3. The second PZEM-004T module, clamped on the load feed, measures the consumption-side voltage, current, active power and energy.
  4. Both modules send their readings to the Arduino over TTL UART at 9600 baud using Modbus-RTU.
  5. The Arduino compares solar power with load power each second: a shortfall is added to the import-kWh total and a surplus to the export-kWh total.
  6. The 16x2 LCD refreshes every second with import-kWh, export-kWh, live voltage, current, power and the net balance.
  7. The same readings are printed over serial, and the push-button resets both totals whenever a fresh demonstration run is needed.

Tech stack:

  • Arduino Uno (ATmega328P)
  • PZEM-004T energy meter module (x2)
  • 16x2 character LCD display
  • Split-core current transformer (100 A class)
  • Small solar panel with micro-inverter
  • TTL UART · Modbus-RTU at 9600 baud
  • Arduino IDE (C/C++ firmware)
  • Breadboard prototyping with jumper wiring
Parameter Value
Controller Arduino Uno (ATmega328P)
Energy meters 2 x PZEM-004T V3.0 (100 A variant with split-core CT)
Voltage range 80–260 V AC (datasheet value)
Current range 0–100 A via external CT (datasheet value); starting current 0.02 A (datasheet value)
Active power range 0–23 kW (datasheet value)
Energy range 0–9999.99 kWh (datasheet value)
Frequency range 45–65 Hz (datasheet value)
Power factor range 0.00–1.00 (datasheet value)
Meter accuracy ±0.5% for voltage, current, power and energy (datasheet value)
Meter interface TTL UART, 9600 baud, Modbus-RTU (datasheet value)
Display 16x2 character LCD, refreshed approximately every 1 second (design target)
Solar panel Small demo panel, approximately 5–10 W (design target)
Demo load Lamp load, approximately 9–40 W (design target, set at build time)
Logic supply 5 V DC for Arduino and LCD (design target)
Energy totals Import-kWh and export-kWh accumulated in firmware, reset by push-button

Project features

The kit's strongest capabilities are its dual-meter import-export measurement, its live LCD energy display, and its net-balance calculation. Two PZEM-004T modules, one on the solar-side feed and one on the load, give the Arduino independent readings of generation and consumption, so import and export are never guessed from a single unsigned reading. The 16x2 LCD keeps the import-kWh total, the export-kWh total, live voltage, current and power in front of the viewer at all times, with a net-balance line that shows at a glance whether the demo home is currently a net importer or a net exporter. A push-button resets the session totals so a new demonstration starts from zero, and the Arduino also streams the same readings over serial for the student's report tables. Together these capabilities turn net metering from a billing abstraction into a working measurement chain the student can operate, verify against a plug-in reference meter, and explain step by step.

  • [Dual PZEM-004T metering] Two meter modules watch the solar-side feed and the load independently, each reporting voltage, current, active power and accumulated energy to the Arduino over UART.
  • [Separate import and export totals] The Arduino accumulates import-kWh and export-kWh as two distinct totals, so the student can show exactly how much solar energy offset grid energy during a run.
  • [Live LCD energy display] A 16x2 LCD shows import-kWh, export-kWh, live voltage, current and power, plus a net-balance line that reads importer or exporter at a glance.
  • [Net-balance calculation] Firmware compares solar power with load power every second and adds the difference to the correct total, making the direction of energy flow explicit.
  • [Session reset push-button] One press zeroes both kWh totals and starts a fresh demonstration run, so each viva demo begins from a clean, explainable zero.
  • [Serial data stream for reports] The same readings are printed over serial once per second, so the student can log a run and build real import-export tables for the report.
  • [Reference-meter verification procedure] The kit ships with a step-by-step check against a plug-in energy meter, so the student can confirm the demo readings on their own bench.

What is included

  • Working demo kit: Arduino Uno, 2 x PZEM-004T modules with CT clamps, 16x2 LCD, small solar panel with micro-inverter, lamp load, breadboard and wiring
  • Arduino firmware (dual-meter reading, import-export accumulation, LCD and serial output)
  • Circuit and wiring documentation with CT placement guidance
  • Reference-meter verification procedure with a blank readings log
  • Project report PDF (background, net metering theory, methodology, results tables)
  • PPT presentation for final review
  • Viva Q&A preparation document (net metering, CT metering, energy accumulation, Modbus-RTU)

Limitations & prerequisites

  • This is an educational demonstration of the net-metering principle, not a certified revenue meter and not a grid-connection device; it must never be wired into a real household supply.
  • A single PZEM-004T reports unsigned power and energy, so import-export direction is derived by comparing two meters; a wiring swap between the two feeds reverses the totals.
  • The small demo panel produces only a few watts, so export totals grow slowly and the demo needs a shaded-panel and switched-load sequence to show both directions clearly.
  • PZEM-004T readings are datasheet-rated at ±0.5%, and CT placement matters: the clamp must close fully around the live conductor only, or readings fall.
  • Mains-side wiring in the demo must be assembled and checked under supervision; the kit is a supervised lab bench build, not a plug-and-play appliance.
  • The LCD shows totals for the current session only; there is no cloud logging or billing calculation in the base kit.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes, for Electrical Engineering and Electronics & Telecommunication students, and for Computer Science students with an electrical-systems interest. It demonstrates energy metering, current-transformer sensing, Modbus-RTU communication, Arduino firmware and the net-metering billing concept in one working bench-top build, with real readings the student can log, tabulate and defend in a viva.

How does the kit tell import from export?

It does not rely on one meter, because a single PZEM-004T reports unsigned power and energy with no direction. Two meters watch the solar-side feed and the load separately, and the Arduino compares the two power readings every second: load power above solar power is import, solar power above load power is export, and each difference is accumulated into its own kWh total.

What does the LCD actually show?

The LCD shows the import-kWh total and the export-kWh total on the first screen, with live voltage, current and active power on the second screen, plus a net-balance line. The display refreshes approximately every 1 second, so the totals visibly move when the panel is shaded or the lamp load is switched on and off.

Can the readings be verified against another meter?

Yes, and the kit ships with a verification procedure for exactly that. A plug-in reference energy meter is placed on the same feed, readings are taken at the same time from both meters, and the comparison is recorded in the report log. The PZEM-004T datasheet accuracy is ±0.5%, and the procedure shows the student how close their build runs to that figure.

Does this kit connect to the real electricity grid?

No. The demo uses a small solar panel with a micro-inverter and a simulated grid connection on a bench, and it is an educational demonstration of the net-metering principle only. It is not a certified revenue meter, it performs no real grid export, and it must never be connected to a household supply or a distribution board.

Can the kit be customized?

Yes, within the same measurement chain. A larger demo panel or a second load can be added, the LCD can be replaced with a 20x4 display, a data-logging SD card module can record runs automatically, and a simple net-bill estimate can be added in firmware from a fixed per-unit rate the student sets. Cloud dashboards and real grid-tie hardware are out of scope for this demo kit.

Components & software requirements
  • Arduino Uno (ATmega328P)
  • PZEM-004T energy meter module (x2)
  • 16x2 character LCD display
  • Split-core current transformer (100 A class)
  • Small solar panel with micro-inverter
  • TTL UART · Modbus-RTU at 9600 baud
  • Arduino IDE (C/C++ firmware)
  • Breadboard prototyping with jumper wiring
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