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.
Step 2: Device Setup
Section titled βStep 2: Device Setupβ2a. Driver β Usually Not Needed
Section titled β2a. Driver β Usually Not Neededβ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:
- Right-click the unknown device β Update Driver β Browse my computer β Let me pick β USB Serial Device (CDC)
- If that fails, ask your TA for the CH9102 driver
Mac: No driver needed. The device appears as /dev/tty.usbmodem... automatically.
2b. Connect via USB
Section titled β2b. Connect via USBβ- Plug your USB data cable into the StickS3 and your laptop
- 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
2c. Recovery: If the Device Becomes Unresponsive
Section titled β2c. Recovery: If the Device Becomes Unresponsiveβ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):
- Unplug the USB cable
- Hold the side button down
- While holding, plug USB back in
- Continue holding for 4 seconds until the green LED turns on
- 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.
Step 3: Connect in UIFlow 2.0
Section titled βStep 3: Connect in UIFlow 2.0β- Open uiflow2.m5stack.com in Chrome or Edge
- Log in with your team UIFlow 2.0 account
- In the lower-right corner of UIFlow 2.0, find the connection mode selector
- Default shows:
Cloud Pairβ click it - Change to: USB
- Default shows:
- Click Connect β your browser shows a serial port picker dialog (this is expected)
- Select your COM port from the list:
- Windows:
COM3,COM4, etc. - Mac:
/dev/tty.usbmodem...
- Windows:
- Click Connect
You should see a green connected indicator in the IDE.
Step 4: Run Your First Project
Section titled βStep 4: Run Your First Projectβ- Download the starter project: StickS3-HelloWorld-Base.m5f2
- In UIFlow 2.0, open the folder icon β Import project from local file β select the
.m5f2file

- Click Run (βΆ button)
- 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.
What to Build Next
Section titled βWhat to Build NextβTroubleshooting
Section titled βTroubleshootingβ| Symptom | Quick 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 changing | Normal β just note the new number each time |
| UIFlow wonβt connect | Confirm 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 / unresponsive | Hold side button ~6 seconds to force reset |
| Device bricked after firmware burn | Boot 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.
Was this page helpful?