1

I'm using an Arduino Nano 33 BLE Sense Rev2 with the Tiny Motion Trainer by Google to train for certain movements. The original code was designed for the Arduino Nano 33 BLE Sense, which uses the LSM9DS1 IMU sensor. I have modified the code to use the BMI270_BMM150 sensor (updated the library in dataprovide.cpp from #include <Arduino_LSM9DS1.h> to #include <Arduino_BMI270_BMM150.h>).

However, after running the code and visualizing motion on the Tiny Motion Trainer, I observe a non-continuous graph compared to what is shown in YouTube tutorials. I've attached images for reference.

My data:
My data

Expected data:
Data from YouTube tutorials

Link to images

I suspect this issue might be due to the difference in data output frequency between the LSM9DS1 (119 Hz) and the BMI270_BMM150 (99 Hz). However, I couldn't find anything in the code referencing this directly.

Could the frequency difference be causing this issue? If not, what else could be causing the non-continuous graph as all the tutorial I have seen for this, the people are getting continuous graphs.

rzickler
1331 gold badge1 silver badge7 bronze badges
asked Jul 4, 2024 at 9:17
2
  • what do you mean by continuous motion data? ... how do you know that the arduino is not sending it? Commented Jul 6, 2024 at 15:55
  • @jsotola If you look at my graph there are points when the motion is 0 while I am moving the sensor continuously compared to one in tutorial where the graph is continuous. Commented Jul 7, 2024 at 16:28

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.