# Integrating I2C Sensors

**URL:** <https://bristlemouth.discourse.group/t/integrating-i2c-sensors/274>\
**Category:** Dev Kit Support\
**Created:** [February 8, 2024, 1:02am UTC](https://bristlemouth.discourse.group/t/integrating-i2c-sensors/274 "2024-02-08T01:02:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henry](https://avatars.discourse-cdn.com/v4/letter/h/df705f/32.png) [@henry](https://bristlemouth.discourse.group/u/henry)\
**Post date:** [February 8, 2024, 1:02am UTC](https://bristlemouth.discourse.group/t/integrating-i2c-sensors/274/1 "2024-02-08T01:02:27Z")

</div>

Hi all,

I’m working with @cshill at the University of Minnesota Duluth on integrating multiple i2c water quality sensors with the bristlemouth. I was wondering if there is anything developed for i2c (similar to the payload\_uart files), or if anyone has had success doing anything of the like.

Thanks!

---

<div class="post-metadata">

**Author:** ![vsowa12](https://avatars.discourse-cdn.com/v4/letter/v/8491ac/32.png) [@vsowa12](https://bristlemouth.discourse.group/u/vsowa12)\
**Post date:** [February 8, 2024, 7:34pm UTC](https://bristlemouth.discourse.group/t/integrating-i2c-sensors/274/2 "2024-02-08T19:34:56Z")

</div>

Hi Henry! Welcome to the community!

Yes, there are plenty of examples of i2c! The `devkit_monitor` app uses i2c to collect power monitor, humidity and temperature data from the devkit’s on board sensors. These sensors and several others are using the `AbstractI2C` class defined in `abstract_i2c.h`. The drivers for these sensors, located in `bm_protocol/src/lib/drivers/`, have good examples on how to use the `AbstractI2C` class. A couple good examples are the ina232 driver (the power monitor) and the TCA9546A driver (an I2C mux).

Best,  
Victor
