Hello Guys,
For my home automation project I am trying to implement a new feature to the setup. I want to measure the IoT system's dc voltages and currents at certain points accurately using arduino, raspberrypi or any other microcontroller. Not really sure how to proceed with this because I want to use these measurements for over voltage protection, over current protection, reverse voltage protection, lower current cut-off, lower voltage cut-off, short circuit protection, keep high precision measurement logs etc. So, basically I need very accurate and efficient measurements for the dc part to almost mV and uA for some particular sensors.
I want to measure 3.3V from uA lvl to 25A max. Also, 5V for also uA to 25A max. and +12 for uA to 70A and -12V for uA to 3A.
I don't want the measurement part to create any sort of interference with the source I am measuring or the signal I am using to measure on my microcontroller by any means.
Should I use a totally separate microcontroller for the power measurement system and use I2C or any other fast standard communication method to feed the data to my main microcontroller? or perhaps to the raspberrypi? Or I can safely use the main microcontroller for also the power measurements. (the main microcontroller is taking measurements from the sensors and controlling the relay modules.)
Do I need to use any type of opto-coupling?
In youtube I saw a video of GreatScott who made a similar power logger using the INA219 module. But the results doesn't seem so accurate as it is fluctuating so much. Also the voltage and amps his system can measure doesn't fall under my requirements. Link to the video:
Thanks.
For my home automation project I am trying to implement a new feature to the setup. I want to measure the IoT system's dc voltages and currents at certain points accurately using arduino, raspberrypi or any other microcontroller. Not really sure how to proceed with this because I want to use these measurements for over voltage protection, over current protection, reverse voltage protection, lower current cut-off, lower voltage cut-off, short circuit protection, keep high precision measurement logs etc. So, basically I need very accurate and efficient measurements for the dc part to almost mV and uA for some particular sensors.
I want to measure 3.3V from uA lvl to 25A max. Also, 5V for also uA to 25A max. and +12 for uA to 70A and -12V for uA to 3A.
I don't want the measurement part to create any sort of interference with the source I am measuring or the signal I am using to measure on my microcontroller by any means.
Should I use a totally separate microcontroller for the power measurement system and use I2C or any other fast standard communication method to feed the data to my main microcontroller? or perhaps to the raspberrypi? Or I can safely use the main microcontroller for also the power measurements. (the main microcontroller is taking measurements from the sensors and controlling the relay modules.)
Do I need to use any type of opto-coupling?
In youtube I saw a video of GreatScott who made a similar power logger using the INA219 module. But the results doesn't seem so accurate as it is fluctuating so much. Also the voltage and amps his system can measure doesn't fall under my requirements. Link to the video:
Thanks.