Overview
I built this wearable device to give a reminder when I slouch. It sounds a buzzer
if slouching lasts at least seven seconds. I chose that delay so brief movements
wouldn't trigger an alert.
I used the existing SEFR algorithm with the micromlgen library, following
Eloquent Arduino's guide.
I trained the classifier on 600 samples: 300 slouching and 300 non-slouching.
I lowered the Arduino Pro Mini's clock speed and removed unused LEDs to reduce power
use. The battery lasts up to about 4.5 days under ideal conditions. A power switch
and charging module make it easy to turn off and recharge.
Pictures
Demo
Schematic
Sequence Diagram
Code and Setup
The code and setup instructions are in my GitHub repository.










