This tutorial is for STAMP-PICO
Please click the button below to download the corresponding M5Burner firmware burning tool according to the operating system you are using. Unzip and open the application.
After installation for
MacOS users, please put the application in the
Application folder, as shown in the figure below.
Linux users, please switch to the unzipped file path and run
./M5Burner in the terminal to run the application.
Before burning, you need to connect a USB-TTL burning board for STAMP-PIOC, and proceed according to the board silkscreen connect. Install the driver corresponding to the burning board on the PC.
The most convenient way is to Purchase the STAMP-PICO package version with downloader , the line sequence of the matching downloader It is consistent with STAMP-PICO, it can be directly plugged in for programming without wiring. Click here to go to the following page to download the driver CP210x & CH9102 for the supporting downloader
STAMPin the left menu, select the firmware version
STAMP-PICOyou need, and click the download button to download.
WIFI during burning Configuration information(this information will be used to connect the device to the network, and it is recommended to write it into the device when burning the firmware).
Burn Successfully, it means that the firmware has been burned. When the STAMP-PICO's LED light is blinking green, it means that the program can be pushed at any time. By default, after burning the firmware for the first time, the device will automatically restart and enter the online programming mode.
Keep pressing the button and then power on when the power is off, it will enter the state of
mode switching. In this state, the LEDs will switch between
purple. Different colors represent different modes. Release the button when the LED switches the corresponding color to enter the corresponding mode. The detailed function mode is described as follows.
Green: Online programming mode, used to connect to the
online version of UIFlow, you need to configure
WIFI before you can connect.
Blue: Offline programming mode, connect to UIFlow Desktop IDE via a USB cable
Yellow: WIFI configuration mode, the device will automatically enable the AP, and the user can connect to the AP through a mobile device And visit the
192.168.4.1 page for WIFI configuration
Purple: APP mode, default
Run the last downloaded program
MAC address (API KEY) is the communication credential of STAMP-PICO when using UIFlow web programming.
How to obtain the Mac address:
The random sticker will record the MAC address of the device
When the device is started, it will automatically print out through the
serial port. Through the serial port tool, we can get this field.
Visit flow.m5stack.com in the computer browser to enter the UIFlow programming page, click the setting button in the menu bar at the upper right corner of the page, and enter the API Key of the corresponding device. Select the type of device used, click OK to save, and wait for the prompt to connect successfully.
After completing the above steps, let's implement a simple lighting case program, drag and drop
Set RGB Bar Color in the function menu to the programming area to connect
setup to set the lighting control Color, click the triangle run button in the upper right corner to start the program push.