I'm going to do a project using 5 mpu6050 and Arduino.
For this, I want to use tca9548a multiplexer and use i2c_dev's DMP6 library as mpu6050. (I want to print out the values of Roll, Pitch, and Yaw of the sensor.)
I'm still inexperienced in using Arduino, so I'm going to refer to a similar example.
So can I find an example of using this dmp library and multiplexer together?
With a single-core processor nothing can happen 'at the same time'.
Connect the address line of five MPU boards to five pins of the Arduino.
Then you can select the MPU board to talk to by setting it on a different (active) address.
Using a TCA9648 would only make sense if you also need level shifting,
but I assume you are going to use a faster 3.3volt board for your project.
Leo..
I'm working on this same issue now. It appears you can set all active addresses to LOW with the ADO pin then when you want to get the value of a sensor you can set it to HIGH. The low devices will be on address 0x68 and will not be able to communicate (collision) but the 0x69 will have no problem so set your object to MPU6050 mpu(0x69) and the sample codes should work. You can loop through the different sensors using the ADO.
Sorry if I made this confusing, I'm not a programmer.