Skip to content
ENT208TC Industry Readiness

Week 1: M5StickS3 Setup

M5StickS3 setup guide. If your device is orange (M5StickC Plus), go back and select the correct guide.

The M5StickS3 connects to UIFlow 2.0 directly over USB. No internet connection is required β€” your laptop communicates directly with the device through a USB serial port.

English (YouTube) ~5 min
Bilibili ~5 min

The M5StickS3 uses the ESP32-S3’s built-in USB (CDC ACM). On most systems, no third-party driver is required.

Windows 10 / 11: The device usually appears automatically as a COM port under Ports (COM & LPT) in Device Manager. If it does not:

  1. Right-click the unknown device β†’ Update Driver β†’ Browse my computer β†’ Let me pick β†’ USB Serial Device (CDC)
  2. If that fails, ask your TA for the CH9102 driver

Mac: No driver needed. The device appears as /dev/tty.usbmodem... automatically.

  1. Plug your USB data cable into the StickS3 and your laptop
  2. Confirm the device appears:
    • Windows: Device Manager β†’ Ports (COM & LPT) β†’ look for USB Serial Device or USB-SERIAL
    • Mac: Open Terminal and run ls /dev/tty.usbmodem* β€” you should see an entry

If the device stops responding at any point, try these steps in order:

Step 1 β€” Force reset: Hold the side button for 6 seconds until the device powers off and restarts.

Step 2 β€” Enter boot mode (if still unresponsive):

  1. Unplug the USB cable
  2. Hold the side button down
  3. While holding, plug USB back in
  4. Continue holding for 4 seconds until the green LED turns on
  5. Release β€” the device is now in boot mode and should recover on next restart

If neither step works, ask your TA β€” do not attempt to reflash firmware yourself.


  1. Open uiflow2.m5stack.com in Chrome or Edge
  2. Log in with your team UIFlow 2.0 account
  3. In the lower-right corner of UIFlow 2.0, find the connection mode selector
    • Default shows: Cloud Pair β€” click it
    • Change to: USB
  4. Click Connect β€” your browser shows a serial port picker dialog (this is expected)
  5. Select your COM port from the list:
    • Windows: COM3, COM4, etc.
    • Mac: /dev/tty.usbmodem...
  6. Click Connect

You should see a green connected indicator in the IDE.


  1. Download the starter project: StickS3-HelloWorld-Base.m5f2
  2. In UIFlow 2.0, open the folder icon β†’ Import project from local file β†’ select the .m5f2 file

UIFlow 2.0 β€” Import project from local file option in the folder menu

  1. Click Run (β–Ά button)
  2. Watch the LEDs animate on your device!

Once it’s running, explore the blocks: change LED colours, adjust speed, add conditions. You don’t need to understand everything yet β€” just start modifying and see what happens.



SymptomQuick Fix
Device not detected (Windows)Try different USB cable (data cable!); try CH9102 driver from M5Stack Downloads if still not detected
Device not detected (Mac)Click Allow if β€œaccessories” prompt appeared; run ls /dev/tty.usbmodem*
COM port keeps changingNormal β€” just note the new number each time
UIFlow won’t connectConfirm USB mode selected (not Cloud Pair); use Chrome or Edge
”Timeout / Write error”Enter boot mode: hold side button while plugging in USB, hold 4 sec until green LED
Screen is black / unresponsiveHold side button ~6 seconds to force reset
Device bricked after firmware burnBoot mode (step 2c) β†’ ask TA immediately; do not attempt re-flash without guidance

If nothing works after 20 minutes: Ask your TA to use their laptop. No penalty β€” some PCs have IT restrictions that block USB serial access.

See the full Troubleshooting Guide for detailed solutions.

This site uses anonymous analytics (Microsoft Clarity) to improve course content. No personal data is collected.
Current page
πŸ€–