2022-11-08, 06:44 PM
I think I could add these settings:
set_calibration_32V_2A
"""Configures to INA219 to be able to measure up to 32V and 2A of current. Counter
overflow occurs at 3.2A.
.. note:: These calculations assume a 0.1 shunt ohm resistor is present
"""
set_calibration_32V_1A
"""Configures to INA219 to be able to measure up to 32V and 1A of current. Counter overflow
occurs at 1.3A.
.. note:: These calculations assume a 0.1 ohm shunt resistor is present"""
set_calibration_16V_400mA
"""Configures to INA219 to be able to measure up to 16V and 400mA of current. Counter
overflow occurs at 1.6A.
.. note:: These calculations assume a 0.1 ohm shunt resistor is present"""
set_calibration_16V_5A
"""Configures to INA219 to be able to measure up to 16V and 5000mA of current. Counter
overflow occurs at 8.0A.
.. note:: These calculations assume a 0.02 ohm shunt resistor is present"""
The default is set_calibration_32V_2A. The last one seems the most useful for boats (set_calibration_16V_5A). Do you know what is the default shunt resistor present?
set_calibration_32V_2A
"""Configures to INA219 to be able to measure up to 32V and 2A of current. Counter
overflow occurs at 3.2A.
.. note:: These calculations assume a 0.1 shunt ohm resistor is present
"""
set_calibration_32V_1A
"""Configures to INA219 to be able to measure up to 32V and 1A of current. Counter overflow
occurs at 1.3A.
.. note:: These calculations assume a 0.1 ohm shunt resistor is present"""
set_calibration_16V_400mA
"""Configures to INA219 to be able to measure up to 16V and 400mA of current. Counter
overflow occurs at 1.6A.
.. note:: These calculations assume a 0.1 ohm shunt resistor is present"""
set_calibration_16V_5A
"""Configures to INA219 to be able to measure up to 16V and 5000mA of current. Counter
overflow occurs at 8.0A.
.. note:: These calculations assume a 0.02 ohm shunt resistor is present"""
The default is set_calibration_32V_2A. The last one seems the most useful for boats (set_calibration_16V_5A). Do you know what is the default shunt resistor present?