1 unstable release

0.1.0 Jan 30, 2023

#71 in #spi

MIT/Apache

17KB
277 lines

ina229

Rust embedded-hal driver for the Texas Instruments INA229.

License

Rand is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.


lib.rs:

This is a platform agnostic Rust driver for the INA229, an SPI output current/voltage/power monitor with alerts, using the embedded-hal traits.

This driver allows you to:

The device

The INA229-Q1 is an ultra-precise digital power monitor with a 20-bit delta-sigma ADC specifically designed for current-sensing applications. The device can measure a full-scale differential input of ±163.84 mV or ±40.96 mV across a resistive shunt sense element with common-mode voltage support from –0.3 V to +85 V.

Datasheet:

Dependencies

~280KB