Skip to content
HardwareLab

Stack-chan

Stack-chan is an open-source, JavaScript-driven, super-kawaii robot built with M5Stack.

Hardware:
M5Stack Core/CoreS3, printed shell
Difficulty:
Intermediate · Our suggestion
License:
Apache-2.0
Creator:
stack-chan

Open-source, JavaScript-driven, super-kawaii M5Stack robot

By stack-chan

Demo by Stack-chan · Watch on YouTube

What it does

Stack-chan is an open-source, JavaScript-driven, super-kawaii robot built with M5Stack. The repository provides firmware with M5StackChan CoreS3 as its standard configuration, user applications called MODs, browser development tools, cases, and schematics.

  • Flash firmware from a browser: connect with a data-capable USB cable and open the Web firmware installer in Chrome or Edge, with no Moddable SDK or ESP-IDF to install.
  • Find published MODs and mini apps in the MOD Gallery, and run them in the simulator or install them on a device.
  • Change Wi-Fi and device preferences over BLE, create MODs with Blockly, and arrange eyes and a mouth into a custom face.

What you need

Difficulty
Intermediate · Our suggestion
License
Apache-2.0 (source)

Parts

  • M5StackChan AI Desktop Robot (K151)
  • Data-capable USB cable
  • 3D-printed case (to build the hardware yourself) [optional]

Prices, notes and sources: Parts and requirements

Parts and requirements

PartSpec / notesNeededPrice
M5StackChan AI Desktop Robot (K151) The standard package is enough to get started; the joystick remote controller is optionalRequired
Data-capable USB cable Required
3D-printed case (to build the hardware yourself) Optional

Full build guide

Steps

Difficulty
Intermediate · Our suggestion
  1. Get an M5StackChan (K151)
  2. Flash the firmware with the Web firmware installer, selecting “M5StackChan CoreS3”
  3. Try a MOD from the MOD Gallery

Full instructions: View original

How it works

You flash the firmware from a browser with the Web firmware installer, then find and install MODs from the MOD Gallery or make your own in the block editor. Preferences such as Wi-Fi change over BLE, and MODs can also run in a simulator with the WebAssembly firmware and a 3D model.

LayerComponentRuns on
FirmwareStack-chan firmware and MODs M5Stack, M5Stack Core2, M5Stack CoreS3, and M5StackChan CoreS3
Browser toolsWeb firmware installer Chrome or Edge

Setup effort

Start with a preassembled M5StackChan and the browser tools; no toolchain needed.

Limits and caveats

  • Flashing this repository’s firmware replaces the factory firmware supplied by M5Stack; restore it with M5Burner.

Like this build? Get the weekly builds

Every Thursday: the 5 best gadget hacks you can copy. Free.

Built something? Submit a build

Use-case ideas

  • Send tracked face and hand movement to Stack-chan over BLE with MediaPipe.

Why it's interesting

Stack-chan is an open-source, JavaScript-driven, super-kawaii robot built with M5Stack. The repository provides firmware with M5StackChan CoreS3 as its standard configuration, user applications called MODs, browser development tools, cases, and schematics. Getting started needs no toolchain: connect a preassembled M5StackChan with a data-capable USB cable and flash it from the Web firmware installer in Chrome or Edge, with no Moddable SDK or ESP-IDF to install. From there the browser tools change Wi-Fi and device preferences over BLE, the MOD Gallery lets you try published MODs in a simulator or on a device, a block editor builds MODs with Blockly, and a shape face editor arranges eyes and a mouth into a custom face. To build the hardware yourself, the repository includes case models for 3D printing and schematics.

Source: github.com/stack-chan/stack-chan#readme

Hardware

  • M5Stack Core/CoreS3
  • printed shell

More M5Stack buildsOpen source desk robots: AI desktop robots you can build →

Credits and links

This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.

Featured? Add this badge

Built this? Paste the badge into your README. It links back to this page.

Featured on HardwareLab

Markdown

[![Featured on HardwareLab](https://hardwarelab.dev/badge.svg)](https://hardwarelab.dev/projects/stack-chan/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)

HTML

<a href="https://hardwarelab.dev/projects/stack-chan/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>
  • MOSS

    A modular home robot you can build from parts you already own.

    • Raspberry Pi (optional)
    • depth camera
    Advanced
  • JBR-001

    An Arduino UNO Q desk robot that reacts to what it sees.

    • Arduino UNO Q 2GB
    • USB camera via USB-C hub
    • Modulino Distance/Buzzer
    • +2 more
    Intermediate17
  • DinoDesk AI

    A LEGO desk robot that chats with local Gemma 4.

    • Raspberry Pi
    • LEGO body
    • Pirate Audio LCD/speaker
    • +2 more
    Intermediate13
  • quackd

    One CLI to give every robot an LLM brain and command them as a flock.

    • SO-101 arm on real hardware
    • Microduck and Open Duck Mini v2 in sim or mock
    • six other robot adapters in sim or mock
    Intermediate291