Companion One: a desk robot that answers to its own name

A desk companion I built for my daughter: a screen face, a head that turns and tilts, a wake word trained on her own voice, and records kept at home.

A pink desk robot with grey ears, a screen for a face and a head that turns and tilts on a teal neck
Difficulty
Advanced
Parts cost
About A$270 to A$380 in parts from Australian shops, plus a home server
Build time
Several weekends to build, then weeks of tuning
Skills
3D printing, Soldering, Linux command line, Python, Home Assistant

The photo is unit 001, called Sophie. The face on its screen is an AI-generated character.

The problem

My daughter wanted something on her desk she could talk to that wasn’t a phone or a tablet. I wanted it on my terms: my server, my rules, a spending limit, no camera, and a page where I can read every word it says to her.

So we built one. It’s a small 3D-printed robot about the size of a bedside clock, with a video face, a head that turns and nods, a voice, ears and a soft glow. It’s called Sophie. She says “Hey Sophie” and it talks back as a friendly character with its own personality. I’m calling the design Companion One, because the plan is that anyone can name their own.

I designed the software with Claude’s help over November 2026. This guide covers how it works and what it’s made of. The code and print files aren’t published yet.

How it works

How Companion One answers The robot on the desk hears its wake word and sends the child's voice over the home network, or a private link when away, to the home server. The server turns the speech into text, adds the parent's rules and what it remembers, and sends only that text to an outside AI service, which can also search the web. The reply comes back, is turned into a voice on the home server, and goes back to the robot with a face and a head move. At home, the server can also ask Home Assistant and Music Assistant to switch a light or play a song on the robot. The robot on the desk Screen face, two head servos, glow, two microphones, speaker, touch pad. Listens for its own name. voice in voice, face, move The home server Turns speech into text Adds the parent's rules and its memory Keeps every chat for the parents' page Spending cap: US$20 a month Turns the reply into a voice Records, rules and memory stay here. at home only text only Home Assistant + Music Assistant lights, songs on the robot's speaker Outside AI service writes the answer, searches when needed Away from home, the robot reaches the server over a private link (Tailscale).

The robot itself is the face, the voice and the ears. It runs on a Raspberry Pi Zero 2 W, a small single-board computer. It plays short video clips on its screen for the face, moves its head with two hobby servos, and listens with two microphones for its own name. It doesn’t do the thinking.

The thinking happens on our home server, a mini PC. When the robot hears its name, it sends what was said to the server. The server turns the speech into text, adds the rules I’ve set and what it remembers about her, and sends that text to an outside AI service to write the answer. The answer comes back, the server turns it into a girl’s voice (with Piper, a free voice engine that runs at home), and the robot says it with a face and a head move to match.

Because we run Home Assistant at home, the server can also switch a light or play a song on the robot’s own speaker through Music Assistant. That only works at home, and some things are off limits to it.

Where the words go. Her speech is turned into text on our server. To answer, that text is sent to outside AI and search services, and the answer comes back to be spoken. The conversation records, the rules and the memory are kept on our server.

What it does today

Everything here is built and tested on the real robot.

  • Face: 12 short expression clips (happy, laughing, cheeky, shy, sad, sleepy, cross and so on). The mood follows the conversation. The character was made with an AI video tool, so the face is AI-generated.
  • Head: turns about 85° each way and tilts. It nods, shakes, leans in and looks left or right when asked.
  • Its own name as the wake word: “Hey Sophie” or “Hi Sophie”, trained for this robot and then retrained on her own voice.
  • Answers back: after it answers, it keeps listening for about 6 seconds so she can reply without the wake word. It stays quiet for the TV and for grown-ups talking.
  • Looks things up: weather, sport, facts. The AI decides when a search is needed.
  • Remembers: everyday facts she tells it go on a family list we can see and edit, and it keeps a short diary line about each chat for 10 days. It never saves secrets, worries, feelings or health.
  • Story time: it joins her story-writing app as a character, and “read me a story” reads back her latest one.
  • Music and the house, at home: “play YMCA” finds the right song and plays it on the robot’s speaker. Lights and a few other things in the house work by voice too.
  • Day and night: a clock when nobody’s around, dark at night, awake when someone sits in front of it (a laser distance sensor) or pats its head.
  • A quiet button turns listening and talking off.
  • Parent controls: the content rules, a US$20 monthly spending cap, and a parents’ page that shows every chat, every search and every remembered fact. I can also send it a message to say out loud.
  • Take it anywhere: at a new place it shows a QR code on its face. Scan it with a phone, pick the WiFi, done. It reaches the home server over a private link (Tailscale), even on a phone hotspot.
  • Show-off routine: “show them what you can do” runs a fixed routine of about a minute: a hello, head moves, faces, a joke, a live fact looked up on the spot and ten seconds of a song. No AI writes it, so it’s the same every time, and the words are a text file I can edit.

What it isn’t: it doesn’t work without the home server and the internet, and it has no camera.

What you need

