Skip to content

Latest commit

 

History

History
executable file
·
23 lines (16 loc) · 1.14 KB

exercise5.md

File metadata and controls

executable file
·
23 lines (16 loc) · 1.14 KB

Exercise 5: Gather the Training Data

  1. Press the reset button on the board
  2. Open the Serial Monitor: Tools -> Serial Monitor
  3. Make a punch gesture with the board in your hand - you should see the sensor data log in the Serial Monitor
  4. Repeat the gesture 10 (or more) times to gather addition data
  5. Copy and paste the data from the serial output to new text file named punch.csv
  6. Close the Serial Monitor
  7. Press the reset button on the board
  8. Open the Serial Monitor: Tools -> Serial Monitor
  9. Make a flex gesture with the board in your hand
  10. Repeat the flex gesture at least 10 times
  11. Copy and paste the serial output to new text file named flex.csv

screenshot of serial monitor with IMU data

Creating CSV Files

Visual Studio Code, Sublime Text, or Atom will all work great for creating CSV files. If you don't have one of these editors installed, try Notepad.exe on Windows or TextEdit on MacOS. Note that TextEdit wants to save data in rich text format default. Be sure to choose Format -> Make Plain Text before choosing File -> Save.

Next Exercise 6: Machine Learning