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):
Da Änderungen an der Seite vorgenommen wurden, kann diese Aktion nicht abgeschlossen werden. Laden Sie die Seite neu, um sie im aktualisierten Zustand anzuzeigen.
Translated by
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.