Inspiration
A personal goal of mine is to work on my poor posture. Using an accelerometer to track my posture habits and plot that data live seemed like an easy and effective way to help implement change.
What it does
The program uses matlab, arduino, and an accelerometer to record, plot, and analyze gyroscopic data of the sensor in order to see how my posture lines up, and make changes if needed. The program compares your data with a threshold for good posture. When your posture is recorded as being less than the threshold, the program outputs a warning to the command window, and adds the instance to a tracker that sums the amount of times in one day you had poor posture.
How we built it
The program utilizes matlab, arduino, and an accelerometer. The program is started and the sensor is placed on the user's chest as data is recorded and plotted live. The user can move around the adjust their position based on the output of the plot, which is the gyroscopic data of the sensor about the x-axis.
Challenges we ran into
Using arduino with matlab can be finicky sometimes. The first method I used to collect and plot the serial data worked pretty welll, but out of nowhere, the program stopped working as if the sensor stopped collecting the data altogether. After spending hours trying to figure out what the issue was, I turned to a different way to collect the imu sensor data, which so far has continued working.
Accomplishments that we're proud of
I am very happy I was able to get a reactive live plot working with the sensor and matlab! I am proud to have established a connection between arduino and matlab so that I can continue using sensors with matlab.
What we learned
I learned a lot about using sensors and matlab, reading a lot of matlab documentation, and most importantly about reading sensor manufacture datasheets.
What's next for postureFix(postureFix)
I would like to add more functionality to the matlab program, like a matlab gui or more hardware like a start and stop button. I would also want to output a table of data to the user each day summarizing their posture habits and data so they can track their behavior over time and see improvement.
I would also like to continue building out the project into an actual wearable device!
Log in or sign up for Devpost to join the conversation.