Mauro: Wearable Companion Robot
I designed Mauro, a wearable companion robot that turns to greet people who tap an NFC badge, along with the firmware and on-device software that make him move and speak.
- Creo
- Jetson Orin Nano
- ROS 2
- XIAO RP2040
- Piper TTS
- CLIP
- Bluetooth LE
The Idea
Mauro is a roughly 120 mm chibi robot character worn on a backpack shoulder strap. When someone taps an NFC badge, he turns to them, tracks them with his eyes, and speaks a greeting that combines their name with a live observation of how they look. It is a mechanical design project first, with a full embedded and machine learning stack behind it.
Compute and Perception
Everything runs on a Jetson Orin Nano Super (8 GB, with a 512 GB NVMe) in MAXN_SUPER mode on JetPack 6.2.2, under ROS 2 Humble, with no cloud inference. Isaac ROS with NITROS is planned for Tier 1, and jetson-containers with TensorRT-LLM for Tier 2. Identity is deterministic: the NFC tag supplies a UID, and the name comes from a local people file or a phone registration. Vision is used only for the observation and never to identify anyone, so there is no face recognition of strangers.
Perception is tiered so he always has something to say. Tier 0 is an NFC template. Tier 1 uses CLIP (ViT-B-32), which measured 321 ms and 627 MB of GPU memory, so I locked it in. Tier 2 is a free-form vision-language model (VILA1.5-3b). It works, but it peaks at 98.4% of RAM and needs about 3 GB of swap, and the smaller supported models did not help. That decision is still open: ship Tier 1 only, or find a TensorRT Edge-LLM path for Tier 2.
Speech uses Piper TTS with a northern English male voice at 1.2x speed. The output is safety-filtered with a curated fallback, so he is never silent or unsafe, and the mouth servo follows the speech amplitude. The decision logic lives in a pure-Python core with no ROS or hardware imports, so it can be tested anywhere.
Actuation and Firmware
All seven servos sit in the head: two MG996R servos for neck pan and tilt, and five MG90S servos for the eye gimbal, eyelids, and jaw. A XIAO RP2040 drives all of them with PIO PWM, and the Jetson talks to it over a framed UART protocol.
That link passed a soak test with no missed frames and a maximum round trip of 3.9 ms. Getting there took a custom device-tree overlay to work around a JetPack 6.2.2 receive DMA bug. The firmware handles easing and a sleep mode that detaches the servos, and it flashes from the Jetson with arduino-cli. Power comes from a 15 V USB-PD trigger feeding a Pololu D24V50F5 regulator, which supplies 5 V.
Mechanical Design
I modeled the head, neck, and body in Creo. The neck pans on a printed, preloaded tapered-roller bearing, direct-driven by an MG996R hung below the foot. Tilt is a four-bar linkage with a 5 mm steel hinge shaft in two MR85ZZ bearings, with a range of -35 to +25 degrees. The head has a 54 mm interocular distance, and the eye gimbal is a tie-bar and carrier mechanism that sweeps pitch -30 to +20 degrees and yaw ±30 degrees with zero collision volume.
The shell is a front and a rear face panel joined by a tongue-and-groove seam and screwed to the chassis from the outside, with a moving jaw (0 to 18 degrees) driven by an MG90S. The body is a skirt, a tray, and a sole, with the cable route running through the neck plate to the sole.
He mounts through a bolted bracket into a reinforced shoulder strap, with a separate paracord safety tether on its own load path. A geometry check showed he only pans freely if he sits far enough out from the neck. Load-bearing parts are nylon, PAHT-CF, or PETG with extra perimeters, and the cosmetic shell is PLA. Verification scripts check every part pair across the tilt range and render the exploded views, and the audit of the generated parts reports no failures.
Sizing and Print Parameters
I sized the neck by first-principles hand calculation. The 2:1 four-bar cut the neck-tilt servo load to 20% of stall torque, which leaves room for a mechanism worn on the body.
To set the neck print parameters, I ran a full three-factor, two-level factorial design of experiments on 24 ASTM D638 Type IV tensile coupons and computed the main effects in Python. Infill turned out to be the dominant factor, and isolating it raised the printed-part peak tensile load by 60%.
The Companion Link
The convention venue has no reliable wifi, so the phone connects over Bluetooth LE, using a documented protocol (v1.2). On the Jetson that means a SQLite tap log in WAL mode with rotating backups, a registration overlay kept separate from the people file, command tags for flagging people, and a BLE peripheral that talks to BlueZ through dbus-fast and bonds through a pairing window. The iOS side is a Swift package, MauroCore, which is tested on Linux, plus a SwiftUI and CoreBluetooth interface, MauroUI.
Four test suites cover the Python core (72 tests), the BLE layer (99), the companion code (159), and the Swift package (61), and they pass. They run against fakes, though. Nothing has run on the real radio yet, and MauroUI has not been compiled yet.
Status and Open Risks
Mauro is still a prototype. Two risks are open. The first is Tier 2 memory headroom, which gets worse once tracking and everything else run at the same time. The second is dynamic loading from walking, which is untested for the printed bearing and the strap mount. I found no published precedent, so the plan is to measure it with a phone accelerometer.
Still ahead are validating the BLE link on real hardware, the first Mac build of the iOS app, printing the jaw and the XIAO holder, and adding firmware soft limits.
What I Learned
- Keeping identity deterministic (an NFC UID plus a local lookup) takes vision out of identification entirely, which is simpler and safer than recognizing faces.
- Measure before you trust a number: the geometry check showed he only pans freely if seated far enough out from the neck, and with no published precedent for walking loads on a printed bearing, the plan is to measure it with a phone accelerometer.
- Small toolchain details cost real time: in the RP2040 core, attach(N) takes raw GPIO numbers, not the XIAO D labels, so the D-macros are the only safe way to name a pin.
Let's make something amazing.