The INA219 is a combined voltage and current sensor that can measure up to 26...
The INA219 is a combined voltage and current sensor that can measure up to 26 volts and a current that depends on an external shunt resistor. Connection happens via i2c/smbus and the chip features a power supply rail that is independent from the measured voltage, so it can measure low voltages. This commit adds a driver for this chip. Right now it measures bus voltage and current, and does not use the internal calibrated current reading, nor the available power measurement.
Showing
- drivers/sensors/Kconfig 12 additions, 0 deletionsdrivers/sensors/Kconfig
- drivers/sensors/Make.defs 4 additions, 0 deletionsdrivers/sensors/Make.defs
- drivers/sensors/ina219.c 438 additions, 0 deletionsdrivers/sensors/ina219.c
- include/nuttx/sensors/ina219.h 144 additions, 0 deletionsinclude/nuttx/sensors/ina219.h
Loading
Please register or sign in to comment