For a project (a robot) that is running on a battery pack (Li-Po 4S) i need to know the state of my power supply at any time. At least, i need the voltage to be monitored but reading the current too would be great.
In addition i would read the datas through i²c interface for convenience.
Do you know some IC references that can i use ?
I already check the INA219 but it seems it can only monitor an external power source and not it's own power source...
I already check the INA219 but it seems it can only monitor an external power source and not it's own power source...
It's the other way around. It's quite difficult to safely monitor an external power source as ground have to be in common. You just have to add a shunt resistor.
pylon:
It's the other way around. It's quite difficult to safely monitor an external power source as ground have to be in common.
With INA219, according to my tests (but tell me if i'm wrong), you can monitor accurately an external supply voltage (so not the power supply that feed the circuit). Monitoring the power supply that feed the circuit cause wrong measures.
pylon:
You just have to add a shunt resistor.
Shunt resistor is for current monitoring purpose. I do not need it. I just need voltage monitoring.
myster1ous:
With INA219, according to my tests (but tell me if i'm wrong), you can monitor accurately an external supply voltage (so not the power supply that feed the circuit). Monitoring the power supply that feed the circuit cause wrong measures.
The INA219 can measure the supply that feeds the Arduino as well as an other external supply, as long as grounds are shared and the inputs are within 0 and 26volt.
Time to share a circuit diagram.
Leo..