SleepyTimer - Viewing Last
When in sleep-monitor mode all three IMU axes are sampled regularly and the values are added to independent rolling averages. Motion is detected when a new reading spikes more than a threshold amount from the rolling average. The monitoring session is binned in to 120 6-minute periods. The motion spikes are averaged within each bin. Motion within a bin is considered “wakefulness”. The bins, along with some header information (date, start and end time etc), are recorded as a rolling list of 8x 128-byte “pages” in EEPROM.
The bins are graphed on the LCD as a bar-graph..
SleepyTimer - Viewing Last
When in sleep-monitor mode all three IMU axes are sampled regularly and the values are added to independent rolling averages. Motion is detected when a new reading spikes more than a threshold amount from the rolling average. The monitoring session is binned in to 120 6-minute periods. The motion spikes are averaged within each bin. Motion within a bin is considered “wakefulness”. The bins, along with some header information (date, start and end time etc), are recorded as a rolling list of 8x 128-byte “pages” in EEPROM.
The bins are graphed on the LCD as a bar-graph..