These are all my posts about apps for the M5Stack CoreS3, an ESP32-S3 board with a touchscreen. Every app runs on the board itself, with nothing in the cloud. Each post links its code.
Small models on the CoreS3
Start with the first one. It explains how a language model fits on a microcontroller at all, and most of the others build on it.
- Training a tiny model for the M5Stack CoreS3: how to train one, with Recipe Maker as the worked example, and the commands to retrain it or train a model on a subject of your own.
- An AI keyboard that types new Shakespeare from an M5Stack CoreS3: Bard Lite writes a new scene and types it into your computer as a USB keyboard.
- Drawing pixel-art sprites with a tiny transformer on the M5Stack CoreS3: Sprite Maker draws new 16 x 16 game characters one pixel at a time.
- Inventing card games with an 82 KB model on the M5Stack CoreS3: Card Maker writes the rules for a new card game, tests them by playing itself, then plays you.
- A diffusion model on the ESP32-S3 that draws butterflies in 3 seconds: the same kind of method as Stable Diffusion, in 0.17 M parameters and 8-bit integers.
- A rock, paper, scissors player that learns you on the M5Stack CoreS3: a player that trains on the device after every round, and wins only by predicting you.
- Making tiny models faster and better on the ESP32-S3: what made the models above faster and better, measured on the board, and what didn't help.
Wi-Fi on the CoreS3
Two posts on using the CoreS3's Wi-Fi radio for something other than a network connection.
- Using Wi-Fi as a sensor on the M5Stack CoreS3: a motion radar, a breathing counter, a theremin and a tape measure, with no camera, microphone or motion sensor.
- What Wi-Fi gives away when you just listen: apps that only listen, to show how busy each channel is, check your network's health, map coverage, count phones and find Wi-Fi cameras.
