Programming the Adafruit INA219 breakout board in Arduino, using the many boards that have I2C, is simple using our library:
Search for the Adafruit INA219 library and install it
We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use
Load the Example
- Select "File -> Examples -> Adafruit_INA219 -> getcurrent"
- The "getcurrent" example code should open in a new IDE window.
Run it
- Click on the upload button in the IDE. When it is "done uploading"
- Open your Serial Monitor and set the speed to 115200 baud.
The output should appear similar to the sample below:
Page last edited July 10, 2024
Text editor powered by tinymce.