StackChan MAX

A palm-sized desk robot with a face you can swap and a brain you choose. Custom firmware for the M5Stack StackChan.

Change its face

What it can do

  • Wear a new face

    MAX, VOLT or the stock face. Switch from the panel or the robot.

  • Talk through any AI

    Claude, ChatGPT or a free one. Change it on a web page.

  • Play characters

    Up to 8, each with a personality, a voice and a face.

  • Answer to 11 names

    Jarvis, Computer, Hi Stack Chan and eight more.

  • Move when you ask

    It turns its head, changes its lights and plays gestures.

  • Look where it is going

    The eyes lead the head into every turn.

  • Do small jobs

    Weather, reminders, pausing a Pi-hole.

  • Remember you

    Write notes once. It knows them in every chat.

  • Keep time

    A clock, a weather display or a stock ticker on your desk.

Three faces, MAX, VOLT and stock, each shown in six moods: neutral, happy, angry, sad, doubt and sleepy
Six moods on every face. The AI picks the mood and the face decides how it looks. A new face is one C++ class.

Pick the AI

The robot is a microphone, a speaker and a face. The thinking happens on your computer, so you choose who does it.

Paid
Claude, ChatGPT
Free
Groq, Gemini, OpenRouter, Cerebras, Mistral
Yours
Any model on Ollama

Paste a key, tap who answers. It applies on the next thing you say. Keys never go to the robot.

The sign-in page: Claude is answering now, Groq and Ollama are ready, and hearing and voice come from Groq for free

A control panel it serves itself

Open stackchan.local in any browser. No app, no cloud, no install.

The real page, running against a mock robot with demo data.

Built with Claude

I built this with Claude Code, Anthropic's coding assistant. Claude wrote the code. I steered and tested it on the real robot.

  1. I say what I want

    "Give it a Max Headroom face."

  2. Claude writes it

    After reading M5Stack's source first.

  3. Claude checks itself

    A simulator, a mock panel and a fake robot.

  4. I flash the robot

    By USB, then paste the boot log back.

  5. We fix the surprises

    Real hardware always has some.

One catch shaped it all. Claude's computer has no USB port. It can compile and simulate, but never flash. So the repo ships a simulator, a mock server and a self-test.

Make it yours the same way. Open the repo in Claude Code, or any coding assistant, and start it at docs/STATUS.md.

Try it without a robot

No hardware and no API key. Clone the repo, then run either one.

Click around the control panel

git clone https://github.com/pingywon/stackchan-max.git
cd stackchan-max
python3 workshop/portal/mock_server.py --port 8130

Then open http://localhost:8130/

Watch a fake robot hold a conversation

cd server/bridge
python3 -m venv .venv && . .venv/bin/activate
pip install -r requirements.txt
python selftest.py

Needs the system libopus. Ends with "all checks passed".

Have the kit? Build and flash it. There is no prebuilt download.

Honest status

One person, one real robot. Here is what has been seen working and what has not.

Seen on the real robot

  • The MAX face on the screen
  • The control panel
  • The wake word

Built, not yet confirmed on the robot

  • A full spoken conversation
  • VOLT, gaze, live face switching
  • Gestures, weather, Pi-hole
  • Clock, weather and stock screens

Blocked

  • Music from the SD card. The card and the screen share a wire.

The detail is in docs/STATUS.md.