UIFlow Quick Start

This tutorial is for STAMP-PICO

Burning tool

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.

Note:
After installation for MacOS users, please put the application in the Application folder, as shown in the figure below.
For Linux users, please switch to the unzipped file path and run ./M5Burner in the terminal to run the application.

ESP32 Downloader

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

Firmware burning

  1. Double-click to open the Burner burning tool, ①Select the corresponding device type STAMP in the left menu, select the firmware version STAMP-PICO you need, and click the download button to download.
  1. Then connect the downloader to the computer through the Type-C data cable, select the corresponding COM port, the baud rate can use the default configuration in M5Burner, click "Burn" to start burning, and fill in 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).
  1. When the burning log prompts 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.

Mode switch

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 green, blue, yellow, and 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

Connect to UIFlow

Get Mac address

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.

Start connection

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.

LED control

After completing the above steps, let's implement a simple lighting case program, drag and drop Hardware->RGB->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.

On This Page