Inside AI
← Deep Dives
Deep dive / Edge AI

What a wrist wave looks like to a microcontroller

Follow three acceleration channels from a sensor read to a single movement event.

Device profile · Arduino Nano 33 BLE Sense Rev2 ↗

A stationary sensor still has a signal

The accelerometer reports readings in g. Supporting a stationary board against gravity produces a vector with magnitude near one g. Rotate it slowly and gravity moves between axes. For a wearable, even a loose strap can change the trace without changing the intended action. Accelerometer example

A window retains the rhythm

One instantaneous reading can occur during a wave, a pickup or a bump. A short series preserves repeated changes. Edge Impulse’s motion tutorial slices three-axis recordings into windows and computes spectral features before classification. Window length trades response time for context: a two-second window includes several changes but must first fill with data. Windowing and spectral features

A score becomes an event in the sketch

An overlapping window classifier can produce several high scores during one wave. The proposed output handler emits one event when wave scores stay high and rearms only after the scores fall again. Thresholds belong to this application; the sensor and inference SDK do not decide how many notifications an action deserves. Implement the event rule

The most revealing negative example

Wave-like acceleration also appears while adjusting a sleeve or picking up an object. An idle-only negative set makes the first demo easier than the intended task. Include carrying, mounting and incidental motion, and withhold complete people and sessions before preprocessing to avoid near-duplicate test windows. Measure false triggers

Primary sources

Arduino · SimpleAccelerometer, library 1.2.4 Edge Impulse · Nano 33 BLE Sense, Rev1 and Rev2 Edge Impulse · Motion recognition tutorial