Accelerometer-Gyroscope with I2C Address 0x68 or 0x69
Magnetometer with I2C Address 0x0C
From the scanI2CBus output you posted, seems like there is only one unit. MPU6050 also has the I2C address 0x68 and looks similar to MPU9250. Can you check if the right sensor is connected.
I have the same problem, at first i thought the sensor was damaged, so i bought a new one, but the same problem occured, so i test the sensor on a differente board (NodemCu) and both sensors works perfelctly fine. Do you know how to fix this error on matlab?
Greetings! Have you found the solution for this problem? I have gy-6500/9250 sensor. Using mpu6050 MatLab command, I have the following warning: Warning: Incorrect device ID read from the connected sensor. Expected device ID (value stored in WHO_AM_I register) for MPU6050 is '104'. Make sure that the correct device is connected.
Using mpu9250 command, I have an error: Expected sensor not detected. Connect the right sensor to the hardware and try again.
Pins connection:
3.3V -> VCC
GND -> GND
A5 -> SCL
A4 -> SDA
My code (only arduino is connected to my notebook):
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
Translated by
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.