Sitting Pressure Distribution Monitoring System Using K-Nearest Neighbor and Rule-Based Logic

An embedded sitting-pressure monitoring system is developed to identify asymmetric pressure distribution and detect prolonged static sitting. Four FSR402 sensors connected to a 12-bit ADC on an ESP32 measure seatpressure, using Left_percent, Right_percent, and P_ratio as classification features. A K-Nearest Neighbor (KNN) classifier (K = 5) is implemented directly on the ESP32 to classify Balanced, Lean Left, and Lean Right postures. Classification results are combined with duration-based rules to determine NORMAL, WARNING, and HIGH RISK conditions, supported by vibration feedback, Firebase Realtime Database, and a Flutter application. The results show an average relative pressure measurement error of 1.05% (98.95% accuracy), with pressure shifts of 17.32–18.29%. KNN achieves 98.89% mean cross-validation accuracy and 97.78% test accuracy, with a macro F1-score of 0.9776, while end-to-end posture detection achieves 90% accuracy. Haptic feedback delays range from 0.784 to 1.127 seconds. These findings demonstrate the feasibility of implementing KNN-based posture classification directly on an ESP32 and integrating it with duration-based rules for real-time monitoring of asymmetric and prolonged static sitting.

Authors

Institutions

Publication Details

Journal
CHIPSET
Published
2026-10-31
DOI
https://doi.org/10.25077/chipset.7.02.164-168.2026
Primary Topic
Context-Aware Activity Recognition Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sitting Pressure Distribution Monitoring System Using K-Nearest Neighbor and Rule-Based Logic

Rizka Hadelina, Athaya Thalita Jumeyza
CHIPSET
Context-Aware Activity Recognition Systems
article

Sitting Pressure Distribution Monitoring System Using K-Nearest Neighbor and Rule-Based Logic

Rizka Hadelina, Athaya Thalita Jumeyza
article en

Abstract

An embedded sitting-pressure monitoring system is developed to identify asymmetric pressure distribution and detect prolonged static sitting. Four FSR402 sensors connected to a 12-bit ADC on an ESP32 measure seatpressure, using Left_percent, Right_percent, and P_ratio as classification features. A K-Nearest Neighbor (KNN) classifier (K = 5) is implemented directly on the ESP32 to classify Balanced, Lean Left, and Lean Right postures. Classification results are combined with duration-based rules to determine NORMAL, WARNING, and HIGH RISK conditions, supported by vibration feedback, Firebase Realtime Database, and a Flutter application. The results show an average relative pressure measurement error of 1.05% (98.95% accuracy), with pressure shifts of 17.32–18.29%. KNN achieves 98.89% mean cross-validation accuracy and 97.78% test accuracy, with a macro F1-score of 0.9776, while end-to-end posture detection achieves 90% accuracy. Haptic feedback delays range from 0.784 to 1.127 seconds. These findings demonstrate the feasibility of implementing KNN-based posture classification directly on an ESP32 and integrating it with duration-based rules for real-time monitoring of asymmetric and prolonged static sitting.

CHIPSETVol. 7(02)
Andalas University (ID)
Openalex Percentile: Top 16%
Context-Aware Activity Recognition Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon