English
English
简体中文
日本語

Arduino Quick Start

2. Devices & Examples

5. Extensions

6. Applications

Atom‑Lite/Matrix Arduino Program Compilation & Upload

1. Preparation

2. USB Driver Installation

Select the driver file that matches your operating system from the list below, download it, and extract it. You can also visit the FTDI Chip official website for additional FTDI driver versions. Then connect the device to your PC, open Device Manager, and install the FTDI driver (the screenshot below uses Windows 10 as an example). (Note: On some systems, you may need to install the driver twice for it to take effect. The unrecognized device is usually named M5Stack or USB Serial.)

Driver Name Download Link
Windows_Desktop_x64 Download
Windows_Desktop_x86_32 Download
Windows_Desktop_ARM Download
MacOS_Intel Download
MacOS_ARM64 Download
MacOS note
On macOS, before installing the driver open System PreferencesSecurity & PrivacyGeneral and allow apps downloaded from App Store and identified developers if prompted.

3. Port Selection

Connect the device via USB. After the driver is installed, select the corresponding serial port in the Arduino IDE.

4. Program Compilation & Upload

Open the example sketch LogOutput from the driver library, set Tools -> Core Debug Level to Info, then click Upload. The sketch will be compiled and flashed automatically.

Example serial output:

 [0;31mM5.Log error log [0m
 [0;33mM5.Log warn log [0m
 [0;32mM5.Log info log [0m
 [0;36mM5.Log debug log [0m
 [0;37mM5.Log verbose log [0m
 [0;31m[   386][E][LogOutput.ino:63] setup(): M5_LOGE error log [0m
 [0;33m[   393][W][LogOutput.ino:64] setup(): M5_LOGW warn log [0m
 [0;32m[   399][I][LogOutput.ino:65] setup(): M5_LOGI info log [0m
 [0;36m[   404][D][LogOutput.ino:66] setup(): M5_LOGD debug log [0m
 [0;37m[   411][V][LogOutput.ino:67] setup(): M5_LOGV verbose log [0m
M5.Log.printf non level output
 [0;33m[  1407][W][LogOutput.ino:79] loop(): BtnA 1 click [0m
 [0;37m[  1443][V][LogOutput.ino:93] loop(): count:1 [0m
 [0;37m[  2467][V][LogOutput.ino:93] loop(): count:2 [0m
 [0;37m[  3491][V][LogOutput.ino:93] loop(): count:3 [0m
 ...
Page Tools
PDF
On This Page