My AI friend · assembly guide · What’s new

Build your own monster

A pocket companion for the «My AI friend» app: it shows a live face, blinks, listens to its button — and talks through your phone over Bluetooth. One evening of work, no electronics experience needed.
The finished monster: printed case, glowing eyes on the OLED, USB-C at the bottom.Illustration 1.
The finished monster: printed case, glowing eyes on the OLED, USB-C at the bottom.

What to buy

Part Where
Seeed Studio XIAO nRF52840
the brain: BLE controller with USB-C and a built-in Li-Po charger. The “Sense” variant works too (that's what the author uses).
seeedstudio.com — XIAO nRF52840 (~$10)
seeedstudio.com — Sense (~$16)
botland.store — XIAO nRF52840
amazon.com — Sense
OLED 0.96" 128×64, I²C, SSD1306
the face. A 4-pin module (GND · VCC · SCL · SDA), often sold as “GM009605”. A 1.3" SH1106 works too — there is a separate firmware build for it.
botland.store — 0.96" I²C blue
botland.store — Velleman VMA438
botland.store — 1.3" SH1106
Li-Po battery 3.7 V, 400–600 mAh
e.g. Akyga 550 mAh (40×30×5 mm). Charged by the XIAO itself over USB-C. Optional: the monster also runs on USB power alone.
botland.store — Akyga 550 mAh
Tact button 6×6 mm + a few wires
the “pet me / talk” button. Any through-hole tact switch.
any electronics shop

Tools: a soldering iron, 3D printer (or a print service), a USB-C cable. Total parts cost ≈ $20–25.

My AI friend · ai-friend.club1 / 4

Step 1 — Print the body

The printed parts laid out: front shell with the eye window, back shell, button cap.Illustration 2.
The printed parts laid out: front shell with the eye window, back shell, button cap.
Note: Compagnon 309 is a third-party case shared by its author for the OLED display; our build mounts a XIAO nRF52840 and runs our own firmware, so the interior fit may need a little trimming or the roomier profile.

Step 2 — Flash the firmware (no tools at all)

1
Download the firmware file: myaifriend-xiao_ble-d9d10.uf2 — for the wiring in this guide (display on the right header). Variants: D4/D5 wiring · 1.3" SH1106 display. Sources and releases: github.com/ceoptrsltd/myaifriend-firmware (MIT).
2
Plug the XIAO into the computer with USB-C and double-tap the tiny RESET button (next to the USB port) — quickly, like a mouse double-click.
3
A flash drive named XIAO-SENSE (or XIAO-BLE) appears. Drag the .uf2 file onto it. The drive disappears — and in a couple of seconds the monster opens its eyes.
Double-tap on RESET → the XIAO-SENSE drive appears → the .uf2 file is dragged onto it.Illustration 3.
Double-tap on RESET → the XIAO-SENSE drive appears → the .uf2 file is dragged onto it.
Flash first, solder later. A flashed monster shows its face the moment the display is connected — so every next step checks itself.
My AI friend · ai-friend.club2 / 4

Step 3 — Connect the display (no crossed wires)

Hold the XIAO with USB up. The right header reads, top to bottom: 5V · GND · 3V3 · D10 · D9 · D8 · D7. The display's four pins land on four neighbours in a row — you can even solder the module straight onto the header:

OLED GND ──── GND OLED VCC ──── 3V3 OLED SCL ──── D10 OLED SDA ──── D9
The OLED module sitting on the XIAO's right header, four pads in a row, straight wires.Illustration 4.
The OLED module sitting on the XIAO's right header, four pads in a row, straight wires.

Step 4 — The button and the battery

Back of the XIAO with BAT+/BAT− pads, red and black battery wires, and the button on D1–GND.Illustration 5.
Back of the XIAO with BAT+/BAT− pads, red and black battery wires, and the button on D1–GND.
Safety: never short the battery wires; charge only inside the assembled monster over its USB-C (the XIAO charges at a gentle 100 mA). Don't leave a bare battery loose in a pocket with keys.

Fit everything into the case: display behind the eye window, button under its cap, battery flat on the back shell, USB-C aligned with its opening. Close the shells.

My AI friend · ai-friend.club3 / 4

Step 5 — Meet your monster

1
Install My AI friend from Google Play and open Settings → “Connect the monster”.
2
The system pairing window finds the monster nearby — pick it. From now on the phone face and the toy face are the same creature.
Phone and monster side by side, a Bluetooth wave between them, both faces smiling the same smile.Illustration 6.
Phone and monster side by side, a Bluetooth wave between them, both faces smiling the same smile.

The button

If something is off

Questions, photos of your builds, ideas: ceo@ptrs.ltd. Show us your monster!

My AI friend · ai-friend.club · © 2026 Peter's Engineering4 / 4