No description
Find a file
Tyeth Gundry a201329a02
Some checks failed
Arduino Library CI / build (push) Has been cancelled
Merge pull request #1 from adafruit/add-license-and-keywords
Add license and keywords files
2025-05-28 15:30:14 +01:00
.github Initial commit 2025-05-13 17:00:16 -04:00
examples clean up INA238 since its software compat 2025-05-14 09:53:36 -04:00
.clang-format Initial commit 2025-05-13 17:00:16 -04:00
.gitignore Initial commit 2025-05-13 17:00:16 -04:00
Adafruit_INA237.cpp clang 2025-05-14 09:54:38 -04:00
Adafruit_INA237.h clang 2025-05-14 09:54:38 -04:00
Adafruit_INA238.cpp clean up INA238 since its software compat 2025-05-14 09:53:36 -04:00
Adafruit_INA238.h clean up INA238 since its software compat 2025-05-14 09:53:36 -04:00
code-of-conduct.md Initial commit 2025-05-13 17:00:16 -04:00
keywords.txt Update keywords.txt for INA237/INA238 2025-05-28 15:21:58 +01:00
library.properties Update library.properties - bump version to 1.0.2 2025-05-28 15:22:19 +01:00
license.txt Add files via upload 2025-05-28 15:19:16 +01:00
README.md clean up INA238 since its software compat 2025-05-14 09:53:36 -04:00

Adafruit_INA237_INA238

Arduino library for the INA237 and INA238 power monitors

Build Status Documentation

This is the Adafruit INA237 and INA238 Current and Power sensor library.

Device Information

The INA237 and INA238 are functionally identical devices with different part numbers. They share:

  • Same register map
  • Same device ID (0x238)
  • Same measurement capabilities and accuracy
  • Same configuration options

This library provides separate classes for each part number for clarity:

  • Adafruit_INA237 - For INA237 devices
  • Adafruit_INA238 - For INA238 devices (a thin wrapper around the INA237 implementation)

Tested and works great with the Adafruit INA237 and INA238 Breakout Boards.

These chips use I2C to communicate, 2 pins are required to interface.

Installation

To install, use the Arduino Library Manager and search for "Adafruit INA237" and install the library.

License Information

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Limor "Ladyada" Fried for Adafruit Industries. MIT license, check license.txt for more information All text above must be included in any redistribution