DC energy meter with ADE755 and PIC16F877

Status
Not open for further replies.

astra91

Newbie level 1
Joined
Nov 9, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
Plovdiv, Bulgaria, Bulgaria
Activity points
7
Hello I am working on a project to measure the DC energy with ADE7755 and PIC16F877 want to ask of Where can I find the C code for this peak to indicate if someone has an idea or some where is an example to help me I would be extremely grateful.
 

Hi,

The link is for AC energy meter.

Building a DC energy meter is much more simple.
Just measure current with a fixed sample rate.
Multiply it with the voltage (should be constant for a DC source). Then you have the Watts.
Divide it by the sample frequency (f in 1/s for Ws, f in 1/h) to get the energy per sample
Integrate this value to get the energy.

Klaus
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…