AnsweredAssumed Answered

Energy calculation using stpm10

Question asked by yafis.mohamed on Jan 25, 2017

Hi.

I am using the 511-STEVAL-IPE018V1 eval board along with STM8s micro for calculating power/electricity consumed by a 3W bulb connected to it.

The eval kit has STPM10 energy metering IC, which can be accessed over SPI.

So i am able to communicate with IC over SPI and i have these values that i read from the IC.

How do i calculate the energy consumption from these values?

There is some calculation mentioned in the datasheet but i am not able to understand it. I couldn't find any sample code for this.

Can someone point me in right direction.!

Thanks...!! 

Outcomes