DEV Community


Posted on

Power Monitor Library

A power monitor library for arduino and alternatives written in c++ , designed to measure the electrical characteristics of AC circuits such as voltage, current, power, reactive power, and power factor..

In the example given I didn't use voltage and current sensors and I have generated two arrays of I and V to check the results and compare them with the theorical ones

so the principe is to give it instantaneous values of current and voltage and it will mesure

Ieff Effective Value of current
Veff Effective Value of voltage
Imoy Mean Value of current
Vmoy Mean Value of voltage
P Active Power
Q Reactive Power
S Apparent Power
pf Power factor
Req The equivalent resistance of the circuit
Xeq The equivalent reactiance of the circuit
Zeq The equivalent impedance of the circuit

Top comments (0)