Power Monitoring
Single Phase Shunt Based Power Monitor
This solution calculates power usage data using a standard dsPIC33F16GS503 MCU and a MCP3911 analog front-end. This design targets a 70mA to 22A dynamic range with <1% error but can be modified for larger ranges and lower error.
This library is written in C code and designed to be easily migrated to PIC18, PIC24, dsPICand PIC32 families. It can be a standalone dedicated power monitor function in a system or incorporated into an existing MCU used for SMPS power supplies, solar inverters, and smart power strips.
Features
- Calculates Active Power, Reactive Power, RMS Voltage and Current
- Written in 100% C Code for easy portability
- PC based GUI for easy evaluation
- Low MCU resource utilization
Required Hardware
- MCP3911 Evaluation Board (ADM 00398)
- dsPIC33FJ 16GS504 PIM (MA330020)
- 9V Power Supply (AC002014)
- 1mΩ Shunt
- Resistors: 300kΩ (0.5W), 390Ω (0.1W)




