Skip to content

Latest commit

 

History

History
executable file
·
21 lines (14 loc) · 1008 Bytes

exercise4.md

File metadata and controls

executable file
·
21 lines (14 loc) · 1008 Bytes

Exercise 4: Visualize the IMU Data

The next step is to use an Arduino program you downloaded in Exercise 2 to capture motion data from the IMU.

  1. Open tinyml-workshop/ArduinoSketches/IMU_Capture/IMU_Capture.ino in the Arduino IDE.
  2. Compile the sketch and upload it to the board: Sketch -> Upload
  3. Open the Serial Monitor: Tools -> Serial Monitor
  4. Shake the board. The change in acceleration will start recording data from the IMU in the Serial Monitor
  5. Close the Serial Monitor window
  6. Open the Serial Plotter: Tools -> Serial Plotter
  7. Shake the board. The change in acceleration will start graphing data in the Serial Plotter
  8. Repeat capturing various gestures to get a sense of what the training data will look like
  9. Close the Serial Plotter

screenshot of serial monitor with IMU data

screenshot of serial plotter with IMU data

Next Exercise 5: Gather the Training Data