Multiple I2C Peripherals with same Addresses?
Posted: Tue Feb 25, 2014 3:46 am
Hey all.
I am currently in the process of 'attempting' to make the crazyflie semi autonomous and I have a quick question to ask. I was planning to implement a few IR sensors on the crazyflie and interface them with I2C. I have some background with I2C and I understand that you can interface the SDA and SCL lines with multiple peripherals in parallel, each with different addresses. But lets assume that I want to use 4 of the same senors, all with the same address. How do I work around this without having the same addresses interfere with each other?
Also, I was looking at the schematic provided on the bitcraze website and noticed that the SCL and SDA pins on the expansion header already have the pull up resistors to VCC. I just want to confirm that this indeed correct before I start hitting my head against the wall.
Thanks!
-Peter
I am currently in the process of 'attempting' to make the crazyflie semi autonomous and I have a quick question to ask. I was planning to implement a few IR sensors on the crazyflie and interface them with I2C. I have some background with I2C and I understand that you can interface the SDA and SCL lines with multiple peripherals in parallel, each with different addresses. But lets assume that I want to use 4 of the same senors, all with the same address. How do I work around this without having the same addresses interfere with each other?

Also, I was looking at the schematic provided on the bitcraze website and noticed that the SCL and SDA pins on the expansion header already have the pull up resistors to VCC. I just want to confirm that this indeed correct before I start hitting my head against the wall.
Thanks!
-Peter