{"schema_version":1,"id":"han0519-desktop-robot-companion","name":{"en":"Cardboard Robot","zh":"用硬纸板、ESP32-S3 和 AI 语音构建的桌面机器人伙伴。"},"summary":{"en":"Cardboard desktop robot on ESP32-S3: AI chat (xiaozhi), persona engine, 52 expressions, NetEase music proxy with QR login, web console","zh":"用硬纸板、ESP32-S3 和 AI 语音构建的桌面机器人伙伴。"},"purpose":"cardboard AI robot","tier":"community","author":"han0519","repository":"https://github.com/han0519/desktop-robot-companion","license":"MIT","shape":"robot","scenes":["ai","games","art"],"boards":[{"name":"ESP32-S3"}],"motion":true,"hardware":{"en":"ESP32-S3. Verify the exact board revision, wiring and power requirements in the upstream build guide.","zh":"ESP32-S3；请在上游构建文档中核对具体板型、供电与接线。"},"notes":{"en":"A cardboard-bodied desk robot built from an ESP32-S3-N16R8 and a pile of common modules: a 128x64 SSD1305 OLED as its face, two SG90 servos for turning and nodding, a WS2812 ring that pulses with the music, an INMP441 microphone, a MAX98357A amplifier, two TTP223 touch pads and two FC-51 infrared sensors that follow a hand. Conversation runs on the Xiaozhi protocol over WebSocket and Opus, woken by saying 你好小智; if the device is not yet activated on xiaozhi.me it scrolls a device code on screen. A persona engine tracks mood, energy, boredom and intimacy, and looks around on its own when idle. NetEase Cloud Music is reached directly, with AES/RSA/MD5 parameters computed on the device and a one-time QR login stored in NVS. ESP-IDF 5.5 builds it.","zh":"用纸壳糊出来的桌面机器人，体内是 ESP32-S3-N16R8 加一堆常见模块：128x64 的 SSD1305 OLED 当脸，两只 SG90 舵机负责转头点头，WS2812 灯环跟音乐节奏亮，INMP441 收音、MAX98357A 放音，两个 TTP223 管摸头摸身，两个 FC-51 红外跟着手走。对话走小智协议，WebSocket 加 Opus，唤醒词是「你好小智」；设备没在 xiaozhi.me 激活时，表情屏会循环显示设备码。人格引擎记着心情、精力、无聊、亲密度四个量，空闲时自己张望、犯困。音乐默认直连网易云，AES/RSA/MD5 参数在设备上现算，扫码登录一次，登录态写进 NVS。固件用 ESP-IDF 5.5 编，网页控制台有八个子页面。"},"readme_excerpts":[{"label":"Display","quote":"OLED 表情屏 (SSD1305 128x64)"}],"images":{"type":"gallery","primary":"https://esp32gallery.com/previews/han0519-desktop-robot-companion/poster.jpg","poster":"https://esp32gallery.com/previews/han0519-desktop-robot-companion/poster.jpg","sources":["https://esp32gallery.com/previews/han0519-desktop-robot-companion/frames/view-001.jpg"]},"media_credit":{"status":"upstream-project-media","creator":"han0519","source":"https://github.com/han0519/desktop-robot-companion/tree/ecab62a63f37e6b0e40a555383bf8727e0a89716","note":{"en":"Screenshots from the upstream README. Code and firmware were not executed. License notices are included.","zh":"来自上游 README 的真实截图；未运行代码或固件，预览包保留许可证声明。"},"reviewed":"2026-10-20"},"preview":{"browser_playable":false,"kind":"media_gallery","label":{"en":"Project screenshots","zh":"项目截图"},"width":960,"height":720,"shape":"square","source_commit":"ecab62a63f37e6b0e40a555383bf8727e0a89716"},"stars":6,"pushed_at":"2026-10-24T09:33:45Z","added_at":"2026-10-20T14:44:01+08:00","urls":{"html":"https://esp32gallery.com/projects/han0519-desktop-robot-companion/","html_zh":"https://esp32gallery.com/zh/projects/han0519-desktop-robot-companion/","json":"https://esp32gallery.com/data/catalog/projects/han0519-desktop-robot-companion.json","markdown":"https://esp32gallery.com/data/catalog/projects/han0519-desktop-robot-companion.md"}}
