The next step is to use an Arduino program you downloaded in Exercise 2 to capture motion data from the IMU.
- Open tinyml-workshop/ArduinoSketches/IMU_Capture/IMU_Capture.ino in the Arduino IDE.
- Compile the sketch and upload it to the board:
Sketch -> Upload
- Open the Serial Monitor:
Tools -> Serial Monitor
- Shake the board. The change in acceleration will start recording data from the IMU in the Serial Monitor
- Close the Serial Monitor window
- Open the Serial Plotter:
Tools -> Serial Plotter
- Shake the board. The change in acceleration will start graphing data in the Serial Plotter
- Repeat capturing various gestures to get a sense of what the training data will look like
- Close the Serial Plotter