Google Experiments have released a ‘Teachable Machine’ interface for Arduino. It specifically works with the Nano BLE Sense board as it has many on-board sensors alongside the capability to run Tensorflow Lite models on the physical microcontroller.
7414-TMT_16x9_POV_2021_0513_v_002.mp4
<aside> 💡 We can follow the guided steps to train some gestural movements.
Finger User Interface by Google Creative Lab - Experiments with Google
Mapping Dance by Eduardo Padrón - Experiments with Google
Google’s Tiny Motion Trainer is a very powerful interface for training gestural data. However, it only captures the data (much like Teachable Machine) and if you want to do more with it you need to transfer the model data to other tools. There are a few directions you could go next after training the data.
<aside> 🔥 This template allows you to stream your trained model data back into P5JS so you can generate graphics, audio, etc with your data. It is also a helpful visualisation tool.
</aside>
In order to stream the trained data into P5JS we need to format the serial messages in Arduino. This template does this for you.
To make it work with your trained data follow these steps.