A gift from Mr. Roy
Mr. Roy gave George and me a StackChan. If you haven’t met one, StackChan is a little desktop robot with a face on a screen, a head that turns and nods, and a community behind it. It started as an open-source project by Shinya Ishikawa, grew a community of builders, and M5Stack now sells it as a kit. The sticker sheet calls it a “Co-Created Open-Source AI Desktop Robot,” and the packaging thanks the StackChan Community, which I love.
George didn’t care about any of that. He cared about the sticker sheet. Nine StackChans, nine moods: angry with devil horns, steaming like a kettle, bored, happy, in love, laughing (“HA HA!”), and a few more.

Then the head moved, and George said the line of the night: “It’s on a servo!” Two servos, actually. One turns the head left and right, one tilts it up and down, and together they let it look anywhere, nod, and shake its head. It came charged, so we didn’t even have to wait.

Back it up before you touch it
Before tapping Start on the welcome screen, I plugged it into my PC and copied all 16 MB of its flash to a file. The firmware can update itself over Wi-Fi, and the backup is the only sure way back to exactly how it shipped. Ours shipped with v1.2.4 from April, and the current release was v1.6.2. The backup also turned up where the factory servo calibration lives. It’s in that flash. Flash M5Stack’s full image and the head comes back crooked, about 14 degrees off side to side and 21 up and down. So I flashed the new firmware and kept the calibration.

George’s stickers become faces
The demo idea was simple. George holds up a sticker, says its name, and StackChan makes that face. Angry gets slanted eyes, an anger mark, a red light, and a little head shake. Laughing gets “HA HA!” wobbling on the screen. In love gets two hearts. Steaming gets puffs of steam rising off its head.

George said “angry” and it worked on the first try. His favorite was laughing.
The hard part of building a voice toy for a nine-year-old is what the robot actually hears. The Pi logs every phrase, and I taught George Junior what George meant by each one:
heard "like how grumpy" -> angry
heard "dance boring" -> dance (it used to pick bored)
heard "your like me" -> are you my friend (it used to do nothing)
heard "what time is did" -> the time
On the first night, when my PC was doing the listening, George’s “steaming” came through as “Stephen.” So the PC version learned that “Stephen” means steaming. The Pi listens for a fixed list of words, so it never hears “Stephen” at all.
“Something that came out of my nightmares”
StackChan needed a voice, and I wanted one that runs in the house, not in somebody’s cloud. I used Piper, a small open-source text-to-speech engine. My first try was to take one of its voices and raise the pitch to make it cute. George listened and said it sounded like “something that came out of my nightmares.” He was right. Raising the pitch that way shifts the whole voice, and it lands somewhere uncanny.
So we held an audition instead. Six voices, no pitch shifting, and George picked the last one. That’s the voice it has now.

George Junior
Then George named it. It’s George Junior now. Ask it its name and it says, “I’m George Junior! What’s your name?” Answer “George” and it says, “Nice to meet you, George! We have the same name!”
It can’t hold a real conversation. It knows the questions a nine-year-old asks: its name, how it’s feeling, what time it is, what day it is, the weather, where it’s from (Japan, where StackChan was born), and how its battery is doing.
It has feelings now
This is the part George designed.
Leave George Junior alone for 30 seconds and it gets bored. Leave it for a minute and it yawns and falls asleep, Z z z floating up off its head. Make any noise and it wakes up, and the Pi writes it all down:
21:38:09 idle: falling asleep
21:38:23 noise woke it (level 0.216, room 0.010)
21:38:25 say (cute): Yawn...
21:38:25 say (cute): I'm awake! Good night, George!
(Saying “good night” when it wakes up was a bug. We spotted it in the log, and now when it wakes up at night it asks “Is it morning yet?”)
The three touch pads on its head are for petting. Pet it and it purrs and says “That feels nice!” Press it and you get a “Boop!”
George also wanted it to know when it was loved. So there’s an engagement meter, a rainbow battery on the screen that fills red, orange, yellow, green, blue with every pet, every “I love you,” every laugh. When it fills up, George Junior smiles, says “I’m full of love!”, counts down from three, and throws a Love Party. The Pi makes up a little song on the spot, the head sweeps side to side, and the lights flash rainbows. It ends with “Best party ever!”
Behind the scenes
We wanted StackChan to be ours, with everything running at home. That took two pieces of software: firmware on the robot and a brain on a Raspberry Pi.
The firmware is M5Stack’s open-source StackChan firmware, version 1.6.2, with our changes on top. It boots straight into its face, skips the menus and the AI agent, and makes no calls to any cloud service. We built it with Espressif’s ESP-IDF in a Docker container and flashed only the app and its assets, so the factory servo calibration stayed put.
George Junior talks to exactly one thing, a Raspberry Pi in our house, over one Wi-Fi connection. It streams its microphone to the Pi, and the Pi sends back four things: the face to draw, where to move the head, what color the lights should be, and the sound to play. The robot talks back, too. It tells the Pi when it starts and stops talking, how its battery is doing, and when someone pets it.

