Skip to content

Install M5Stack on Windows

Marwe edited this page Mar 12, 2021 · 7 revisions

Installation of the M5 Sensor Tools -- Windows

A working internet connection is mandatory Its recommanded to download and unzip the git repository

Download software and install drivers

  • For Windows: download our bundle m5-software-w10.zip and unzip
  • Run once: driver\1_ftdi\1_CDM1228_Setup.exe
  • optionally (only, if needed later) see: driver\2_dotnet driver\3_optional_CP210x
  • Create shortcuts somewhere (Desktop?) to start these programs:
    • uiflow\bin\UIFlow-Desktop-IDE.exe
    • m5burner\bin\M5burner.exe

M5Burner

To flash the M5 Sensor with the required software, you need the M5Burner

  • Start M5Burner.exe
  • In the left menu bar, click ATOM
  • In the center screen, you see UIFLOW(Matrix) and UIFLOW(lite), click Download in the UIFLOW(matrix) panel and wait until the firmware is downloaded completely
  • At the top menu bar, choose the correct COM port and baud rate (115200 or 750000)
  • Pess BURN and to write the firmare image.
  • Type in the credentials of your local wifi for connection
  • The flash process is completed when you can read: Burn Successfully
  • Press the close button and exit the program

UIFlow-Desktop-IDE

  • Start the UIFlow-Desktop-IDE.exe
  • Select the COM port, the device (the one with the dots in a quadriangle), your favourite language and design and press OK-Button
  • The program starts and you should see the message connected in the top right corner
  • Import an example (*.m5f File)
    • At the bottom of the UIFLow-Desktop-IDE you see a small menu reading the COM port
    • Click on the small folder symbol to import a *.m5f File
    • The explorer will open, you can choose the one from the critical-workshops git repo
      • In the explorer window, navigate to critical-workshops-main\tvoc\ and select example1.m5f and click OK-Button
      • If a java-script error window appears, ignore it by clicking the OK-Button
    • To write the code to the M5Stack, click on the small button, right to the import button in the bottom menu.
    • The program will inform you in the top right corner if everything was transferred correctly.
    • Your M5Stack will show a line in alternating colors of magenta and green.

Soft-Reset the device

  • Click and hold the black screen button (entire screen), then press the small grey button at the side
  • Release the small grey button
  • When the screen LED is blue, release the screen button (you are in the USB mode)
  • You can now upload .m5f Files from the UIFlow-Desktop-IDE again

Clone this wiki locally