Please watch the demo video.
Please referance to this article.
I wrote an environment setup script in \python_gui\tools\environment_setup.py, which could help you install modules below, but you must first install python 3.x to run this script.
我写了一个环境建立的脚本在:\python_gui\tools\environment_setup.py, 它可以帮助你安装下面的模块, 但是首先你得安装Python 3.x来运行这个脚本
0, Make sure you have all the required hardware and software.
1, Download the MCU program and connect USB2UART module, then restart MCU.
2, Run GUI on a Windows PC:
0, Open the folder: \python_gui
1, Open a terminal enter and run cmd: python main.py
Or Run main.py in PyCharm IDE.
2, Scan the serial port and select the right one to connect to the MCU.
3, Do whatever you want...
0,确认你具备需要的硬件与软件
1,下载单片机程序并连接串口到单片机,然后复位单片机
2,在Window电脑上运行图形用户界面:
0,打开文件夹:\python_gui
1,打开中端输入并运行:python main.py
或者在PyCharm中运行main.py
2,扫描串口并选择正确的连接到单片机
3,想干嘛干嘛