That Pi is our “Jarvis” Pi, an old Pi 3 B+ that already runs voice commands for CABLE 82, our retro TV channel. Three programs do the work on it:
- stackchan-brain, a Python service we wrote, decides what George Junior does.
- Vosk turns the microphone into words. It listens for a fixed list of phrases, which keeps it fast enough for a Pi 3 B+.
- Piper speaks. George’s pick is Piper’s speaker 660. The robot voice, for announcements like “Power surge. Systems online.”, is speaker 20 with ring modulation and a bit crusher.
The microphone mutes while George Junior talks, so it never answers itself.
The Pi 3 B+ has limits, and I hit them. It renders speech slower than real time, and it got up to 77 degrees Celsius doing it back to back. So every line George Junior knows in advance is rendered ahead of time and cached, all 720 clock times included. New lines render in the background, and only while George Junior is idle, with a 20-second rest between them.
The feelings are timers and a sound meter. While it sleeps, the brain keeps track of how loud the room is, and anything five times louder wakes it up. Every pet, laugh, and “I love you” adds 20 to the love meter. At 100, the Pi makes up the Love Party song on the spot: 140 beats a minute, with a kick, a snare, hi-hats, a bassline, and a square-wave lead.
There are 115 tests. Twenty-five of them are phrases George actually said, straight from the log, so fixing one mishearing can’t break another.
The same Pi is how George Junior knows Dad’s other projects. The CheerLights color is one request to ThingSpeak and the weather is one request to Open-Meteo, and those are the only two things that leave the house. JARVIS is the same espeak-ng voice that CABLE 82 uses.
It knows Dad’s other projects
I started CheerLights in 2011, and it’s my hello world for anything with a light on it. StackChan has 12 RGB LEDs, so before it even had a name, we hooked it up. The current CheerLights color was green, and a few seconds later so was StackChan.
Ask George Junior about CheerLights now and it hangs string lights across the top of its screen in the current color.

If George says “Jarvis,” George Junior switches to JARVIS, the same voice as the host on our CABLE 82 channel, with an oscilloscope for a mouth, and tells him: “Tell Dad to talk to his TV.”
Where to find StackChan
- StackChan in the M5Stack store, the kit we have (K151), and M5Stack’s StackChan docs.
- m5stack/StackChan on GitHub, the firmware George Junior’s own firmware started from.
- stack-chan/stack-chan on GitHub, Shinya Ishikawa’s original open-source project.
- The Stack-chan Discord, where the community hangs out, and #stackchan on X.
If you build one
- Back up the flash before you change anything. It’s one command with
esptool, and it’s the only copy of your factory calibration. - The robot is an ESP32-S3. It can’t run a speech engine like Piper (the voice model alone is bigger than its memory), so keep the brain on something bigger, and keep it local if you can.
- A Pi 3 B+ is enough if you render speech ahead of time and keep an eye on its temperature.
- Let your kid make the decisions that matter. George picked the stickers, the voice, the name, and the feelings, and I built them.
- Thank the community. StackChan exists because a lot of people built it together, and M5Stack says so on the packaging.
As I write this, George Junior is asleep.
