
Flowchart Steps
2.The main loop loop() starts
3.Detection logic
Control airbag inflation or deflation based on left or right tilt to adjust posture.
Load libraries, set pins, and define thresholds for detecting and adjusting posture abnormalities.
Continuously collect X-axis acceleration data to determine posture (forward, backward, or neutral).
倾斜(系统 1)检测和充气控制
恢复正常坐姿(前倾放松)
倾斜(系统 2)检测和充气控制
恢复正常坐姿
4
1. Define and initialize the region
3. Detection Logic


Import the necessary libraries (Wire, MPU6050)

Posture detection process


2

1
Define pins and thresholds

43

2. The main loop loop() starts

3

Read the seat tilt data and output the current posture and the status of the two airbag systems.
Micro 3V solenoid valve


micro air pump
Product principle

Driver board


solenoid valve

Relay
MPU6050 six-axis sensor module
18650 battery case


rduino Pro Micro
The system is controlled by an Arduino Nano, integrating MPU6050 posture detection, relay control, and battery power supply to achieve portable posture correction.
SITGUARD
Personalized settings
+
Real-time monitoring
Community sharing
+
+
Visualized data
+
Active intervention



T12
With device
Without device

T1
20
40
60
80
100
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
Leg-crossing count
With SITGUARD, leg-crossing events drop significantly vs. no device—a clear, consistent reduction that shows it effectively curbs poor-posture behavior.

After 4 hours, comfort skews high (most >7/10) with no discomfort outliers—nudges are gentle, low-disruption, and long-wearable.



User experience testing
Coding and Test
SITGUARD
@2025
Contact Us:
202315010109@sust.edu.cn
Support:
Shaanxi University of Science and Technology
The electromagnetic valve works in conjunction with the air pump to correct posture in real time.
The airbag is the core actuator that interacts with the user, gently correcting bad posture through inflation.
1.Define and initialize area



SITGUARD
A wearable device that targets poor sitting posture, designed to help people who sit for long periods build better habits.