Custom Data Power Acquisition System Using Hobby Electronics

Designed and deployed power-sensing system leading to $500 savings over TED Spyder - led to second author publication to ASHRAE Transactions

This project revolves around creating a power data accquisition system (DAQ) using a the PZEM printed circuit board. It it can measure power when connected directly to the breaker.

The PCB of the PZEM (Left) and the connection to the breaker system

The microcontroller used was the ESP32. C++ was used to process the data and establish serial communication. The main issue was that ESP32 operated on 3.3 V logic and the PZEM operated on 5V logic. Hence a level shifter was needed as per the diagram shown below

The circuit diagram (left) and the PCB for the level shifter (right)

Prior to installation in the breaker box, a 3D model was made in NX seimens to verify the dimensions

3D model for designed data acquisition system

Post installation, our custom DAQ was compared with IoTWatt for accuracy and it yielded very positive results

PZEM vs Iotwatt power measurements as a time series for two different breakers

We then compared the price and error of the custom DAQ with respect to the IotWatt - we found that our DAQ was significantly cheaper for a marginal error

Table with error and cost comparison results

Read my publication (Farha et al., 2023) to learn more.

References

2023

  1. Publication_Preview_PZEM.png
    Design and Application of an in Situ IoTBased Energy Monitoring System for Use in Real Time Building Modeling
    Aaron Farha, Elias N Pergantis, Lokesh Sriram, and 1 more author
    ASHRAE Transactions, 2023