You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge in MCU16CE/matlab-dspic33a-curiosity-i2cexample-mpu9250 from ~I67977/matlab-dspic33a-curiosity-i2cexample-mpu9250:feature/release_v2 to develop
* commit '0ebc898951c6f9e7fe90c801c45ab756b585b605':
Update the files- main.json and changelog.md and deleted curiosity_i2c
(37955a0af338bf5b6457d580dd816208dafa7278) on Friday, November 7, 2025 4:01:34 PM
"shortDescription":"MATLAB/Simulink Model for I2C Peripheral Demonstration on the hardware platform Curiosity Platform Development Board, dsPIC33AK128MC106 GP DIM and MPU9250 sensor on the MPU 9DOF Click Board",
10
+
"shortDescription":"MATLAB/Simulink Model for I2C Peripheral Example: Roll and Pitch Angles Esitimation using Curiosity Platform Development Board, dsPIC33AK128MC106 Curiosity GP DIM and MPU9250",
# MATLAB/Simulink Model for I2C Peripheral Example: Curiosity Platform Development Board, dsPIC33AK128MC106 Curiosity GP DIM and MPU9250
7
+
# MATLAB/Simulink Model for I2C Peripheral Example: Roll and Pitch Angles Esitimation using Curiosity Platform Development Board, dsPIC33AK128MC106 Curiosity GP DIM and MPU9250
8
8
9
9
## 1. INTRODUCTION
10
10
11
11
This document describes the setup requirements for demonstration of I2C communication on the hardware platform
12
12
[EV74H48A](https://www.microchip.com/en-us/development-tool/EV74H48A) "Curiosity Platform Development Board" and [EV02G02A](https://www.microchip.com/en-us/development-tool/EV02G02A) "dsPIC33AK128MC106 General Purpose Dual In-Line Module (DIM)" using MPU9250 sensor on the MPU 9DOF Click Board.</p>
13
13
14
-
MPU-9250 is a multi-chip module (MCM) with 9-axis MotionTracking device that combines a 3-axis gyroscope, 3-axis accelerometer, 3-axis magnetometer and a Digital Motion Processor™ (DMP).
14
+
MPU-9250 is a multi-chip module (MCM) with 9-axis MotionTracking device that combines a 3-axis gyroscope, 3-axis accelerometer, 3-axis magnetometer and a Digital Motion Processor™ (DMP). This example exclusively uses 3-axis gyroscope, and the 3-axis accelerometer to estimate the roll and pitch angles.
15
15
16
16
## 2. SUGGESTED DEMONSTRATION REQUIREMENTS
17
17
@@ -31,8 +31,8 @@ To clone or download this MATLAB model on GitHub,
31
31
- Simulink Coder (v24.2)
32
32
- MATLAB Coder (v24.2)
33
33
- Embedded Coder (v24.2)
34
-
- MPLAB Device blocks for Simulink (v3.59)
35
-
- Motor Control Blockset (v24.2)
34
+
- MPLAB Device blocks for Simulink (v3.62)
35
+
- Motor Control Blockset (v24.2)
36
36
> **_NOTE:_**
37
37
>The software tools used for testing the model during release is listed above. It is recommended to use the version listed above or later versions for building the model.
38
38
@@ -74,7 +74,7 @@ This section describes the hardware setup required for the demonstration.
74
74
<palign="left" >
75
75
<img src="images/dem1.png"width="500"></p>
76
76
77
-
3. Double click on the I2C example Simulink model - **curiosity_i2c.slx**. This opens the Simulink model as shown below.
77
+
3. Double click on the I2C example Simulink model - **curiosity_i2c_pitch_roll.slx**. This opens the Simulink model as shown below.
78
78
79
79
<p align="left">
80
80
<img src="images/dem3.png"width="500"></p>
@@ -120,7 +120,7 @@ This section describes the hardware setup required for the demonstration.
120
120
<img src="images/led_rgb.png"width="500"></p>
121
121
</p>
122
122
123
-
9. <pstyle='text-align: justify;'> To view the I2C communication from <b>"MPU9250" </b> double click on the scope. This opens the scope view. Tilt or turn the development board by hand to view variations in the signal from the <b>accelerometer, gyroscope and magnetometer sensors of MPU9250</b>.
123
+
9. <pstyle='text-align: justify;'> To view the estimated roll and ptch angle from the <b>accelerometer, gyroscope sensors of MPU9250</b> double click on the scope. This opens the scope view. Tilt or turn the development board by hand to view variations in the roll and pitch angles.
124
124
125
125
<palign="left">
126
126
<img src="images/dem9.png"width="500"></p>
@@ -132,6 +132,8 @@ This section describes the hardware setup required for the demonstration.
132
132
<img src="images/dem10.png"width="500"></p>
133
133
</p>
134
134
135
+
> **Note:** </br>
136
+
>Ensure that at startup, the **development board** and **MPU9250** remain static and level for about 2 seconds for calibration. After calibration, the board can be tilted or rotated to observe angle variations.
135
137
136
138
## REFERENCES:
137
139
For more information, refer to the following documents or links.
This is the first version of MATLAB Simulink model for I2C Communication Demonstration on hardware platform Curiosity Platform Development Board, dsPIC33AK128MC106 Curiosity GP DIM and MPU9250.
3
+
This is the second version of MATLAB Simulink model for I2C Communication Demonstration on hardware platform Curiosity Platform Development Board, dsPIC33AK128MC106 Curiosity GP DIM, and MPU9250 for the Estimation of Roll and Pitch Angles.
0 commit comments