WIO Terminal: Catan Die Roll TinyML
Machine Learning in WIO Terminal (Seeed Studio) to recognize shake and roll two die using True Random Number Generator (TRNG) GitHub: debsahu/WIOCatanDieRoll Objective When WIO is shaken it will roll two die signifying a turn on Settlers of Catan board game Die roll needs to be completely random uniform distribution Die roll must happen when device is shook vigorously Hardware WIO Terminal (Seeed Studio) USB-C cable Software WIOImuTap: Uses in-built IMU to look for double tap to roll 2 die using TRNG EdgeImpulse: Upload and train NN using sensor data on Edge Impulse, deployed on WIO with live classification on serial port. Model is included AIShakeDie: Uses in-built IMU to recognize shake using NN from Edge Impulse and rolls 2 die using TRNG Collecting data from WIO & storing on Edge Impulse, training Neural Network on Edge Impulse, Export and deploy TinyML on WIO 1. Collecting data from WIO & storing on Edge Impulse Installing dependencies (Windows) Install Python 3 Install Node.js v14 or higher - install additional Node.js tools or-else install Microsoft Visual Sudio 2015 Open powershell as admin, install edge-impulse-cli npm install -g edge-impulse-cli --force For other OS please follow instructions from here. ...