Why
XL-Duck, the walking robot I built for my son, has pinch points, so it isn't safe for a toddler to touch. I wanted to make one he can actually play with. Popm is that robot: small, round, slow, and safe to grab, poke and sit next to, with enough personality that he wants to. How it stays safe is below.
The name comes from him. While I was designing the robot, he came into my room, so I sat him on my lap and showed him the CAD model. He immediately said "po bm", and that was its name.
Safe by shape
Most of the safety is in the geometry, so it doesn't depend on software working:
- No neck. The head is a sphere sitting in a spherical bowl in the body. Pan and tilt servos cross at the sphere's centre, so the gap between head and body is a constant 1 mm at every angle. Nothing can get pinched as it turns (±90°) and nods (±19°).
- Every moving gap is tiny. The head turns with a 1 mm gap all round, and the body sits 5 mm off the floor, so moving parts can only rub, never pinch. No hole on the outside fits a fingertip, and the eye windows aren't holes at all: the screens sit right behind them.
- Hidden wheels. The body skirt sits 5 mm off the floor, so fingers can't reach the wheels.
- Dead charge port. The XT30 charge port has a Schottky diode in its lead, so its pins carry nothing unless a charger is plugged in.
- Slow and soft. Wheels are capped at 160 mm/s and the head at 110°/s, servo torque is limited, and the wheels stop as soon as it's lifted.
Try it
Every animation the robot plays, on its 3D model in your browser: the eyes as the OLEDs draw them, plus the head and wheel moves. Pick one below the model and drag to look around.
Easier on a big screen: open the viewer on its own.
Specs
- Body
- 170 × 167 mm egg, 3D-printed PLA, no supports needed
- Servos
- 4× Dynamixel XL430: 2 wheels, head pan, head tilt
- Head
- Pan ±90°, tilt ±19°, 1 mm constant gap to the body
- Wheels
- Printed hubs with O-ring tyres, max 160 mm/s
- Brain
- ESP32 on a Waveshare bus servo driver board
- Eyes
- 2× 128 × 64 OLED behind clear covers
- Sensors
- GY-521 IMU, plus the servos' own position and load
- Sound
- MAX98357A amp, 3 W speaker behind a grill
- Power
- 3S 18650 pack with BMS, diode-protected XT30 charge port
- Remote
- Phone page served by the robot over its own Wi-Fi; updates over the air
Personality
Popm has 37 keyframed animations that move the eyes, head and wheels together: happy, curious, shy, peekaboo, giggle, dance, dizzy and more. It plays a wake-up animation when it's switched on and snores when its battery is flat.
Every animation has its own little synthesized sound, and the sounds go through one of six voices: robot, squeaky, deep, warbly, birdy or buzzy. Changing the voice changes how the whole robot sounds.
Reflexes without extra sensors
There are no touch sensors or bumpers. Everything it feels comes from the servos it already has and one IMU:
- Pats and pokes. The head servos report their load and position. A pat on the head or a push to one side shows up there, and Popm reacts: it leans into a pat, or flinches from a poke.
- Bumps. It knows it hit something when a wheel stalls, when the wheel load rises above the floor's normal rolling load, when the IMU feels a jolt, or when the gyro disagrees with the wheels: a turn that doesn't happen, or a straight run that swings.
- Being handled. The IMU tells it when it's lifted, put down, tipped over or shaken, and each gets a reaction.
- Tired. As the battery runs low it gets sleepy, and when it's flat it snores.
Roaming, with Bach
In roam mode Popm explores on its own. It tracks where it is from the gyro heading and the wheel encoders, and builds a map of 5 cm cells from what it bumps into. Walls in a room are mostly at right angles, so it works out the room's angle from its bumps and snaps new bumps onto the walls it already knows, correcting its own position by the same amount. Then it heads for cells it hasn't visited yet.
While it roams, it plays Bach on a little music-box synth, with a different timbre per voice: music box, flute, clarinet or reed organ. The playlist includes the Goldberg Variations, the Gavotte en Rondeau, a Bourrée from the fourth cello suite, the Prelude in C and eight four-part chorales.
Scores from the Mutopia Project (Goldberg Variations and Gavotte en Rondeau CC BY-SA 3.0, the rest public domain) and the chorales from Craig Stuart Sapp's digital edition of the Bach chorales (CC BY-NC-SA 4.0).
Phone remote
The robot runs its own Wi-Fi access point and serves a control page to a phone. One joystick drives it, the other moves the head. Buttons, grouped by mood, play the animations. The page also has voice, volume, mute, a music picker and the roam switch, and it shows a live map of the walls, the explored area and roam's next plan, plus a readout of what the robot just felt. New firmware goes on over the same Wi-Fi.
Firmware
Popm can run one of two firmwares. To switch, download one on your phone, join the robot's Wi-Fi and send it from Settings → Firmware on its page.
- Drive: the one described above. Joystick, animations, songs and roaming.
- Creature: no joystick. It lives on its own, shows its feelings on its face and reacts to touch.
What's next
- Publish the CAD, code and build guide.
- Move onto its own board, the Baunuri HAT: one PCB in place of the servo board, IMU, amp and buck converter. It's built and its first tests pass; the servos, IMU and eyes still need porting.
- A camera in the chest (an ESP32-S3 board with a lens behind a 5.6 mm hole), so it can find and look at faces.
- Photos and videos of the real robot, and of it with its 1-year-old.