MATLAB Answers

Could i use mpu9250 in to the IMUFusionSimulinkModel?

7 views (last 30 days)
yong-siang zhang
yong-siang zhang on 6 Aug 2020
Commented: Amrtanshu Raj on 10 Sep 2020
Could i use mpu9250 in to the IMUFusionSimulinkModel?
I don't know how to place the MPU9250 in the example?
Can it work?

Answers (1)

Amrtanshu Raj
Amrtanshu Raj on 9 Sep 2020
Hi,
You can interface the MPU-9250 in Simulink via Arduino Hardware Support Package.
The steps for the implementation will be as follows:
  1. Install and setup the required Support package
  2. Make the required connections
  3. Use the MPU-9250 Arduino Simulink Block
  4. Interface the block with the Simulink example
Hope this helps !!
  2 Comments
Amrtanshu Raj
Amrtanshu Raj on 10 Sep 2020
You can use 3 transpose block (one for each signal) in between the MPU9250 and AHRS blocks. That will solve the problem of port dimensions.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!