Inspiration

We took a look at the issue of posture in the modern day because the frequent use of devices can leave lasting impacts on your posture and your health. In our own experience, we've met countless people in our classes with horrendous postures that make us wince.

What it does

Our device attaches to the back of a person's clothing and tracks the angle at which their neck/back is positioned. Based on good posture standards, it will SHAME or GLAZE the user. The web application displays key metrics including:

  • Posture Score (0-100, 100 being longest duration)
  • Time spent in Bad Posture
  • Number of Posture Corrections
  • Average Sitting Time (by inactivity)

A line graph tracks the posture in real time with higher y-values representing worsening posture, giving an overall posture score for the day. Users can also their posture score goal for the next day. Finally, there is a recommendations section that provides GIFs of different exercises users can try based on the pain points in their posture. They can click and view the instructions and benefits of each exercise to encourage continued improvement in posture!

How we built it

For the hardware side, we used an ESP32 module and a GY521 MPU-6050 gyroscope/accelerometer to get Pitch and Roll. Specifically, we used the X, Y, and Z accelerometer data to calculate the Pitch and convert it into degrees for posture data. We then connected the ESP32 to WiFi to send that data to the webpage.

For software, we used Streamlit's interface for creating web apps. The reason we chose to do this is because Python had a lot of important connections to our wifi server and the ESP32 itself. After deciding to use Streamlit we created the logic that would continually update by using a file stream between two Python scripts.

Challenges we ran into

We originally fried our ESP32 module since we used 5V instead of 3.3V, but we didn't notice it at the time and the program wasn't running properly. Once we got a new ESP32, it worked and we cried.

Accomplishments that we're proud of

No one on our team has used Streamlit before, so having a finished working webpage launched with Streamlit is an accomplishment. Also, once we were able to connect the ESP32 to WiFi, we were able to send over live data to the webpage, which was very exciting.

What we learned

It's not normal for your microcontroller to produce smoke.

What's next for Spine Guard

Pelvis Guard

Built With

Share this project:

Updates