M5Stack StackChan

Contents

M5Stack StackChan AI Desktop Robot User Manual

Your guide to setting up, operating, and maintaining your StackChan robot.

Introduction

The M5Stack StackChan is a co-created open-source AI desktop robot designed for interaction, education, and smart home integration. Powered by an ESP32-S3 SoC, it features a 2.0-inch capacitive touch display, a 0.3 MP camera, various sensors, and a highly customizable robot body with servos for dynamic movement.

Diagram of StackChan robot with labeled components and servo axes.
Figure 1: StackChan Robot Overview with Labeled Components and Movement Axes.

This manual provides essential information for operating and customizing your StackChan robot.

Package Contents

Depending on the purchased product bundle (SKU: K151 for StackChan, SKU: K151-R for StackChan Remote Controller Kit), your package may include:

StackChan (SKU: K151)

  • 1 x Carrying bag or box
  • 1 x StackChan unit (with CoreS3 pre-installed)
  • 1 x 50cm USB-A to USB-C Cable
  • 1 x Character expression sticker
  • 1 x Printed user manual

StackChan Remote Controller Kit (SKU: K151-R)

  • 1 x Carrying bag or box
  • 1 x StackChan unit (with CoreS3 pre-installed)
  • 1 x Remote controller (assembled from a Hat Mini JoyC and StickC-Plus)
  • 1 x 50cm USB-A to USB-C Cable
  • 1 x Character expression sticker
  • 1 x Printed user manual
StackChan product box.
Figure 2: StackChan Product Packaging.

Setup

Power On/Off

  • Power on: Short press the power button once (located next to the USB-C port on the left side).
  • Power off: Press and hold the power button for 6 seconds (located next to the USB-C port on the left side).
  • Reset / Reboot: Short press the RST reset button once (located next to the microSD card slot on the bottom side).
Hand holding StackChan, showing the internal components and USB-C port for power.
Figure 3: StackChan with internal components visible, highlighting the USB-C port and power button location.

Mobile App Binding and Configuration

To fully utilize StackChan's AI Agent features, remote video, and other functionalities, you need to bind it with the StackChan World mobile app. The app is available for iOS and Android.

  1. Download the App: Search for "StackChan World" in your device's app store (iOS App Store, Android Play Store, or download the Android APK package).
  2. Account Setup: Open the app, log in, or register an M5Stack account. This is the same account used for UiFlow, M5Burner, and the M5Stack forum.
  3. Power On StackChan: Connect StackChan to a power source via the bottom USB-C port or short-press the power button. The welcome page will appear.
  4. Servo Test: Tap "Start" on the welcome page. Place StackChan on a flat, stable surface without touching it, and tap "Start" again to begin the servo test. The robot will move its head left, right, and up, then return to its initial position.
  5. App Connection: After the servo test, tap "Next" twice in the app. Open the app on your phone and tap "Add a new StackChan". The app will scan for nearby devices broadcasting Bluetooth pairing requests.
  6. Select Device: Choose the device with the same ID (MAC address of the main controller) as displayed on your StackChan screen.
  7. Configure Settings: Follow the app instructions to configure:
    • Device name: A unique name for your StackChan.
    • AI Agent: Set the name the AI Agent uses to refer to itself (e.g., "StackChan"). Custom wake words are not yet supported.
    • Conversation language: Choose your preferred language.
    • AI model: Select the AI model.
    • Voice settings: Adjust voice, speech rate, and pitch.
    • User speech recognition speed.
    • Personality and Memory settings.
    • Wi-Fi Info: Connect to a 2.4 GHz Wi-Fi network (5 GHz is not supported). The app can auto-fill the Wi-Fi name from your phone's current connection.
  8. Restart: After configuration, StackChan will restart, and the binding process will be complete.

Note: If you modify the AI Agent settings in the app after binding, you need to restart StackChan for the changes to take effect.

NFC Setup (Changing Faces)

StackChan supports NFC for quick setup and interaction. You can use the mobile app to change StackChan's facial expressions by tapping your phone to the robot.

Play video
Watch video online
Video 1: StackChan Product Showcase. This video demonstrates various features including AI Agent, Home Guardian, Education & DIY, Social Link, Face Tracking, NFC Setup, and Dance Mode.

As shown in the product video, you can use the app's NFC setup to quickly change the robot's face. Simply select a face in the app and tap your phone to the robot's NFC module.

Operating Your StackChan

AI Agent Mode

