This one is to Test Xiao Nrf52840 Sense It checks for the IMU basic Functions
Drag & Drop
Displays on the OLED & Serial output, Press the User button to lower the Sensitivity to movement. The default is Very Sensitive. Code is in the Zip too.
Here’s the Serial Output
Xiao Expansion board and MCU check & Test compiled on Mar 25 2024 at 16:34:31
Processor came out of reset.
IMU GOOD
Temperature: 78.18°
When Moved it, prints the values to Serial port like the standard example and it displays on The OLED it’s “On the Move”
0.080,-0.056,1.009,-0.070,-1.610,-0.560
0.081,-0.054,1.005,-0.140,-1.610,-0.560
0.080,-0.054,1.011,0.070,-1.610,-0.490
0.083,-0.055,1.008,-0.070,-1.610,-0.420
0.082,-0.052,1.006,0.070,-1.610,-0.210
0.082,-0.055,1.006,0.140,-1.610,-0.350
0.081,-0.054,1.005,0.070,-1.470,-0.490
0.079,-0.055,1.008,0.000,-1.680,-0.420
0.080,-0.051,1.004,-0.070,-1.610,-0.420
0.080,-0.057,1.006,0.070,-1.610,-0.560
0.080,-0.054,1.007,0.070,-1.610,-0.420
0.082,-0.053,1.006,0.140,-1.400,-0.490
0.081,-0.055,1.005,0.140,-1.540,-0.350
0.082,-0.052,1.006,0.140,-1.750,-0.350
0.082,-0.056,1.005,0.070,-1.680,-0.280
0.081,-0.056,1.005,-0.140,-1.540,0.000
0.081,-0.053,1.006,-0.280,-1.540,-0.420
0.083,-0.053,1.004,-0.210,-1.610,-0.070
0.083,-0.055,1.006,-0.070,-1.750,-0.420
0.085,-0.053,1.005,-0.070,-1.820,-0.140
0.081,-0.054,1.006,-0.070,-1.610,-0.350
0.084,-0.055,1.007,-0.140,-1.400,-0.210
0.082,-0.054,1.006,-0.140,-1.610,-0.350
0.084,-0.052,1.006,-0.280,-1.610,-0.280
0.083,-0.055,1.006,0.000,-1.680,-0.210
0.082,-0.056,1.008,0.000,-1.610,-0.280
Button pushed 1.25
3.25
IMU_CAP1.zip (77.6 KB)
Unzip and Drag & Drop uf2 file on Xiao in Boot Mode ![]()
HTH
GL
PJ