Prices are what the parts cost from Australian shops in November 2026, as a range across a few shops. They’re about half that from AliExpress, with longer waits.

Part About
Raspberry Pi Zero 2 W and a 32 GB card A$38 to A$54
Small HDMI screen (about 3.2 inch) A$50
PCA9685 16-channel servo board A$22 to A$32
Two MG90S metal-gear servos (turn and tilt) A$28 to A$43
MAX98357A amplifier and a 3 W speaker A$20 to A$25
Two ICS-43434 microphones A$23 to A$30
About 20 cm of WS2812B LED strip (the glow) A$19 to A$32
TTP223 touch pad (head pat) and a push button A$7 to A$11
VL53L1X laser distance sensor A$21 to A$33
USB-C socket and a 5 V 3 A plug pack A$23 to A$32
Wire, screws, heat-set inserts, feet A$15 to A$25
About 300 g of filament A$7 to A$10
Total about A$272 to A$379

You also need a home server for the thinking. Ours is a mini PC we already had. A new one with 16 GB of memory is about A$250 to A$450. Running it costs AI credit: about US$0.001 to US$0.01 per answer, and about US$0.02 when it searches the web, all inside the monthly cap.

Watch for: the Pi Zero 2 W often has a one-per-customer limit, MG90S servos can have a wait, and the ICS-43434 microphone is discontinued (the SPH0645 is the usual replacement, untested here).

It runs from a USB-C plug pack. No battery, no mains wiring inside.

How it went together

Printing. The body is printed in pink, with a teal neck ring and grey ears, on an Elegoo Centauri Carbon. The head turns and tilts on the two servos inside the neck.

Wiring. Everything runs off the Pi’s pins: the servo board, the distance sensor (both on the same two-wire bus), the amplifier and the two microphones (both on the Pi’s digital sound pins), the LED strip, the touch pad and the button. The screen plugs into the Pi’s mini HDMI. Power comes in on the USB-C socket.

The face. Twelve clips of one original character, each a few seconds long, made from one master picture with an AI video tool. The robot plays them straight to the screen with a video player rather than a web browser, which uses about 140 MB of memory instead of about 470 MB on a Pi with only 512 MB. A clip change takes about 0.15 s.

The wake word. I trained a small wake-word model for “Hey Sophie” on made-up voices first. It woke for 0 of 6 of her real recordings. Retrained with her own recordings mixed in, it woke for 6 of 6, with false wakes no worse than before (3 in about 140 near-miss clips). Her recordings stay on our server and are never published.

The voice and the brain. The server side is a small Python program: it takes the text, adds the rules and her memory, asks the AI service, picks a face and a head move to match the answer, and sends the voice back. From the end of her sentence to the first spoken word is about 1.1 seconds.

The parents’ page. A private web page on the server shows every conversation, every search and every remembered fact. I set the rules and the cap.

Testing it. A 3-hour overnight run: everything stayed up, the Pi sat between 47 and 57 °C, and there were no power warnings.

Lessons learnt

A wake word trained on grown-up voices doesn’t hear a child. The first model woke for none of her real recordings. Training it again with her own voice mixed in fixed it completely. If you build one, record the person who’ll actually use it.

“Look right” only ever turned left. There was no left or right move, so the AI picked the nearest one, “look away”, which always went the same way. I added look left, look right and look around, plus a test that checks the robot’s list of moves and the server’s list match, so they can’t drift apart again.

Music Assistant’s volume isn’t a straight line. At 20% and at 60% we heard nothing from the robot’s speaker. Her 0 to 100 now maps to 60 to 100%.

It forgot a plan it was told an hour earlier. The chat was wiped after 10 quiet minutes, and the memory only kept lasting facts. Now each finished chat leaves a one-line diary entry with real dates, kept for 10 days.

A pause in the first instant of playback doesn’t hold. The show-off routine loads its song early so there’s no wait. Pausing it straight away didn’t stick, and the song started too early. Now it loads with the volume at zero and turns it up when it’s time.

After every WiFi change the speaker came back “off”. That would have skipped the song the first time the robot was shown somewhere new. Now it wakes the speaker, waits for it, and remembers the last volume.

Never pipe a file back into itself. I changed a setting with a command that read a file and wrote it back through sudo tee in one go. tee emptied the file before it was read, and the face was down for 15 seconds. Write to a temporary file, check it, then put it in place.

Want one?

The guide above is free. If you'd rather not build it yourself, tell me which of these you'd want:

What would you want?

Nothing is on sale yet and no money is taken. Tell us what you'd want and we'll email you when it's ready.

Do you run Home Assistant? (optional)

Only Nick sees this. Your email is used only to write to you about Companion One. To come off the list, reply "remove" to any email, or write to hello@spannerandbyte.com.

After help with your own Home Assistant instead? See services.

Questions and comments

Loading comments…

    Your name and comment show publicly. To stop spam, a scrambled code made from your internet address is kept, never the address itself. Comments with links wait for a quick check before they show. Be decent: I'll remove anything that isn't.