I need to connect 5 IMU 9250 to Arduino Due. I used the library on this webpage and it works well for only one sensor.
https://www.switch-science.com/catalog/2845/
I need to know if there is a code or library that helps me to turn on all five sensors and get data at the same time.
Besides I2C, MPU9250 has SPI interface. With SPI, you can connect multiple devices on the same bus. They share data out (shown as SDO in the data sheet), data in (SDI), and clock (SCLK). Each device has its own chip select (CS) pin. If you want to control 5 devices, you need 8 pins (SDO, SDI, SCLK + 5 CS).
With a quick search, I found a library that supports SPI. Maybe you can use it as it is. Or, you can study it and implement your own solution.