Skip to content

Watcherr: Activity recognition on a care wristband

Classifies care activities on the wristband without sending raw motion data to the cloud.

Company
Watcherr
Role
Lead engineer
Domains
  • AI/ML
  • Hardware
A demo screen shows activity labels and a webcam feed.
A still from the activity recognition demo.
Activity classes classified on-device:
5
Hardware variants supported:
3
On this page

Tech stack

  • Edge Impulse
  • TensorFlow Lite Micro
  • C
  • nRF5 SDK
  • Nordic nRF52
  • LIS3DH IMU
  • Python
  • DSP

The problem

Care home staff have to manually log every patient interaction, recording what care was given, when, and by whom.

It's slow, easy to forget, and interrupts the care itself. A wristband that could automatically detect what a caregiver is doing would eliminate that paperwork entirely, if the AI could run on a tiny chip with almost no memory and no internet connection.

The challenge

Watcherr's wristband needed to classify caregiver activities (brushing, combing, mopping, walking, idle) in real time to automatically log care interactions without manual input. The entire ML inference pipeline had to run on a Nordic nRF52832/nRF52840 MCU with 64 KB RAM and no OS, sharing cycles with BLE radio scheduling, I²C sensor polling, OTA firmware updates, and battery management.

Streaming raw accelerometer data to the cloud for inference was not viable: latency was too high, BLE bandwidth too constrained, and care environments too connectivity-unreliable. The model had to live entirely on the device. Additionally, the LIS3DH accelerometer was fitted in different physical orientations across three hardware variants (B7, B8, W7), requiring axis-flip compensation so a single trained model worked across all variants.

System design

First, custom nRF52 firmware collects raw accelerometer data at 50 Hz and streams it over BLE to a PC. The activities are labeled in CSV training files.

Second, Edge Impulse extracts spectral power, RMS, and zero-crossing features from sliding windows and trains the classifier. The model was evaluated over 23+ iterations from v3 to v23 as new data and edge cases surfaced.

Third, the trained model is exported as a C++ library and integrated into the firmware. The LIS3DH is read through an I²C FIFO burst at 50 Hz, sending 96 floats per burst into the Edge Impulse ring buffer through `ei_wrapper_add_data()`. When a full classifier window is ready, `ei_wrapper_get_data()` runs DSP and TFLite Micro inference in place. The confidence and anomaly checks are separate.

Fourth, a local Python WebSocket and HTML viewer streams classified activities from the BLE gateway for field debugging and demos.

Results

I integrated the activity-recognition pipeline across three hardware variants (Minew B7, B8, KKM W7) for care-facility deployments in Belgium and the Netherlands. The pipeline classifies five target activities on-device and accepts a prediction only when it clears the 90% confidence cutoff and the anomaly check. The cutoff is an acceptance rule, not a measure of accuracy.

This case study does not publish a labeled field-test denominator, participant/session counts, data split, confusion matrix, or dated evaluation report, so no measured field-accuracy claim is made. A 2-second minimum activity duration filter suppresses short transitions. The local BLE activity viewer supports browser-based debugging without a cloud dependency.

Gallery

Select an image to open the viewer. Choose Actual size for images that offer it.

Motion

  • Activity timeline transcript
    1. The webcam shows a seated participant making brushing motions near his mouth and then raising his hand to his hair. Brush and Hair are highlighted in turn, and colored blocks appear in the matching rows of the timeline.
    2. The participant works with his hands at the table. Cut Meat is highlighted and a block appears in its timeline row.
    3. The participant stands and moves around the room. The display highlights Walk and Vacuum in turn, adding blocks to those rows, then shows Hair again as he moves his arms.
    4. Near the end, Anomaly is highlighted, new marks appear in its timeline row, and a point appears in the separate plot. The display flags the segment as unusual; it does not show a fall or an alert being sent.
  • Activity timeline room test transcript
    1. Two camera views show the same participant standing in a room. Above them, the timeline already contains event blocks in the Anomaly, Brush, Comb, Mop, and Walk rows, with event summaries below the chart.
    2. The participant makes motions near his mouth. A new block appears in the Brush row. He walks away from the camera and across the room, and another block appears in the Walk row.
    3. The participant brings his hand up to his head. As the timeline advances, another Comb block and a new Anomaly marker appear.
    4. Later, the participant moves a mop across the floor. A new block appears in the Mop row, followed by another Anomaly marker. The summaries show the count, total duration, and last detection for each label. Near the end, the display shows 3 Anomaly, 3 Brush, 2 Comb, 2 Mop, and 5 Walk detections.

3 other case studies from Watcherr.

All Watcherr projects

Talk through the build

I can walk you through the work covered here: Activity recognition on a care wristband. We can discuss the design decisions and what shaped them.