Multiple Arduinos calling on same I2C Sensor

I have an Arduino Mega pulling sensor data from a BME280 over I2C, and I was wondering if I can attach the same BME280 to an Arduino Nano via I2C so it can pull temperature/humidity data from the same sensor for a different project. I feel like there is a simple yes or no answer, but I cannot find it anywhere! Thank you for the help and let me know if you need any more information/clarification.

The simple answer is: no.

Although the standard theoretically allows for multiple masters the Wire library doesn't offer support for that. I have never seen a project reliably having multiple masters on a single I2C bus.

2 Likes

Use your Nano to read the item, then send the data to everybody from the Nano.

1 Like

Thank you for the help!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.