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):
Impossible de terminer l’action en raison de modifications de la page. Rechargez la page pour voir sa mise à jour.
Translated by
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.