In AI Agent mode, StackChan acts as your personal AI assistant. It performs random expressions (blinking, head movements) when idle. You can interact with it using voice commands or by tapping the screen.

  • Wake Word: The default wake word is "Hi, StackChan". You can also tap the screen to initiate a conversation.
  • Voice Interaction Status: The RGB LED on the upper-left side of the device indicates the status:
    • Green: Device is listening.
    • Blue: Device is speaking.
    • Off: Device is idle.
  • Expressions:
    • Swipe vertically on the touch area to trigger a happy expression and motion.
    • Shake the device to trigger a dizzy expression.
    • After inactivity, a sleeping expression will be triggered.
  • Common Voice Commands:
    • General Q&A: "What time is it now?", "What will the weather be like in New York tomorrow?", "Tell me a joke.", "Introduce Isaac Newton.", "Remind me to drink water in ten minutes."
    • Controlling Components: "(Speaker) Set the volume to 80%.", "(Motor) Turn your head to the left.", "(RGB LED) Change your built-in light to blue.", "(Camera) What can you see right now?", "(Battery) How much battery power is left?"
    • Smart Home Integration (via Home Assistant MCP): "Turn on the bedroom light.", "Turn on the air conditioner and set it to 25 degrees.", "What is the current temperature in the living room?" (Requires Home Assistant MCP setup, refer to GitHub guide).

Interface Navigation

After powering on, the screen displays the main menu. You can swipe left or right to switch between different function icons, then tap to enter. Within each function, swipe inward from the top or bottom edge of the screen to show the status bar (network, time, battery level) and the Home button for returning to the main menu.

The main functions include: AI Agent, Avatar, ESPNOW.REMOTE, APP.CENTER, EZDATA, DANCE, and SETUP.

Avatar Mobile Communication

The Avatar feature on StackChan corresponds to the Avatar, Monitoring Camera, Motion, and Dance (Wi-Fi mode) features in the mobile app. When using or switching between these features on the mobile side, keep StackChan in Avatar mode; no additional operation is required.

  • Avatar: StackChan mimics the person in front of the phone, including head movements and eye/mouth position/size.
  • Monitoring Camera: StackChan acts as a camera. Use the on-screen joystick in the app to control its angle.
  • Motion: Control head movement and on-screen expressions. The rotate option enables continuous horizontal rotation.
  • Dance: Choreograph music, movements (rotation angles), and lighting colors.

ESP-NOW Remote Control

This feature enables remote control via the ESP-NOW wireless transmission protocol. StackChan acts as the receiver, while a remote controller (e.g., Hat Mini JoyC and StickC-Plus) or another StackChan acts as the sender.

  • Role Selection: In the remote control feature, select "Receiver" or "Sender" for default control.
  • Advanced Settings: Tap "Advanced" to customize Wi-Fi Channel and Receiver ID.
  • Control: When StackChan is the sender, manually rotating its head will cause the receiver to rotate to the same angle.

Maintenance

Motor Safety

WARNING: Do not forcibly rotate any movable parts connected to the motors by hand when you are unsure whether the motors are powered and under control, as this may cause hardware damage. If you feel resistance when rotating manually, it means the motor is powered and under control. Forcing rotation may cause hardware damage.

Servo Calibration

In cases of abnormal servo behavior, you can recalibrate the servos:

  1. Enter the calibration screen via the SETUP menu.
  2. Gently rotate the device manually to the initial position, with the screen perpendicular to the base and centered between the two "feet".
  3. Tap "Set Current Position As Home".
  4. Verify calibration by gently rotating the device away from the initial position, then tap "Move To Home". If it returns to the initial position, calibration is successful.
  5. Tap "Done" to complete.

Firmware Updates

StackChan checks for firmware updates online when entering AI Agent mode or via the SETUP menu. Updates are automatically downloaded, installed, and the device restarts.

Restore Factory Firmware

If you have flashed custom firmware or need to restore the factory firmware due to issues, use the M5Stack unified flashing tool, M5Burner, on your computer.

  1. Download M5Burner:
  2. Open M5Burner: Search for "StackChan", check "Only Official", and click "Download" to get the latest firmware.
  3. Connect StackChan: Use a USB-C cable to connect StackChan to your computer. It is recommended to use the port on the base to avoid motor movement. Press the power button once to turn on the device.
  4. Enter Download Mode: If the device port doesn't appear in M5Burner, press and hold the RST button for 3 seconds. When the indicator LED turns green, release the button.
  5. Flash Firmware: In M5Burner, click "Burn", select the device's corresponding port, click "Start", and wait for the flashing process to complete.
Screenshot of M5Burner software showing firmware selection for StackChan.
Figure 4: M5Burner Software Interface for Firmware Flashing.

Troubleshooting

BMM150 Magnetic Interference

Magnets may interfere with the BMM150 geomagnetic sensor and cause abnormal readings. If you need to calculate device orientation using geomagnetic data, please avoid placing the device near strong magnetic fields.

If StackChan is not responding or behaving unexpectedly, try the following:

  • Restart: Power off and on the device.
  • Check Wi-Fi Connection: Ensure StackChan is connected to a stable 2.4 GHz Wi-Fi network.
  • Re-bind App: If issues persist with app features, try unbinding and re-binding the device in the StackChan World app.
  • Factory Reset: If all else fails, restore the factory firmware using M5Burner as described in the Maintenance section.

Specifications

