nicla_sense_ingestion.ino
sketch was used to collect the raw accelerometer data. I created 3 classes: idle (no movement), walking, and checkpoint. The Checkpoint class was essentially me drawing the letter “C” in the air to tell the app to mark a checkpoint on the map while out on a hike.
You of course could add additional gestures if you wanted to expand the functionality of the jacket and Nicla Sense ME (an “S” for “selfie” maybe?). Even with just 15 minutes of data (split between Training and Test), there was great clustering of class data:
nicla_sensor_fusion.ino
sketch from the library to start my project. Given that the inference code was already in there, I only had to add in the BLE code and some logic to send data over BLE to the app. Edge Impulse really does make it simple.
Once I had my code in place, I went over to MIT App Inventor to create the interface to the Nicla Sense ME BLE data.