pdf-icon

UiFlow Tutorial

UiFlow1 Development Guide

Project Management

Use LTE network

UiFlow1 Blockly

Event

Unit

UiFlow2 Development Guide

UI Editor

Device Security & Sharing

Arduino Nesso N1: Flash Firmware & Run Code

1. Preparation

  • Refer to the UIFlow2 Web IDE Tutorial to understand the basic process of using UiFlow2 and complete the installation of the M5Burner firmware burning tool.
  • Log in or register M5Burner. After the device is successfully burned, the device information will also be bound to the same account.

2. Firmware Burning

  1. Connect the device via a USB cable and press and hold the reset button on the left side of the body. When the internal blue LED of the device flashes, it indicates that the device has successfully entered download mode.
  1. In M5Burner, download the firmware adapted for Arduino Nesso N1 as shown in the figure below.
  1. Connect the device to the computer via a USB cable, click the Burn button of the corresponding firmware in M5Burner, select the corresponding device port, and click Start.
  1. Fill in the Wi-Fi configuration that the device needs to connect to, including Wi-Fi SSID, Wi-Fi Password, and other configurations that need to be added or modified. Click Next to start burning.
Note
If your device is connected for the first time, you need to bind the device to this account.

When it prompts Burn successfully, click here to return, it indicates that the burning was successful. At this point, you need to restart the device to make the burned information effective.

Configuration Explanation

  • COM: Serial Port
  • BaudRate: Baud rate for serial communication
  • Server: Server address the device connects to
  • WIFI SSID/WIFI Password: Wi-Fi name and password the device connects to
  • SNTP Server
    • SNTP0: Alibaba Cloud NTP Server (China)
    • SNTP1: Japan NTP Server Pool
    • SNTP2: Global Public NTP Server Pool
  • Timezone: Time zone setting
  • Boot Option
    • run main.py directly: Run main.py directly
    • show startup menu and network setup: Display startup interface (NEMU) and network setup
    • only network setup: Only network setup

3. Modify Device Configuration

After completing the firmware burning, if you need to modify the device configuration, you can keep the USB connection, restart the device, use the M5Burner Configure option, make modifications in the pop-up configuration interface, click next, and reapply the modified burn configuration.

4. Log in to UiFlow2

Go to the UiFlow2 page and click the user icon in the upper right corner to log in to your UiFlow2 system account.

UiFlow2 Account
This account needs to be the same as the one used to log in to M5Burner. After logging in successfully, devices under this account that are connected to a valid Wi-Fi can be viewed by clicking Select Device. To change the device owner, you need to unbind the device from the account.

5. Enter Programming Page

You can connect the device to UiFlow2 via Wi-Fi or USB to enter the programming page. The specific methods are as follows:

Wi-Fi Method

Note
Make sure Wi-Fi is configured: When burning the program, you need to configure the Wi-Fi and other information in M5Burner under Configure.

Enter the device list.

Select the online device and click Confirm.

Successfully enter the UiFlow2 programming page of the device.

USB Method

  1. Connect Arduino Nesso N1 to the computer via USB cable. In the device list, select the Nesso N1 module and click Confirm.
  1. Click the WebTerminal button.
  1. In the pop-up window, select the serial port of Arduino Nesso N1 and click Connect.

When the WebTerminal screen displays Serial port WebSerial VendorID xxx ProductID xxx Connecting, it means the USB connection is successful and you have entered the UiFlow2 programming page of the device.

6. RUN

After completing the above steps, you can start programming with UiFlow2.

  • Arduino Nesso N1 Product Introduction and Case Demonstration

On This Page