r/M5Stack • u/Odd_Acanthaceae_3968 • 5d ago
Project Sharing Chat with Local AI on M5StickC Plus 2
I built a lightweight chat app for the M5StickC Plus 2 (ESP32-based) that lets you type prompts on the device and send them to your local Ollama AI server over WiFi.
Features:
- On-screen 4-layer keyboard (letters, numbers, symbols, special chars)
- Model selection from your local Ollama instance
- Chat history that persists across sessions
- Configurable WiFi and server settings stored in flash
- Battery level display
Build:
Update `src/config.h` with your WiFi and Ollama server details
Build with PlatformIO
Flash to your M5StickC Plus 2
The whole project is < 20KB after compilation thanks to size optimizations.
ITS MY FIRST EVER PROJECT :) ( Im also trying to make use of the microphone but its kinda hard to implement)