connecting two or more i2c devices with different addresses

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
kpuvvala
 
Posts: 1
Joined: Tue Aug 10, 2021 4:33 am

connecting two or more i2c devices with different addresses

Post by kpuvvala »

Hi,

I have 6 set of I2C Sensors, which includes a SCD30, BMP280, INA219 in each set (x18 Sensors in total). I would like to connect all the sets to a Arduino UNO via TCA9548. My plan was to connect 1 set to one channel and so on. But I could only read one sensor value of each channel but not the rest.

Any help regarding this is highly appreciable.

Thank You.

User avatar
dastels
 
Posts: 15667
Joined: Tue Oct 20, 2015 3:22 pm

Re: connecting two or more i2c devices with different addres

Post by dastels »

I don't see anything that indicates that. Have you tried it?

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”