1. Introduction
The M5Stack StackChan is a super kawaii (cute) AI desktop robot, co-created by M5Stack and its user community. It serves as an open-source AI desktop companion, powered by the M5Stack flagship IoT development kit CoreS3. This robot is designed for various applications including acting as an AI Agent, Home Guardian, Education & DIY tool, and a Social Link device.
The CoreS3 main controller features an ESP32-S3 SoC with a 240 MHz dual-core processor, 16MB Flash, and 8MB PSRAM, supporting Wi-Fi and Bluetooth Low Energy (BLE). It integrates a 2.0-inch capacitive multi-touch IPS LCD, a 0.3 MP camera, various sensors, and multiple expansion options, making it a versatile platform for custom functions and interactions.
2. What's in the Box
The contents of your package may vary slightly depending on the specific kit purchased (SKU: K151 or K151-R).
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 USB Type-C Cable


3. Product Overview
The StackChan robot is a compact and feature-rich device. Below is a detailed diagram highlighting its various components and ports.

Key Features and Ports:
- Main Controller: ESP32-S3 (CoreS3 pre-installed)
- Display: 2.0" IPS LCD (320x240) with Capacitive Multi-Touch
- Camera: GC0308 (0.3 megapixels)
- Audio: Dual Microphones (ES7210), 1W Speaker (AW88298)
- Sensors: LTR-553ALS-WA (Proximity & Ambient Light), 9-Axis IMU (BMI270 + BMM150), NFC (ST25R3916)
- Power: 550 mAh Battery, USB-C (Charging/Data)
- Connectivity: USB-C OTG, GPIO Port B, UART Port C, I2C Port A, IR Tx/Rx
- Buttons: Power (Hold 6S for OFF, Press for ON), 3x Touch Pads, 2x Buttons
- Expansion: microSD Slot, 3x Grove Interface, LEGO®-compatible mounting holes
Dimensions and Weight:

- Product Size: 54.0 x 70.5 x 61.5mm (2.12 x 2.77 x 2.42 inches)
- Product Weight: StackChan: 187.2g
- Gross Weight: StackChan: 272.4g
4. Specifications
| Specification | Parameter |
|---|---|
| Main Controller | ESP32-S3 / Xtensa® dual-core 32-bit LX7, 240 MHz, 16MB Flash, 8MB Quad PSRAM |
| Wireless Connectivity | 2.4 GHz Wi-Fi, IEEE 802.11 b/g/n, Bluetooth® 5 LE |
| Wired Connectivity | USB CDC & full-speed USB OTG, GPIO, UART, I2C |
| Display | 2.0-inch IPS LCD, 320*240, 65536 colors, ILI9342C driver, Capacitive multi-touch, FT6336U driver |
| Camera | GC0308, 640*480, 0.3 MP |
| Sensors | Dual microphones (ES7210), Proximity & ambient light sensor (LTR-553ALS-WA), 9-axis IMU (BMI270 + BMM150), Three-zone touch panel (Si12T driver), Full-featured NFC (ST25R3916) |
| Human Interactions | 1W speaker (AW88298), RGB LEDs (WS2812C * 12), Power and reset buttons, Power indicator LED |
| Expansions | microSD card slot, Grove interface * 3, LEGO®-compatible mounting holes |
| Motors | 360-degree horizontal servo with feedback, 90-degree vertical servo with feedback |
| Power | 550 mAh battery, USB-C power and data, Power management IC (AXP2101), RTC (BM8563) |
| Product Size | 54.0 x 70.5 x 61.5mm |
| Package Size | StackChan: 142.0 x 101.0 x 58.0mm, StackChan Remote: 155.0 x 109.0 x 65.0mm |
| Gross Weight | StackChan: 272.4g, StackChan Remote: 372.9g |
5. Setup
5.1 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).