SpecificationParameter
Main ControllerESP32-S3, Xtensa® dual-core 32-bit LX7, 240 MHz
Memory16MB Flash, 8MB Quad PSRAM
Wireless Connectivity2.4 GHz Wi-Fi (IEEE 802.11 b/g/n), Bluetooth® 5 LE
InfraredReceiver IRM56384 + Transmitter
Wired ConnectivityUSB CDC & full-speed USB OTG, GPIO, UART, I2C
Display2.0-inch IPS LCD (320x240, 65536 colors, IL19342C driver), Capacitive multi-touch (FT6336U driver)
CameraGC0308, 640x480, 0.3 MP
AudioDual microphones (ES7210 audio codec), 1W speaker (AW88298 16-bit I2S power amplifier)
Sensors9-axis IMU BMI270 + BMM150 (accelerometer + gyroscope + magnetometer), Proximity & ambient light sensor LTR-553ALS-WA, Three-zone touch panel (Si12T driver)
NFCFull-featured NFC ST25R3916
Human InteractionsRGB LEDs WS2812C * 12, Power and reset buttons, Power indicator LED
ExpansionsmicroSD card slot, Grove interface * 3, LEGO®-compatible mounting holes
Motors360-degree horizontal servo with feedback, 90-degree vertical servo with feedback
Power550 mAh battery, USB-C power and data, Power management IC AXP2101, RTC BM8563
Product Size54.0 x 70.5 x 61.5 mm
Product Weight (StackChan)187.0 g
Product Weight (Remote Controller)37.6 g
Package Size (StackChan)142.0 x 101.0 x 58.0 mm
Package Size (StackChan Remote)155.0 x 109.0 x 65.0 mm
Gross Weight (StackChan)272.4 g
Gross Weight (StackChan Remote)372.9 g

User Tips

  • Language Support: StackChan supports multiple languages, including Thai, Spanish, and Portuguese. While German is supported, some users note it works only rudimentarily.
  • Account Requirement: You need to create an M5Stack account and download the StackChan World app for full setup and functionality.
  • Wi-Fi Connection: Ensure your StackChan is connected to a 2.4 GHz Wi-Fi network for optimal performance.
  • Wake Word: The default wake word is "Hi, StackChan", but you can also activate it by touching the screen.
  • Customization: StackChan is highly customizable due to its open-source nature. Explore the GitHub repository for official firmware and community projects to expand its functionalities.
  • Firmware Reflashing: If you encounter issues or want to install custom firmware, reflashing the firmware via M5Burner is a straightforward process. Instructions and resources are available on the M5Stack community.
  • NFC for Quick Changes: Use the NFC feature with the mobile app to quickly change facial expressions or other settings.
  • Home Assistant Integration: For smart home control, StackChan can be integrated with Home Assistant via a specific plugin.
  • Physical Considerations: Be mindful of the BMM150 geomagnetic sensor; avoid placing StackChan near strong magnetic fields to prevent interference.
  • Included Accessories: The product comes with a USB-C cable and a small manual. A charger is not included.

Technical Resources and Support

For detailed schematics and further technical documentation, please refer to the official M5Stack resources:

  • User Manual (PDF): A comprehensive user manual is available in PDF format. You can access it via the provided link: StackChan User Manual (PDF).
  • Firmware Open Source Repository: The source code for the device firmware, remote controller firmware, mobile app, and server is available on GitHub: StackChan GitHub.
  • M5Stack Community: For additional support, community projects, and discussions, visit the M5Stack community forums.

Schematics

Schematic diagram for 12C ADDR(7bit): 0x34 and 12C ADDR(7bit): 0x40.
Figure 5: Schematic Diagram - AXP2101 Power Management IC.
Schematic diagram for ESP_LNA and FLASH VCC.
Figure 6: Schematic Diagram - ESP32-S3 Core and Flash Memory.
Schematic diagram for 12C ADDR(7bit): 0x36.
Figure 7: Schematic Diagram - AW88298 Audio Amplifier and ES7210 Audio Codec.
Schematic diagram for 12C ADDR(7bit): 0x58.
Figure 8: Schematic Diagram - IO Expander and LCD Interface.
Schematic diagram for Boost, OTG, and PMU.
Figure 9: Schematic Diagram - Boost Converter, USB OTG, and Power Management Unit.
Schematic diagram for BMM150 and BMI270.
Figure 10: Schematic Diagram - BMM150 Geomagnetic Sensor and BMI270 IMU.
Schematic diagram for USB 5V, BAT+, and Serve SIG.
Figure 11: Schematic Diagram - USB Power, Battery, and Servo Signal.
Schematic diagram for FPCI, Infrared Receiver, RGB, DCDC, and IO Expansion.
Figure 12: Schematic Diagram - FPC Interface, Infrared Receiver, RGB LEDs, DCDC Converter, and IO Expansion.
Schematic diagram for Fuser 060124/V.
Figure 13: Schematic Diagram - Fuser Component.
PinMap diagram for ESP32-S3, G6, G7, G5, G10, G11, G12, PY32L020, 101, and 1014.
Figure 14: PinMap Diagram for StackChan.

For specific warranty information, please consult the M5Stack Official Store or your point of purchase.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Rate this product if you’ve used it

Was this page helpful?