Using the Intel Edison IoT development kit, we have created a prototype for a gym/workout glove that tracks and analyses your workout as well as providing internet connectivity so that you can share your workout with your friends online.
Step 1: Materials Used
1. Intel Edison IoT development kit
2. Grove sensor shield
3. Grove 3-axis accelerometer (mma7660)
4. Grove LCD display
5. Vibration motor
6. Grove LED
7. Grove push-button
Step 2: Setup Intel Edison and Accelerometer
Setup your Intel Edison board, ensuring the board is connected to your wifi network.
Instructions to setup your Edison can be found on the Edison homepage: http://www.intel.com/content/www/us/en/do-it-yours...
Connect your grove sensor shield and hook up the 3-axis accelerometer to one of the i2c connections on the shield.
Example code for the 3-axis accelerometer and other UPM libraries for sensors can be found here: https://github.com/intel-iot-devkit/upm
Upload your code onto the Edison board and make sure that the accelerometer readings are being output onto the console log.
Step 3: Build Initial Prototype and Analyse Accelerometer Data
With the accelerometer data being transmitted we then strap it to our arm and take some meaningful readings. Do some example exercises, such as bicep curls, and plot the data to see the motion profile with the prototype on your arm.
Using this data and plots, we can create the algorithms to identify when a rep has completed or when one has not been done properly.
Step 4: Add Switches, Vibration Motor and LCD Display
Switched are added to tell the Edison when an exercise is about to start.
A vibration motor is added so that we can get social feedback from friends who can view our workout in realtime online. A virtual high-five from your workout buddies.
The LCD display gives live progress update as you progress through your workout.
Assemble all the components onto your prototype.
Data from the accelerometer is uploaded to the cloud and saved for analysis later on.