
acceleration, angular velocity, and heading. Go to
FileExamplesArduino_LSM9DS1 and choose
one of the three example sketches to try out.
Upload it to your board using SketchUpload.
Take a look at the values from your motion sensor
using ToolsSerial Plotter or Serial Monitor, then
give your board a good wiggle to watch the values
change. Here’s what my gyroscope test data
looked like on the Serial Plotter (Figure
B
).
If you’re new to 9-axis sensors, spend some
time playing with the three example sketches
to get comfortable with how the accelerometer,
gyroscope, and magnetometer work. Each sensor
gives us lots of valuable information on its ...