The Digital Gym architecture has three main components
- Mountables made up of a Raspberry Pi, sensors and a NFC reader. The mountable converts aerobic machine workouts into a digital output.
- Python code that converts the digital output from the mountables to a recordable data output such as rpm. This data is then stored and uploaded to a github repository,
- A mobile app that takes the data from the repository and easily presents the data to the person working out.
The team is making steady progress on all three fronts. Some updates:
We have developed algorithms to determine the use of aerobic machines through integrating the wearables and magnets on the machines. The bike seen below is an example of the similar bikes already deployed and being used in Rice’s gym to collect data.
A magnet is attached to the inside of the pedal. A hall sensor is mounted on the frame of the bicycle along the path of the pedal when it rotates. The magnet on the pedal triggers the sensor every time it passes overs it, and the sensor records every time it is triggered over time and sends this data to the Raspberry Pi to be converted to an rpm. A NFC reader is also on the bike. A user can scan either an unique NFC sticker or their phone on the reader, and the Raspberry Pi will send the data to the app on the user’s phone.
Location of the magnet and hall sensor on the bike.
Every time that the pedal finishes one rotation, the magnet on the pedal triggers the hall sensor.
NFC reader on the bike.
Raspberry Pi on the bike.