Train a motion model on the desktop or phone, then run it on the XIAO. Pick how the data gets to this page: SD card, Bluetooth (BLE) or USB serial.
SD card in the computer |
Bluetooth to the XIAO |
USB cable + monitor |
Phone sensor, BLE |
not connected
no XIAO result yet
On the XIAO: sensor → XIAO → neural network → prediction. No computer needed once the model is there.
not trained yet
SD card → computer → train → SD card
Take the SD card out of the XIAO and put it in this computer.
No SD card chosen yet.
Then put the card back in the XIAO and reboot it. No card swapping: use the DESKTOP BLE or DESKTOP SERIAL tab to send the model straight to the XIAO.
XIAO ↔ Bluetooth ↔ computer → train → XIAO
Write mode (page → XIAO):
Close other apps and tabs that use this XIAO, and keep it within a few metres. Windows can be slow to negotiate packet size: the status above shows the packet size in use.
XIAO ↔ USB cable ↔ computer → train → XIAO
This is the only place that opens the serial port. Close the Arduino serial monitor first. Chrome or Edge only.
Text goes to the XIAO menu. Start with ! to send a protocol command, for example !STATUS
Phone = sensor + training interface. Connect the XIAO below to send it samples and models.
Live (g): -
Get-ready delay before a recording (ms):
XIAO axis ax from phone:
ay:
az:
The XIAO reads about +1 g on Z when it lies flat. Phones may report the opposite sign.
Still calibration (only used when normalization is set to "still window" under Advanced):
not trained yet
no phone result yet
learning rate
batch
epochs
validation samples per class
Class names, comma separated (the folder names on the SD card):
How the numbers are scaled before the network sees them:
current mean and std:
Still-window tools (only for "still window"):