🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    小豆丁 (xiaodouding) — an LLM pixel pet that lives on the Cardputer

    Scheduled Pinned Locked Moved PROJECTS
    1 Posts 1 Posters 19 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      huaspirit
      last edited by

      Hi everyone! I turned my M5Stack Cardputer into a little AI pixel pet — and open-sourced it (Apache-2.0).

      小豆丁 — across 10 scenes

      ▶ Try it right now in your browser (no hardware needed): https://huaspirit123.github.io/xiaodouding/ — the pet roams the 10 scenes with a real clock & live weather.

      What it does

      • 💬 Chats with memory — an LLM brain (DeepSeek by default, any OpenAI-compatible endpoint works) running on your PC; it remembers facts about you across sessions.
      • 🎙️ Voice — hold a key to talk (streaming speech-to-text), and it talks back (TTS), all device-direct via DashScope. Push-to-talk up to ~1 minute.
      • 🌆 A little life — it roams a "pixel holographic workstation" across 10 day/night scenes (studio / living room / bedroom / city / desert / grassland / ocean / snow / forest / space), switching indoor scenes by time of day, and reacts to your messages with moods.
      • ⏰ Real info on screen — live clock, real local weather (open-meteo, auto-located), WiFi signal bars — animated continuously on the ESP32-S3's second core so it never freezes.

      Tech

      • Original Cardputer (ESP32-S3, no PSRAM). Firmware in PlatformIO (C++ / M5GFX).
      • Node/Express "brain" on your LAN (keeps API keys off the device, holds memory).
      • Device-direct voice (DashScope) + weather (open-meteo).
      • Optional: run it alongside other apps via bmorcelli/Launcher (it's a normal app you can exit back to the menu).

      The bundled character is an original generic mascot ("Pixel Buddy") — and it's a bring-your-own-character design: drop in your own 64×72 sprite sheets and it's your pet.

      Live demo (browser): https://huaspirit123.github.io/xiaodouding/
      Code + build instructions (Apache-2.0): https://github.com/huaspirit123/xiaodouding

      Feedback, scenes, and sprite-art PRs very welcome. Have fun! 🤖

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post