2017-01-25 04:27 AM
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...!!
#stpm10 #energy-meter-ic