Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.
What did the panels give today?
A plug-in solar kit with a micro-inverter feeds your home circuit directly. The PZEM measures the power on the inverter’s output, and the ESP32 adds up the daily yield. Compared with the panel’s rated power, it shows quickly if a panel is shaded, dirty, or the inverter limits itself.
Rules and limits
Check the local regulations and your utility’s rules before connecting anything to the grid. In some countries small kits up to a set power are allowed with registration, in others they are not. The PZEM shows the absolute power, not the direction, so measure on the inverter output only, not on the main feed.
Fuse, enclosure and a clean connection are as important as in the energy meter project.
Compare the kWh per day with the weather: a clear day should produce a smooth curve, and dents show shading.
Publish the daily total and keep a monthly history; it is the number you will want when you decide to add panels.
Components
ESP32 DevKit V1 (30 pin, WROOM-32)
PZEM-004T v3.0 (100A, coil)
Inline fuse holder + fuses
Plastic project enclosure
Lever connectors (WAGO type) 2/3-pin
Wiring
Module
Module pin
ESP32 pin
Note
PZEM-004T TX / RX
UART
GPIO16 (RX) / GPIO17 (TX)
the PZEM board is optically isolated; 5V from the PZEM supply side only to the opto
Other countries: order these parts on AliExpress with the links below.
Some links are affiliate links: we may earn a commission at no extra cost to you.
Related ideas
⛔ High risk
Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.
Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.
Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.
Comments
No comments yet. Share your experience or ask a question.