Week 1: M5Stack StickS3 Setup
Welcome
Section titled “Welcome”This guide gets you from unboxing to a working project. Follow each step in order.
USB connection → UIFlow visual programming → Smart Product Challenge
What to Bring to Session (4 hours)
Section titled “What to Bring to Session (4 hours)”Must Have
Section titled “Must Have”| Item | Why Needed | Notes |
|---|---|---|
| Laptop computer | Driver installation and UIFlow programming | Windows, Mac, or Linux. Tablets/phones will NOT work |
| Chrome or Edge browser | UIFlow 2.0 requires Web Serial API | Safari and Firefox do NOT work. Download Chrome |
| USB data cable | Connect StickS3 to computer | Must be DATA cable, not charge-only. Quick test: can you transfer photos with it? |
| Laptop charger | Sessions are 4 hours long | Most batteries won’t last the full session |
💡 About 50% of connection issues come from wrong cables
Charge-only cables look identical but cannot transfer data. If your device is not detected, try a different cable first.
Team Collaboration
Section titled “Team Collaboration”- Each person works on their own laptop
- Everyone contributes to Smart Product Challenge
- Video must show what each member did
- Remind teammates to bring equipment!
Share this guide with your team via group chat.
Help Others Culture (Assessment Bonus!)
Section titled “Help Others Culture (Assessment Bonus!)”Got your device working? Help others! This earns recognition in your assessment.
- Solved your connection issue? Great!
- Look around - who else is struggling?
- Help your teammates first
- Then help OTHER teams too!
- After helping, report to TA: “I helped [Name] from [Team]”
ℹ️ In Your Video Demo
You can mention: “I helped [Team Name] solve their driver issue” - but ONLY if you reported it to TA first for verification!
What is M5Stack StickS3?
Section titled “What is M5Stack StickS3?”Watch a quick introduction before you start setup.
Recommended Videos (Watch in Order)
Section titled “Recommended Videos (Watch in Order)”| Video | Duration | What You’ll Learn |
|---|---|---|
| UIFlow2 Quick Start for StickS3 | ~5 min | Unbox, flash, run your first program |
| M5Burner Firmware Tool | ~2 min | How to flash and recover firmware |
| UIFlow2 Interface Overview | ~6 min | Where everything lives in the IDE |
Search “M5StickS3 UIFlow2” on Bilibili or browse the M5Stack official channel.
Before You Plug In - Checklist
Section titled “Before You Plug In - Checklist”Complete these steps BEFORE connecting your device.
/ completed — progress saved in your browser
⚠️ WiFi — Skip It During the Challenge
Recommendation: You do not need WiFi for the Week 1–2 Smart Product Challenge. USB connection is all UIFlow 2.0 needs.
Flashing firmware risks bricking the device. We have limited spares. If you want to try WiFi setup, ask the Module Leader for permission first.
If approved: use the WebBurner inside UIFlow 2.0 (open flow.m5stack.com → click the connection area at the top-right → look for “Burn firmware”). Forum reports suggest it bricks devices less often than the M5Burner desktop app.
Quick Start (3 Steps)
Section titled “Quick Start (3 Steps)”Step 1: Install CH9102 USB Driver
Section titled “Step 1: Install CH9102 USB Driver”Windows Users:
- Download CH9102 driver
- Device must be UNPLUGGED
- Run installer
- Restart computer
Mac Users:
- Try connection without driver first
- If device not detected → install driver
- Get CH9102 from M5Stack downloads
macOS built-in support varies by version.
Downloads:
- M5Stack Download Page (English)
- Windows Direct Link
Mac: How to check if driver is needed
Open Terminal and run:
ls /dev/tty.*With device plugged in, if you see /dev/tty.usbserial-... → Driver working!
If nothing appears → Install driver from M5Stack downloads.
Step 2: Connect Device
Section titled “Step 2: Connect Device”Standard Connection (Try This First):
- Plug USB cable into device
- Connect to computer
- Check Device Manager (Windows) or Terminal (Mac)
- Device should appear as COM port
What you should see:
- Windows: Device Manager → Ports (COM & LPT) → USB-SERIAL CH9102 (COM#)
- macOS: Terminal:
ls /dev/tty.*→ See/dev/tty.usbserial-...
Not Working? Try Boot Mode Entry (Troubleshooting)
If standard connection fails, force the device into download mode:
- Unplug USB cable
- Hold side button down
- While holding, plug in USB
- Keep holding 2 seconds
- Release button
When to use boot mode:
- Device not detected with standard connection
- “Code 10” error in Device Manager
- Timeout or write errors
- First-time connection issues
Step 3: Setup UIFlow & Run Your First Project
Section titled “Step 3: Setup UIFlow & Run Your First Project”-
Open UIFlow 2.0 in Chrome: flow.m5stack.com
-
Login or Register (if you haven’t yet)
- One account per team: one person creates account, share login with teammates
- Write down: Email & Password
-
Switch from Cloud Pair to USB mode
- Look at the lower right corner of UIFlow
- Default shows:
Cloud Pair - Click and change to:
USB
-
Click “Connect” and select your COM port
-
Import Knight Rider project and click RUN
- See LEDs animate!
You’re All Set!
Section titled “You’re All Set!”Now modify colors, speed, and explore blocks.
💡 Week 1-2: Smart Product Challenge
Your first goal is to build something that “just works” — not fancy, but reliable enough to demo in a video.
Available sensors (you don’t need to use all of them):
| Sensor / Component | What it detects |
|---|---|
| PIR sensor | Motion — someone walks by |
| ENV III (temperature + humidity) | Room conditions |
| LED RGB strip | Visual output / indicator |
| Unit Hub | Connects multiple Grove sensors to one port |
| StickS3 built-in button | Tap / press — a button is a sensor too! |
Team roles tip — this is the key: Assign clear roles at the start of the session. Everyone should have a specific part to build and explain. For the video demo: no presentation slides needed — just show what you built, how it works, and have every team member speak.
- Working > ambitious but broken
- Video due Week 3, then choose your real project
Something Not Working?
Section titled “Something Not Working?”Click your symptom for instant help:
| Symptom | Quick Fix |
|---|---|
| Device won’t show up | Try different USB cable (data cable!), different USB port |
| ”Code 10” error | Use boot mode entry (hold button while plugging in) |
| COM port keeps changing | Normal! Just note the new number |
| Timeout / Write error | Use boot mode entry, try different port |
| UIFlow won’t connect | Switch to USB mode (lower right corner), use Chrome/Edge |
| Screen is black | Hold button 6 seconds to reset, check USB cable |
Quick fixes to try first:
- Try different USB cable (data cable, not charge-only!)
- Use boot mode entry (hold button while plugging in)
- Try different USB port
- Restart computer
See the full Troubleshooting Guide for detailed solutions.
Quick FAQ
Section titled “Quick FAQ”| Question | Answer |
|---|---|
| Which cable do I need? | DATA cable (USB-A to USB-C OR USB-C to USB-C). NOT charge-only! |
| Do Mac users need drivers? | Try without first. Install CH9102 if device not detected. |
| COM port keeps changing? | Normal! Just note the new number. |
| Tried everything 20+ minutes? | Use TA laptop! No penalty. Some PCs have IT restrictions. |
Reference Guide
Section titled “Reference Guide”Button Functions
Section titled “Button Functions”| Press Type | Duration | Function |
|---|---|---|
| Short press | < 1 second | Reset / Wake |
| Long press | ~6 seconds | Power Off |
| Hold during plug-in | Hold + plug USB | Boot Mode (troubleshooting) |
Cable Troubleshooting
Section titled “Cable Troubleshooting”- Data cable (works): Can transfer files, labeled “USB 2.0” or “USB 3.0”
- Charge-only cable (won’t work): Only powers device, can’t communicate. Often thinner/lighter
Device Manager Guide (Windows)
Section titled “Device Manager Guide (Windows)”- Press
Win + X - Click “Device Manager”
- Expand “Ports (COM & LPT)”
- Look for: USB-SERIAL CH9102 (COM#) or USB-SERIAL CH9103 (COM#)
Still Need Help?
Section titled “Still Need Help?”Don’t struggle alone - we’re here to help!
- Self-service (2 min): Try the 6-second reset, check this guide
- AI Assistant (5 min): Use the “good questions” format with specific details
- Forum/Peer Help: Post to M5Stack Community
- Instructor/TA: When you’ve tried steps 1-3 and are still stuck
Was this page helpful?