Hi, I’m working on a project where we are supposed to log the input of 3 different MPU6050 with one arduino. I’m currently using a TCA9548A multiplexer for this to work as my arduino Mega couldn’t power each individual MPU6050 from digital pins (was going to switch adresses to read each MPU indicidually). My problem is that I only get 29Hz readings, and when the sampling window is 0,2s I will only get 6 readings which is not enough. Do anyone have an idea of how to solve or work around this problem?
Code si attached, it is a modified example: MPPU6050_DMP6, GitHub - jrowberg/i2cdevlib: I2C device library collection for AVR/Arduino or other C++-based MCUs
Gyro.ino (12 KB)