How do I us a TCA9548A Multiplexer to connect more 3 x MPU6050 to a Maga2560


i attempted using tca9548a multiplexer connect 3 x mpu6050 mega2560. change port of 2 : 0x69 , 0x68 , obtained values available mpu6050 not using tca9548a.

when connecting tca9548a , using i2c scanner results per https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout/wiring-and-test

i followed : https://forums.adafruit.com/viewtopic.php?f=25&t=88328 still no luck. :smiley-confuse:

my code same in site above.

the scanner shows tca9548a connected 0x70

my questions are:

  • how mpu6050(1-3) connected port 0x71, 0x72, 0x73 respectively?
  • how read x,y,z values each mpu6050 using tca9548a multiplexer?
  • do use mpu6050 "getvalues" or read registers of tca9548a



how ditching mux, , instead use i/o pins switch address select pins on 6050s?

(disclaimer: haven't tried this)


Arduino Forum > Using Arduino > Sensors > How do I us a TCA9548A Multiplexer to connect more 3 x MPU6050 to a Maga2560


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'