Getting the power consumption from ADC with Current Sensor

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, jeremy882, crail.lyu969

Post Reply
bebenomon
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Tue Apr 23, 2019 4:33 pm

Getting the power consumption from ADC with Current Sensor

Post by bebenomon » Tue Apr 23, 2019 5:12 pm

I have to get the power consumption on certain appliance.

My setup is
Raspberry pi + 8-Channel 12-Bit ADC + Current Sensor(SR-3702-150N)

I attached the SR-3702-150N in channel 1 of screw terminal.

When launching

python3 adc_8chan_12bit.py

I get the following 8 channel results on address 0X20
voltage for each channel:(unit:mv,max=3300mv):
[288, 1679, 1229, 1672, 1637, 1699, 1641, 1636]
voltage for each channel:(unit:mv,max=3300mv):
[256, 1678, 1223, 1666, 1645, 1710, 1672, 1651]
voltage for each channel:(unit:mv,max=3300mv):
[278, 1669, 1212, 1663, 1644, 1711, 1674, 1656]
voltage for each channel:(unit:mv,max=3300mv):
[248, 1677, 1226, 1666, 1646, 1763, 1660, 1647]
i know the values 288, 256, 278, 248 are the one that was retrieved from the sensor
but what kind of data is this?
Any idea how can i can convert this to get the actual power consumption?

Pardon my ignorance i'm very new in this environment.

Any help would be appreciated

bill.yu
Junior-7
Junior-7
Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: Getting the power consumption from ADC with Current Sensor

Post by bill.yu » Mon May 20, 2019 10:35 am

Hi there,

Please help provide the 8-Channel 12-Bit ADC and Current Sensor(SR-3702-150N) products page or SKU. thanks.

Post Reply