Hackster is hosting Hackster Holidays, Ep. 5: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 5 on Friday!
Chris Borrill
Published © MIT

Raspberry Pi INA219 Voltage/Current Sensor Library

Python library for Raspberry Pi which provides an easy to use interface for the INA219 voltage and current sensor from Texas Instruments.

BeginnerProtip3 hours21,890
Raspberry Pi INA219 Voltage/Current Sensor Library

Things used in this project

Hardware components

Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
×1
Adafruit INA219 High Side DC Current Sensor Breakout
×1

Story

Read more

Schematics

Pi/INA219 Circuit

Schematic of connections between Raspberry Pi and INA219 sensor.

I have shown a 12v battery and a Traco Power TSR1 5v buck voltage converter, in order to show a 'complete' basic circuit.

Code

Python Library

Raspberry Pi Python library for INA219 sensor

Credits

Chris Borrill

Chris Borrill

2 projects • 5 followers

Comments