Inspiration
Music plays a big role when working out, but the type of music matters a lot! However, stopping your workout to pick the perfect music can be very distracting, and playlists are only effective if you keep the same workout routine. We want to find a way to play music automatically based off of what workout you are currently doing.
What it does
The device records the pulse rate through an electrocardiogram, and processes it via a microcontroller to play music depending on your heart rate.
How we built it
We used the pulse sensor for , and a Raspberry Pi Pico for the raspberry Pi Pico. To recommend the music, as a prototype, we had three music selections. However, this can be easily extended to a larger variety.
Challenges we ran into
We ran into a lot of challenges, which mainly revolved around getting electrical components to interact in the desired way with the Pico. There were several issues that came with the Pico (i.e. weird permissions around saving text files, small storage size, and buggy libraries), that in the future, we will probably stick with a higher fidelity Arduino.
Accomplishments that we're proud of
We are really proud to have debugged through most of our problems in a very systematic way. There were several times we wanted to give up, but we're glad we persevered through!
What we learned
We learned a lot about sensors, microcontrollers, and circuitpython! These are skills that we can take and build off of in future projects.
What's next for Gymmuse-stics
We plan on making this device fully wireless with some other components we bought (LCD board, speakers, etc.) such that the user doesn't need to bring their laptop with them to the gym!
Built With
- love
- pulse-sensor
- python
- raspberry-pi
Log in or sign up for Devpost to join the conversation.