Case 10: The Sitting Posture Reminder
10. Case 10: The Sitting Posture Reminder#
Prolonged incorrect sitting posture will not only affect the beauty of the body, but also cause the spine and pelvis to be tilted, and even cause health risks such as cervical spondylosis, lumbar spondylosis and pelvic inflammatory disease. Thus, we can make a sitting posture reminder.
Detect the micro:bit status from the accelerometer on the micro:bit, and then monitor the sitting posture.
10.5. Software Programming#
Judge if micro:bit is in “logo up”, if yes, program to display a smile face.
If the micro:bit displays a sad face, program to start melody for reminding.
If the sitting posture is incorrect, the micro:bit would play a melody for reminding.