-
Notifications
You must be signed in to change notification settings - Fork 2
Install M5Stack on Windows
Marwe edited this page Mar 10, 2021
·
7 revisions
A working internet connection is mandatory Its recommanded to download and unzip the git repository
- Download required software from m5-website
- Drivers for ESP8266 V2 (CP2102) for Windows
- Windows 10 - Windows 10 should be able to automatically download these
- Windows 7/8/8.1 - 32-bit version - not supporting 64-bit version OS
CP210x Treiber via m5stack(dysfunctional link 2021-03-10)- Extract the CP210x Driver and install them
- CP210xVCPInstaller_x64_v6.7.0.0 for Win10x64
- CP210xVCPInstaller_x86_v6.7.0.0 for Win10x32
- CP210xVCPInstaller_Win7_v5.40.24 for Win7
- Check if the driver was installed correctly and note down the COM port
- Press (<SUPER/WIN+R>, type:
devmgmt.msc
), go to Connections (COM & LPT) and check USB Serial Port COM number. - If you see an error (e.g. Device could not be loaded, Error Code:10 etc.), try installing an alternative driver (FTDI CDM).
- Don't forget to note down the COM port after installation
- Press (<SUPER/WIN+R>, type:
- M5Burner
- UIFlow-Desktop-IDE
- Extract and start the m5Burner
- You might need MS .net Framework 3.5; Win10 usually installs it automatically, if not use this link to download the software and install it.
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
- Type in the credentials of your local wifi for connection
- At the top menu bar, choose the correct COM port and baud rate (115200 or 750000)
- Pess BURN and to write the firmare image.
- The flash process is completed when you can read: Burn Successfully
- Press the close button and exit the program
- 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.
- 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