{"id":475,"date":"2021-10-27T15:31:14","date_gmt":"2021-10-27T15:31:14","guid":{"rendered":"https:\/\/andrejacobs.org\/?p=475"},"modified":"2022-04-11T20:22:59","modified_gmt":"2022-04-11T20:22:59","slug":"measure-current-voltage-and-power-with-the-adafruit-ina260","status":"publish","type":"post","link":"https:\/\/andrejacobs.org\/electronics\/measure-current-voltage-and-power-with-the-adafruit-ina260\/","title":{"rendered":"Measure current, voltage and power with the Adafruit INA260"},"content":{"rendered":"\n

Image by Adafruit<\/a><\/p>\n\n\n\n

Overview<\/h2>\n

The INA260 can measure voltages up to 36V DC and current up to 15A continuously! I am planning on using three of these in my up coming project.<\/p>\n

I will be following Adafruit’s guide<\/a> on how to use the INA260 board along with my own guide<\/a> on using the Adafruit MCP2221A board.<\/p>\n

Soldering on the headers and terminal block<\/h2>\n

I will be using the modules in a project and not on a breadboard, thus I will be soldering the headers to point out to the top (like a Raspberry Pi’s GPIO).<\/p>\n

I placed the headers inside of a breadboard with the longer leads going into the breadboard.<\/p>\n

Then placed the INA260 on top of the headers and soldered them in place.<\/p>\n

Next I removed the module from the breadboard and used my Third Hand tool to hold the module while I soldered on the terminal block.<\/p>\n

Initial I2C testing<\/h2>\n

I will be using the Adafruit MCP2221A breakout<\/a> board to communicate via I2C to the Adafruit INA260 board<\/a>.<\/p>\n

Please see my post about the Adafruit MCP2221A breakout<\/a> for how I setup Python projects like these on my Mac.<\/p>\n

My git repo for this module can be found here<\/a>.<\/p>\n