Prolonged desk work is a major cause of common health issues faced by many today, such as shoulder stiffness and lower back pain. Focusing on this "sedentary problem, " I developed a smart reminder to help users maintain their health by prompting them to take breaks and stretch at the right moments.
2. Key FeaturesThis device features two reminder modes that can be used according to the situation.
Desk Work Reminder
An ultrasonic sensor measures the time spent at your desk and sends an alert when a preset time is exceeded. This prevents long, continuous work sessions and encourages you to take a break.
Posture Reminder
This mode is used by wearing the device on your body. The built-in gyro sensor detects your body's tilt in real-time and sends an alert if you remain in the same posture for too long, encouraging you to change your posture frequently.
The core of the device is an M5Stack Core2 for AWS, combined with a built-in gyro sensor and an external ultrasonic distance sensor. It features a simple configuration and intuitive controls.
Switching Reminder Modes
You can easily switch between the two reminder modes with a single press of a button.
Stopping the Alarm
The alert can be easily stopped with a single button press.
Desk Work Reminder
An ultrasonic sensor measures the time spent at your desk and sends an alert when a preset time is exceeded. This prevents long, continuous work sessions and encourages you to take a break.
Posture Reminder
This mode is used by wearing the device on your body. The built-in gyro sensor detects your body's tilt in real-time and sends an alert if you remain in the same posture for too long, encouraging you to change your posture frequently.
Prerequisites
Hardware:
- M5Stack Core2 for AWS
- M5Stack Ultrasonic Distance Unit I2C
Development Environment:
- Arduino IDE
Steps
1. Prepare Your Environment: Gather the required hardware and set up the Arduino IDE. You must also configure your computer for M5Stack development.
2. Install Libraries: In the Arduino IDE, open the Library Manager and install the following two libraries: M5Unified and M5Unit-Sonic by M5Stack.
3. Connect Hardware: Connect the M5Stack Ultrasonic Distance Unit I2C to PORT.A of the M5Stack Core2 for AWS using a Grove cable.
4. Upload the Code: Using the Arduino IDE, upload the code provided in the "Code" section of this page to the M5Stack Core2 for AWS.
5. Current Status and Future ProspectsThe current version is complete with the alert notification function that triggers when the set time is exceeded.
As a future update, I plan to add a feature that displays specific stretching methods (with illustrations and instructions) on the M5Stack's screen. With this, I aim to evolve the device from a simple reminder into a comprehensive health support tool that helps users to refresh themselves more effectively








Comments