Skip to content

Week 1: M5Stack StickS3 Setup

This guide gets you from unboxing to a working project. Follow each step in order.

USB connection → UIFlow visual programming → Smart Product Challenge


ItemWhy NeededNotes
Laptop computerDriver installation and UIFlow programmingWindows, Mac, or Linux. Tablets/phones will NOT work
Chrome or Edge browserUIFlow 2.0 requires Web Serial APISafari and Firefox do NOT work. Download Chrome
USB data cableConnect StickS3 to computerMust be DATA cable, not charge-only. Quick test: can you transfer photos with it?
Laptop chargerSessions are 4 hours longMost 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.

  • 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.

Got your device working? Help others! This earns recognition in your assessment.

  1. Solved your connection issue? Great!
  2. Look around - who else is struggling?
  3. Help your teammates first
  4. Then help OTHER teams too!
  5. 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!


Watch a quick introduction before you start setup.

English (YouTube) ~5 min
Bilibili ~5 min
VideoDurationWhat You’ll Learn
UIFlow2 Quick Start for StickS3~5 minUnbox, flash, run your first program
M5Burner Firmware Tool~2 minHow to flash and recover firmware
UIFlow2 Interface Overview~6 minWhere everything lives in the IDE

Search “M5StickS3 UIFlow2” on Bilibili or browse the M5Stack official channel.


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.


Windows Users:

  1. Download CH9102 driver
  2. Device must be UNPLUGGED
  3. Run installer
  4. Restart computer

Mac Users:

  1. Try connection without driver first
  2. If device not detected → install driver
  3. Get CH9102 from M5Stack downloads

macOS built-in support varies by version.

Downloads:

Mac: How to check if driver is needed

Open Terminal and run:

Terminal window
ls /dev/tty.*

With device plugged in, if you see /dev/tty.usbserial-... → Driver working!

If nothing appears → Install driver from M5Stack downloads.


Standard Connection (Try This First):

  1. Plug USB cable into device
  2. Connect to computer
  3. Check Device Manager (Windows) or Terminal (Mac)
  4. 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:

  1. Unplug USB cable
  2. Hold side button down
  3. While holding, plug in USB
  4. Keep holding 2 seconds
  5. 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”
  1. Open UIFlow 2.0 in Chrome: flow.m5stack.com

  2. Login or Register (if you haven’t yet)

    • One account per team: one person creates account, share login with teammates
    • Write down: Email & Password
  3. Switch from Cloud Pair to USB mode

    • Look at the lower right corner of UIFlow
    • Default shows: Cloud Pair
    • Click and change to: USB
  4. Click “Connect” and select your COM port

  5. Import Knight Rider project and click RUN

    • See LEDs animate!

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 / ComponentWhat it detects
PIR sensorMotion — someone walks by
ENV III (temperature + humidity)Room conditions
LED RGB stripVisual output / indicator
Unit HubConnects multiple Grove sensors to one port
StickS3 built-in buttonTap / 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

Click your symptom for instant help:

SymptomQuick Fix
Device won’t show upTry different USB cable (data cable!), different USB port
”Code 10” errorUse boot mode entry (hold button while plugging in)
COM port keeps changingNormal! Just note the new number
Timeout / Write errorUse boot mode entry, try different port
UIFlow won’t connectSwitch to USB mode (lower right corner), use Chrome/Edge
Screen is blackHold button 6 seconds to reset, check USB cable

Quick fixes to try first:

  1. Try different USB cable (data cable, not charge-only!)
  2. Use boot mode entry (hold button while plugging in)
  3. Try different USB port
  4. Restart computer

See the full Troubleshooting Guide for detailed solutions.


QuestionAnswer
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.

Press TypeDurationFunction
Short press< 1 secondReset / Wake
Long press~6 secondsPower Off
Hold during plug-inHold + plug USBBoot Mode (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
  1. Press Win + X
  2. Click “Device Manager”
  3. Expand “Ports (COM & LPT)”
  4. Look for: USB-SERIAL CH9102 (COM#) or USB-SERIAL CH9103 (COM#)

Don’t struggle alone - we’re here to help!

  1. Self-service (2 min): Try the 6-second reset, check this guide
  2. AI Assistant (5 min): Use the “good questions” format with specific details
  3. Forum/Peer Help: Post to M5Stack Community
  4. Instructor/TA: When you’ve tried steps 1-3 and are still stuck
Current page
🤖