Thursday, June 10, 2021

Arduino Nano RP2040 Connect example: read onboard LSM6DSOX IMU module (accelerometer and gyroscope)

Examples to read Nano RP2040 Connect onboard LSM6DSOX IMU module (accelerometer and gyroscope), in Arduino framework.

Install LSM6DSOX library:

- Open Library Manager in Arduino IDE:
Click on Menu Sketch > Include Library > Manager Libraries...

- Search and install Arduino_LSM6DSOX library.


LSM6DSOX examples:

Now you can try LSM6DSOX examples to read accelerometer and gyroscope data from Nano RP2040 Connect onboard LSM6DSOX IMU module.


with graphical view using Menu > Tools > Serial Plotter.

SimpleAccelerometer

SimpleGyroscope




No comments:

Post a Comment