Real-life BMO
An AI companion styled as BMO runs on a Raspberry Pi 5 with an animated face, voice chat and YOLO11n object recognition.
- Hardware:
- Raspberry Pi 5, camera, display, case
- Difficulty:
- Intermediate
- License:
- CC-BY-NC-SA-4.0
- Creator:
- ivegotanheadache
Adventure Time's BMO on a Pi 5: it talks, sees objects and pulls faces
What it does
An AI companion styled as BMO runs on a Raspberry Pi 5 with an animated face, voice chat and YOLO11n object recognition. The optional local Mistral model runs on a separate PC. Face and voice recognition are in progress.
- Plays BMO from Adventure Time: its prompt begins "You are BMO from Adventure Time. You are cute, lively, and always kind."
- The creator calls it a local AI companion on a Raspberry Pi 5, rebuilt from scratch from an older Pi 3 project; it can recognise simple objects and talk to you.
- Animated face on the screen: the green set has all five expressions (happy, angry, annoyed, blushed, surprised).
- The pink set has only two expressions (happy and annoyed).
- Six mouth-shape images (phonemes 1–6) in the green set…
- …and six in the pink set.
- The README says you will hear BMO with a British accent, a voice the creator finds very similar to BMO’s; any other voice can be installed.
- Talks in English, Italian or Spanish (set in config.json).
What you need
- Skill level
- Intermediate
- License
- CC-BY-NC-SA-4.0
Parts
- Raspberry Pi 5
- Official Raspberry Pi Active Cooler (Creator: make sure it's the official ACTIVE one)
- IMX219 camera with Pi 5 flat cable (IMX219 is the 8 MP sensor in Camera Module v2)
- 7-inch display compatible with Raspberry Pi (Model not named)
- Lavalier microphone with USB adapter (Reused one the creator already owned)
- Speakers (Model not named)
- BMO Switch case (Not linked in the repo; the creator's case is pink)
- Our suggestionPower supply for the Pi 5 (Not listed by the creator; the official 27 W USB-C is the standard choice (our note))
- AI model or service
- Mistral 7B (on a separate PC), OpenAI API, YOLO11n
- Accounts needed
- OpenAI API key
Prices, notes and sources: Parts and requirements
Parts and requirements
| Part | Spec / notes | Needed | Price |
|---|---|---|---|
| Raspberry Pi 5 | Price is for the 4 GB model | Required | $130.00Adafruit, checked |
| Official Raspberry Pi Active Cooler | Creator: make sure it's the official ACTIVE one | Required | $13.50Adafruit, checked |
| IMX219 camera with Pi 5 flat cable | IMX219 is the 8 MP sensor in Camera Module v2 · Adafruit listing is Camera Module v2 (IMX219) and shows out of stock; Pi 5 needs the narrower 22-pin cable | Required | $29.95Adafruit, checked |
| 7-inch display compatible with Raspberry Pi | Model not named | Required | |
| Lavalier microphone with USB adapter | Reused one the creator already owned | Required | |
| Speakers | Model not named | Required | |
| BMO Switch case | Not linked in the repo; the creator's case is pink | Required | |
| Our suggestionPower supply for the Pi 5 | Not listed by the creator; the official 27 W USB-C is the standard choice (our note) · Our addition, not on the creator's list | Required | $14.04Adafruit, checked |
- RAM: The optional local LLM (Nous Hermes 2 Mistral 7B DPO, Q4_0 GGUF) runs on a separate PC, not the Pi.
- OS: Python venv on the Pi 5.
- OpenAI API key: Unless you run the local Mistral server on a PC, Paid per use
- Optional: a PC on the same network to run the local Mistral API server (llama.cpp-style config, 32k context, 10 threads by default).
- Models to download: Piper voice en_GB semaine medium, Nous Hermes 2 Mistral 7B DPO Q4_0 GGUF (for the PC server), vosk-model-small-en-us-0.15 (already in the repo)
Pi 5 from $130 (4 GB, Adafruit)
Prices: $130.00 at Adafruit (checked )
Steps
- Skill level
- Intermediate
- Time
- No build time stated by the creator.
- Download the Piper voice (and the Mistral GGUF if using the PC server)
- Optional: copy .mistralserver to a PC, install, set the model path, run api_server2.py
- On the Pi: venv, pip install -r requirements.txt
- Edit config.json with the Vosk and Piper paths and the Mistral server URL
- Rename handlers/.env.example to .env and add your OpenAI key
- python3 main.py
Full instructions: View original
How it works
Vosk turns your speech into text on the Pi. The prompt goes to OpenAI, or to a Mistral 7B server on your PC, with automatic fallback, plus whatever YOLO11n currently sees and, if needed, a diary memory lookup. BMO's reply is spoken with Piper while mouth-shape images animate on the screen.
| Layer | Component | Runs on |
|---|---|---|
| Speech to text | Vosk (vosk-model-small-en-us-0.15), offline | Pi 5 |
| Speaker recognition (in progress) | Vosk speaker model vosk-model-spk-0.4 with known_voices.json | Pi 5 |
| Language model | OpenAI, or a local Mistral 7B server on your PC; automatic fallback between them, default set in config.json | Cloud or PC |
| Memory | Diary RAG with sentence-transformers all-MiniLM-L6-v2 | Pi 5 |
| Vision | YOLO11n Objects365 NCNN model (yolo11n_object365_ncnn_model), confidence 0.3 | Local NCNN model file |
| Text to speech | Piper TTS, en_GB semaine medium voice | Pi 5 |
| Face | Expression and mouth-shape (phoneme) images shown full-screen | Pi 5 |
Setup effort
- Skill level
- Intermediate
- Time
- No build time stated by the creator.
Moderate: Python venv, pip install, download a Piper voice, edit config.json paths, add an OpenAI key, run main.py. Optional second setup on a PC for the local Mistral server.
Limits and caveats
- Work in progress: face and voice recognition, and the ability to play games with you, are still being built.
- Without the PC server it relies on the paid OpenAI API; the language model never runs on the Pi itself.
- The README covers software only: no case files, wiring or assembly guide.
- Licence is CC BY-NC-SA 4.0 (non-commercial), not an open-source software licence.
- Small project: 33 GitHub stars, last push 2026-02-26.
Like this build? Get the weekly builds
Every Thursday: the 5 best gadget hacks you can copy. Free.
Built something? Submit a build
Things you can say or do
- Talk to it: speech is transcribed offline by Vosk (small English model, bundled in the repo) and answered in BMO's cheerful personality, written into memories/whoami.yaml.
- Ask about something from the past (the prompt's own example: "BMO, do you remember what we drew together last Tuesday?"). An agent decides whether to search BMO's diary memory before answering.
- Show it objects: what the camera detects is passed into the reply prompt as context.
- Switch the face colour (pink or green) and language in config.json.
Use-case ideas
- A voice assistant on a Pi: the README presents the project as an RPi voice assistant with OpenAI or Mistral.
- A base for other agents: the README says BaseHandler makes it easy to extend to other APIs and build multi-purpose agents.
- Will play games with you once finished; the creator is still working on it.
- Our suggestionA character companion for a fan of the show, or a teaching project for local speech and vision on a Pi.
Hardware
- Raspberry Pi 5
- camera
- display
- case
Credits and links
- ivegotanheadache: Creator: code and face images
- License: CC-BY-NC-SA-4.0
This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.
Featured? Add this badge
Built this? Paste the badge into your README. It links back to this page.
Markdown
[](https://hardwarelab.dev/projects/bmo-pi/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/bmo-pi/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>Related builds
All 44 in Voice Assistants & CompanionsDaedalus voice terminal
An ESP32 voice terminal for a home AI running OpenClaw.
- ESP32
- mic
- speaker
- +2 more
Intermediate
LilL3x
A modular Pi desk sidekick that starts the conversation when it sees you.
- Raspberry Pi 4 Model B
- Seeed ReSpeaker 2-Mics Pi HAT
- Pi Camera
- +2 more
Beginner7

Trusty
A Pi 5 voice assistant whose conversations never leave the room.
- Raspberry Pi 5
- mic
- speaker
Intermediate13
TrooperAI
Low-latency local voice assistant with LEDs and gestures.
- Raspberry Pi 5
- LEDs
- gesture sensor
Intermediate32
Caption appliance for a deaf father
A Pi touchscreen that captions phone calls and room conversation.
- Raspberry Pi 5
- 10in touchscreen
- Fi3001A telephone recorder
- +1 more
Intermediate132
Sources
- github.com/ivegotanheadache/BMO/blob/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/memories/whoami.yaml#L5
- github.com/ivegotanheadache/BMO/blob/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/README.md?plain=1#L3-L11
- github.com/ivegotanheadache/BMO/tree/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/images/green/faces
- github.com/ivegotanheadache/BMO/tree/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/images/pink/faces
- github.com/ivegotanheadache/BMO/tree/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/images/green/phonemes
- github.com/ivegotanheadache/BMO/tree/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/images/pink/phonemes
- github.com/ivegotanheadache/BMO/blob/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/README.md?plain=1#L73
- github.com/ivegotanheadache/BMO
- github.com/ivegotanheadache/BMO/blob/main/memories/whoami.yaml
- github.com/ivegotanheadache/BMO/blob/main/main.py
- github.com/ivegotanheadache/BMO/blob/main/config.json
- github.com/ivegotanheadache/BMO/blob/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/README.md?plain=1#L14
- github.com/ivegotanheadache/BMO/blob/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/README.md?plain=1#L21
- github.com/ivegotanheadache/BMO/blob/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/README.md?plain=1#L12
- github.com/ivegotanheadache/BMO/blob/main/handlers/stthandler.py
- github.com/ivegotanheadache/BMO/blob/main/rag_diary.py
- github.com/ivegotanheadache/BMO/blob/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/handlers/camera.py#L35-L52
- github.com/ivegotanheadache/BMO/tree/ad02a27b0ede134ebb1c2a4ec5b22b192a253fed/images
- github.com/ivegotanheadache/BMO/blob/main/LICENSE
- api.github.com/repos/ivegotanheadache/BMO