5.2 Download Mode
To enter download mode for firmware updates or custom programming:
- Connect StackChan to a computer using a USB-C cable. It is recommended to use the port on the base to avoid accidents caused by motor movement.
- Press and hold the RST reset button for 3 seconds (located next to the microSD card slot on the bottom side).
- When the indicator LED next to the button turns green, the device has entered download mode and the button can be released.
5.3 Mobile App Binding and Setup
To fully utilize StackChan's AI Agent features, remote video, and other functionalities, you need to bind it with the StackChan World mobile app.
- Download the App: Obtain the StackChan World app from your device's app store (iOS - App Store, Android - Play Store, or Android - APK package).
- Login/Register: Launch the app and log in or register for an M5Stack account.
- Initial Device Setup:
- Power on StackChan. The screen will display a welcome page.
- Tap 'Start', place the device on a firm and stable surface without touching it, and tap 'Start' again to begin the servo test. StackChan will move its head left, right, and up.
- After the servo test, tap 'Next' - 'Next' on the StackChan screen.
- App Binding:
- Open the StackChan World app on your phone.
- Tap 'Add a new StackChan'. The app will scan for nearby StackChan devices broadcasting Bluetooth pairing requests.
- Select your StackChan device from the list using its ID (MAC address) displayed on the StackChan screen.
- Follow the in-app instructions to configure the following settings:
- Device name: Used to distinguish multiple devices.
- AI Agent: Configure the AI Agent's name (e.g., 'StackChan'), conversation language, AI model, voice settings (voice, speech rate, pitch), user speech recognition speed, and personality.
- Memory: Settings related to device memory.
- Wi-Fi: Enter your Wi-Fi network name and password. StackChan supports 2.4 GHz Wi-Fi only.
- Completion: After completing these settings, StackChan will restart, and the binding and setup 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.
6. Operating Instructions
6.1 UI Navigation
After powering on, the main menu is displayed on StackChan's screen. You can navigate through different functions:
- Switch Functions: Swipe left or right on the screen to switch between function icons (AI Agent, Avatar, ESPNOW.REMOTE, APP.CENTER, EZDATA, DANCE, SETUP).
- Enter Function: Tap the desired icon to enter that function.
- Status Bar/Home Button: Within any function, swipe inward from the top or bottom edge of the screen to reveal the status bar (network, time, battery) or the Home button to return to the main menu.
6.2 AI Agent Mode
In AI Agent mode, StackChan acts as your personal AI assistant.
- Firmware Updates: Each time you enter this function, the device checks for firmware updates online, then automatically downloads, installs, and restarts.
- Wake Word: The default voice wake word is "Hi, StackChan". You can also tap the screen to wake it up and start a conversation. (Custom wake word support is not yet available).
- RGB LED Indicator: The RGB LED located at the upper-left side of the device near the screen indicates the voice interaction status:
- Green: Device is listening.
- Blue: Device is speaking.
- Off: Device is idle.
- 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 Device Components: "Set the volume to 80%" (Speaker), "Turn your head to the left" (Motor), "Change your built-in light to blue" (RGB LED), "What can you see right now?" (Camera), "How much battery power is left?" (Battery).
- Home Assistant MCP (after connection): "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?"
- Idle Behavior: When idle, StackChan randomly performs expressions like blinking and head movements. Swipe vertically on the touch area for a happy expression. Shake the device for a dizzy expression. After inactivity, a sleeping expression will be triggered.
6.3 Avatar Mobile Communication
The Avatar feature allows StackChan to mimic the person in front of the phone, including head movements, and the position and size of eyes and mouth. This corresponds to the Avatar, Monitoring Camera, Motion, and Dance (Wi-Fi mode) features in the mobile app. When using these features, keep StackChan in Avatar mode; no additional operation is required.
6.4 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 (or another StackChan) acts as the sender.
- Role Selection: You can quickly select 'Receiver' or 'Sender' in the app.
- Advanced Customization: Tap 'Advanced' to customize the Wi-Fi Channel and Receiver ID.
- Communication Rules: Devices on the same Wi-Fi Channel can communicate. The receiver sets its own ID, while the sender sets the target receiver ID. If the target ID is 0, it acts as a broadcast.
- Remote Controller (K151-R Kit): The remote controller consists of a StickC-Plus controller and a Hat Mini JoyC joystick.
- Power On/Off: Press and hold the left power button for 2 seconds to power on, and 6 seconds to power off.
- Switch Modes: Short press the small right-side button (BtnB) to switch between Wi-Fi Channel and Receiver ID selection. Move the joystick up/down to change values.
- Joystick Control: Short press the large front button (BtnA) to enter joystick control mode, press again for IMU attitude control mode, and once more to return to Wi-Fi Channel and Receiver ID settings.
6.5 App Center
The App Center allows you to download various applications online, such as mini-games (e.g., pipe-jumping), IMU stabilizers, and universal IR learning remotes. More applications will be added over time.
6.6 EZData
This feature is currently not available.
6.7 Dance Mode
This feature corresponds to the Dance function in the mobile app under Bluetooth mode. You can set music, movements (rotation angles), and lighting colors to choreograph StackChan's dance.
Official product video demonstrating StackChan's features and applications.
7. User Tips
- Initial Setup: The initial setup is straightforward, but remember to create an M5Stack account and download the StackChan World app for your phone/tablet.
- Internet Connection: StackChan requires a continuous 2.4G WiFi Internet connection for full functionality.
- Wake Word: The default wake word is "Hi, StackChan." While it cannot be changed currently, you can also activate it by touching the screen.
- Language and Voice: Conversation language and voice (male/female, accent) can be configured in the mobile app.
- Open-Source Nature: StackChan is designed to be modular and open-source, allowing for extensive customization and development.
- Enjoyment: Many users find great joy in interacting and coding with their StackChan.
8. Troubleshooting
8.1 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.
8.2 Motion Angle Notice
The movement angle of the StackChan Y-axis servo (vertical direction) is recommended to be controlled within 5° ~ 85°. Operating at extreme angles may cause servo stall and permanent damage. No angle restriction is required for the X-axis.
8.3 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.
8.4 Servo Calibration
In cases of abnormal servo behavior, you can use the servo calibration feature:
- Enter the calibration screen via the SETUP menu.
- Gently rotate the device manually to the initial position, with the screen perpendicular to the base and centered between the two 'feet'.
- Tap 'Set Current Position As Home'.
- Verify calibration by gently rotating the device away from the initial position, then tap 'Move To Home'. If the device returns to the initial position, calibration is successful.
- Tap 'Done' to complete.
8.5 Firmware Update
StackChan automatically checks for firmware updates online when entering the AI Agent function. It will download, install, and restart automatically.
8.6 Restore Factory Firmware
If you have flashed custom firmware or encounter unexpected issues, you can restore the factory firmware using the M5Stack unified flashing tool, M5Burner, on your computer.
- Download M5Burner for your OS (Windows, macOS, Linux).
- Open M5Burner, search for 'StackChan', check 'Only Official', and click 'Download' for the latest firmware.
- Connect StackChan to your computer via USB-C (base port recommended).
- In M5Burner, click 'Burn', select the device's port, and click 'Start' to begin the flashing process.
9. Maintenance
To ensure the longevity and optimal performance of your StackChan robot, follow these general maintenance guidelines:
- Cleaning: Use a soft, dry cloth to clean the exterior of the robot. Avoid using harsh chemicals or abrasive materials.
- Storage: Store StackChan in a cool, dry place away from direct sunlight and extreme temperatures.
- Handling: Handle the robot with care. Avoid dropping it or subjecting it to strong impacts.
- Magnetic Fields: Keep StackChan away from strong magnetic fields to prevent interference with its internal sensors.
- Motor Care: As noted in troubleshooting, do not manually force the motors to rotate when powered.
10. Warranty and Support
For detailed technical support, tutorials, and community resources, please refer to the official M5Stack documentation and community platforms.
10.1 Tutorials and Guides
- UiFlow2: Guides on controlling StackChan using the UiFlow2 graphical programming platform.
- Arduino IDE: Tutorials for programming and controlling StackChan with Arduino IDE.
- Factory Firmware Guide: Introduction to factory firmware, binding, setup with mobile app, and feature usage.
- Access Tutorials: Visit m5stack.com, click 'DOCUMENT', search for products, and find 'Tutorial'.
10.2 Schematics
Detailed schematics for StackChan components are available in PDF format:
- StackChan Host CoreS3 Schematic PDF
- StackChan Base Adapter Board Schematic PDF
- StackChan Base Power Board Schematic PDF
- StackChan Base Ring Board Schematic PDF
- StackChan Base Touch Board Schematic PDF
10.3 Open Source Resources
- StackChan GitHub Repository: Includes source code for device firmware, remote controller firmware, mobile app, and server.
- Arduino: StackChan Arduino Quick Start, StackChan BSP Driver Library.
- UiFlow2: StackChan UiFlow2 Quick Start.
10.4 Video Resources
- StackChan Product Overview and Feature Demonstration: K151-VIDEO.mp4
- StackChan Usage Tutorial: K151-uservideo_EN.mp4 (URL not provided in ALLOWED_URLS, referencing textually)
10.5 User Manual PDF
A PDF version of the user manual is available for download: StackChan User Manual (PDF)
11. Frequently Asked Questions (FAQ)
- Q: Is there a public GitHub repository somewhere? How easy is it to edit the code?
- A: Yes, StackChan is an open-source project. You can find the GitHub repository which includes source code for the device firmware, remote controller firmware, mobile app, and server. It supports programming via Arduino, UiFlow2, and other methods, making it accessible for customization.
- Q: Does it come with a charger and any additional items?
- A: The StackChan unit comes with a 50cm USB-A to USB-C Cable, which is used for both charging and data transfer. Additional items like a remote controller are included if you purchase the K151-R kit.
- Q: Does StackChan speak Portuguese?
- A: The conversation language can be configured in the StackChan World mobile app. While Spanish is confirmed to be supported, other languages like Portuguese may also be available or can potentially be added through custom development due to its open-source nature.