Current clamp measurement with RaspberryPI Domoticz
Posted: Sunday 28 August 2016 21:05
Hello,
I was wondering if anyone has a working setup that measures house current using a current clamp directly connected to Raspberry PI. I want to make it simple, I don't want to use any radio for this as the Raspberry PI will be place close to the fuse box where I will be placing the current clamp.
So idealy it would like something like:
[Current Clamp]=====[MPC3002]======[RasppberyPI[Domoticz]]
After a bit of research, I found that one needs to a use a MP3002 analog-to-digital converter (ADC) chip in order to read analog values with Raspberry Pi. The MCP3002 is a 10-bit ADC chip, so it converts the analog signal into a 10-bit digital value.
How to Connect an MP3002 ADC Chip to a Raspberry Pi:
http://www.learningaboutelectronics.com ... rry-Pi.php
How do I setup Domoticz to read value from ADC chip in order to measure and monitor current/power consumption?
Will I need to install extra library to communicate with MP3002 or will the default Domoticz image work out of the box?
Is this doable or am I missing something?
Best regards,
EDIT: Just realised something, how can I get W/h consumption if I don't have a voltage value. How do OWL meters work? Do they just calculate amp measure with static voltage value (ex: 230V)? Because my grid voltage is always fluctuating.
I was wondering if anyone has a working setup that measures house current using a current clamp directly connected to Raspberry PI. I want to make it simple, I don't want to use any radio for this as the Raspberry PI will be place close to the fuse box where I will be placing the current clamp.
So idealy it would like something like:
[Current Clamp]=====[MPC3002]======[RasppberyPI[Domoticz]]
After a bit of research, I found that one needs to a use a MP3002 analog-to-digital converter (ADC) chip in order to read analog values with Raspberry Pi. The MCP3002 is a 10-bit ADC chip, so it converts the analog signal into a 10-bit digital value.
How to Connect an MP3002 ADC Chip to a Raspberry Pi:
http://www.learningaboutelectronics.com ... rry-Pi.php
How do I setup Domoticz to read value from ADC chip in order to measure and monitor current/power consumption?
Will I need to install extra library to communicate with MP3002 or will the default Domoticz image work out of the box?
Is this doable or am I missing something?
Best regards,
EDIT: Just realised something, how can I get W/h consumption if I don't have a voltage value. How do OWL meters work? Do they just calculate amp measure with static voltage value (ex: 230V)? Because my grid voltage is always fluctuating.