Teach a wrist gesture and display its label
Documented workflow with a proposed timer extension. No watch deployment or physical trial has been run by Inside AI.
Device profile · Bangle.js 2 ↗This is a proposed workflow. Follow the linked official setup, then use the checks below to decide whether it works on your hardware.

Equipment and cost
Exact BANGLEJS2, Espruino UK store, checked 17 Nov 2026: £99.60 displayed, £83.00 excluding tax; availability counter 237, with no colour split. This is a snapshot, not a delivery guarantee. For the first gesture project, reuse a BLE-capable computer, supported browser and USB power source; the charging cable is supplied. First-year incremental subtotal = £99.60 watch + £0 reused equipment + 12 × £0 Developer training plan + £0 inference/API usage. It is conditional on the free plan covering this small project and existing equipment being suitable. A new computer/BLE adapter/power source needs a separate quote. Checkout tax treatment may change the displayed amount; shipping, import charges, electricity and labour are excluded. No dock or replacement cable is required. Exact store · Charging and browser requirements · Training plan
First verify the JavaScript connection
Follow the Bangle.js 2 start guide, charge with the supplied cable, choose the correct watch in the App Loader and connect from a BLE-capable computer through the Web IDE. Upload only a short RAM test and confirm the message appears on the screen. If it does not, solve BLE/browser connection and device selection before training. Start guide · Web IDE
E.showMessage('Connected');Collect and train using the official tutorial
Install Gesture Test. Follow the official collection code, upload it to RAM rather than flash/storage, record balanced left/right examples, download CSVs and split one sample per file. Upload those motion samples to your Edge Impulse project. Use the tutorial’s raw-data/classifier path, hold test data apart and export the int8 TensorFlow Lite classifier. Do not assume any model exported by the platform will fit. A new collection session should later be held out entirely, because a random split of adjacent recordings may be optimistic. Official full instructions
Deploy both files and observe the first result
In Web IDE Storage, upload the model as .tfmodel. Upload a comma-separated class-name file as .tfnames, with names in alphabetical order matching the tutorial’s class ordering (for example left,right). Upload the official aiGesture display handler to RAM. Move the watch and observe the console label/raw output and on-watch label. No event, wrong labels or a restart are failures to investigate: check files, label order, supported model operations and memory before adding outputs. The code below is a minimal documented API illustration, not a hardware-validated build. Deployment instructions
Bangle.on('aiGesture', (gesture, raw) => {
print(gesture, raw);
E.showMessage(gesture);
});Proposed extension
Once labels work on a fresh session, map a recognized action to a timer state or short vibration, with a deliberate re-arm action to reduce repeats. BLE label forwarding to a computer/phone shortcut is a further unimplemented integration. Test false triggers before using actions with physical consequences. Robustness experiment