Auxiliary trainer for plank and push-up exercises
[Copy link]
Auxiliary trainer for plank and push-up exercises
Author: lvqy
- Project Background ( 100-200 words )
Plank support is a popular fitness exercise around the world. However, incorrect posture can damage the lumbar joints and arches and reduce the quality of exercise.
The key to the plank support is to keep your body straight at all times and maintain this position for as long as possible. Then gradually extend the support time and intensity.
SensorTile.box has a gesture sensor and a vibration sensor. SensorTile.box can be directly connected to a mobile phone and is ready to use. Users can directly access the application functions predefined by the app .
So, can we use the SensorTile.box sensor to automatically prompt when the movement is deformed? Automatically record the effective support time and see the progress of our exercise?
- Brief introduction of the work (100-200 words)
By using the wearable sensor function of SensorTile.box , you can visually observe your movements and training status through curves when doing push-ups and plank exercises.
I tried putting the SensorTile.box on my back, pocket, leg, etc., and finally found that inserting it into the belt and placing it on the abdomen worked best.
When doing push-ups, the curve display can count the number of exercises.
During the plank, when the muscles tremble, the data of SensorTile.box increases sharply. At this time, you can take a break
.
Uses gyroscope sensor as input.
Add the function NORM , " Threshold comparison" , and output that when the condition is met, the LED lights up.
Set the IF conditional expression to the norm greater than judgment just set. Set the application to output the counter value via Bluetooth.
4. Functional description of each part (combined with pictures and text)
Uses gyroscope sensor as input.
Add the function NORM (norm) to preprocess the gyroscope data.
" Threshold comparison" is activated when the gyroscope changes more than 5 millidegrees per second after the norm operation.
When the condition output is met, the LED lights up.
Set the IF conditional expression to the norm greater than judgment just set. Set the application to output the counter value via Bluetooth.
The following figure is the display interface on the phone. EventCounter records the event when the angle change of SensorTile.box is greater than 5 millidegrees per second. If you are doing push-ups and plank exercises, then when this event occurs, the body posture change value is large. The actual test result is: when doing push-ups, one push-up and one prostrate are counted as one event each. When the plank is not moving, no event occurs. Put the SensorTile.box on the abdomen, and when the plank is tired and the muscles tremble, irregular events occur.
5. Source code and sensor data processed in the case study
Select the "Direction Change Detection Application" in expert mode and upload it to SensorTile.box .
By changing the posture of the SensorTile.box , I found that I could count the lifting and lowering.
Put the SensorTile.box on your back and do push-ups. The data does not change much.
Change the " Threshold comparison " parameter to 5.0 and upload it to SensorTile.box .
It was found that the counting was much more sensitive.
In the mobile phone path: " STMicroelectronics/logs ", get the log file:
20200705_105131_EventCounter.csv
Log start on,2020-07-05 10:51:31
Feature,EventCounter
Nodes,TILEBOX @322E33,
Date,HostTimestamp (ms),NodeName,NodeTimestamp,RawData,Events,
05/07/2020 10:51:33.858,2264,TILEBOX @322E33,25445,36000000,54,
05/07/2020 10:51:37.709,6115,TILEBOX @322E33,25929,37000000,55,
05/07/2020 10:51:38.587,6993,TILEBOX @322E33,26043,38000000,56,
05/07/2020 10:51:45.658,14064,TILEBOX @322E33,26929,39000000,57,
05/07/2020 10:51:46.391,14797,TILEBOX @322E33,27021,3A000000,58,
05/07/2020 10:51:47.366,15772,TILEBOX @322E33,27145,3B000000,59,
05/07/2020 10:51:47.854,16260,TILEBOX @322E33,27207,3C000000,60,
05/07/2020 10:51:47.997,16403,TILEBOX @322E33,27227,3D000000,61,
05/07/2020 10:51:49.068,17474,TILEBOX @322E33,27361,3E000000,62,
05/07/2020 10:51:49.461,17867,TILEBOX @322E33,27413,3F000000,63,
05/07/2020 10:51:50.239,18645,TILEBOX @322E33,27505,40000000,64,
05/07/2020 10:51:50.875,19281,TILEBOX @322E33,27587,41000000,65,
05/07/2020 10:51:51.019,19425,TILEBOX @322E33,27608,42000000,66,
05/07/2020 10:51:51.360,19766,TILEBOX @322E33,27649,43000000,67,
05/07/2020 10:51:53.263,21669,TILEBOX @322E33,27886,44000000,68,
05/07/2020 10:51:53.408,21814,TILEBOX @322E33,27907,45000000,69,
05/07/2020 10:51:53.652,22058,TILEBOX @322E33,27938,46000000,70,
05/07/2020 10:51:54.969,23375,TILEBOX @322E33,28102,47000000,71,
05/07/2020 10:51:57.260,25666,TILEBOX @322E33,28390,48000000,72,
05/07/2020 10:51:57.649,26055,TILEBOX @322E33,28442,49000000,73,
05/07/2020 10:52:15.055,43461,TILEBOX @322E33,30635,4A000000,74,
6. Video Demonstration (Video Introduction + Link)
Clip the SensorTile.box to your belt.
Lie on the ground, do a few push-ups, then maintain the plank position and stand up.
Use the mobile phone to record the screen and get the video file as follows:
https://training.eeworld.com.cn/video/26404
It starts with standing, and as you bend down, the count increases irregularly.
Then, I did a few push-ups. I could see that the count increased by 1 each time I bent down and stood up .
After that, I did a plank. I am quite fat, and because I had tested it several times before, my muscles started to tremble soon.
At this point, the count value begins to increase rapidly.
When standing up, the count increases irregularly again, and then, when the SensorTile.box is placed on the table, the count stops increasing.
7. Project Summary (Project Text Summary + Post Sharing Link Summary)
Publish 10 posts in the " ST MEMS Sensor Creative Design Competition Zone" :
[ Experience Sharing ] SensorTile.Box Evaluation Kit and My Thoughts
https://en.eeworld.com/bbs/thread-1118255-1-1.html
[ Experience sharing ] SensorTile.Box kit operation mode entry mode trial
https://en.eeworld.com/bbs/thread-1119702-1-1.html
[ Experience Sharing ] SensorTile.Box Kit Operation Mode Expert Mode Trial
https://en.eeworld.com/bbs/thread-1120593-1-1.html
[ Experience Sharing ] SensorTile.Box Kit Operation Mode Programming Mode Trial
https://en.eeworld.com/bbs/thread-1123410-1-1.html
[ Experience sharing ] My creative plan and functional implementation plan
https://en.eeworld.com/bbs/thread-1126316-1-1.html
[ Experience sharing ] Actual development and experience of the first phase
https://en.eeworld.com/bbs/thread-1128794-1-1.html
[ Experience sharing ] Actual development and experience of the second phase
https://en.eeworld.com/bbs/thread-1129596-1-1.html
[ Experience sharing ] Developers use experiments and data analysis
https://en.eeworld.com/bbs/thread-1129663-1-1.html
[ Experience Sharing ] Re-flash the firmware
https://en.eeworld.com/bbs/thread-1130920-1-1.html
[ Experience sharing ] Using the expert mode user program to carry out push-up training
https://en.eeworld.com/bbs/thread-1130921-1-1.html
8. Others
During the trial, I felt the ease of use of SensorTile.box .
It is very convenient to use STM32CubeProgrammer for burning.
The programming mode was tested. The acceleration sensor data was recorded, and the acceleration data curve was plotted using gnuplot to obtain the acceleration curve during plank support.
The firmware upgrade mode ( FTOA ) was restored . Using the expert mode simple settings, I performed push-ups and plank exercises many times, set different parameters, and obtained parameter settings that reflect the exercise situation.
As the impact of the epidemic was gradually lifted, I suddenly became much busier at work, so I had to adapt my app based on the expert mode. I think the trial effect is good and it can enhance the fun of plank exercises.
In short, this activity was very well carried out. Everyone encouraged each other and shared their experiences, which accelerated the trial process and improved the trial results. I personally gained a lot.
|