- Accelerometer-gyroscope (I2C Address can be 0x68 or 0x69,depending on the logical level on AD0 pin)
- Magnetometer - This is AK8963 sensor (I2C Address - 0x0C)
Incorrect I2C device connected. Expected I2C addresses: [0x0C]. Detected I2C addresses: [0x69].
7 ビュー (過去 30 日間)
古いコメントを表示
i am trying to connect a single mpu 9250 to arduino uno using matlab
as i run the command
imu=mpu9250(a) to create imu object it gave me an error
Incorrect I2C device connected. Expected I2C addresses: [0x0C]. Detected I2C addresses: [0x69].
why matlab is expecting device address as 0x0C is there any possible way to change it ?
0 件のコメント
回答 (1 件)
Gayatri Menon
2020 年 5 月 7 日
編集済み: Gayatri Menon
2020 年 5 月 7 日
Hey
Is the AD0 pin of the sensor connected to high?
Can you try creating the object by specifying the I2C addresses
imu = mpu9250(a,'I2CAddress',{'0x69','0x0C'})
MPU9250 has two I2C dies
Datasheet : MPU9250
Hope this helps
Thanks
Gayatri
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!