MaixPy uses the
Micropython syntax, and unlike other languages like
C, it doesn't need to be compiled. In fact, you don't even need the IDE to use it, you can use the serial terminal.
IDE will facilitate real-time editing of the script on the computer, as well as being able to view the camera images in real time, and save files to the development board.
Of course, using the
IDE will take some resources from the board (for the transmission and debugging),
To use the
MaixPy IDE , the firmware must be at least
v0.3.1, otherwise it won't connect. Check the firmware and IDE version before using it, to ensure normal operation.
Check the latest version by reading the
readme.txt file. Use CDN link if download too slowly.
Windows run the installer directly by double-clicking the file. For
Linux you will need to give the file permission and execute it using the command line:
chmod +x maixpy-ide-linux-x86_64-0.2.2.run ./maixpy-ide-linux-x86_64-0.2.2.run
Extract the file to a folder
If your system does not support
7z， you will need to download
7zand install it.
Linux, you can use the terminal to decompress the file:
sudo apt install p7zip-full 7z x maixpy-ide-linux-x86_64-0.2.2-installer-archive.7z -r -omaixpy-ide # `-o` is immediately followed by the decompressed path, there is no space in between.
- After decompression, execute:
maixpyideto execute. You might want to right-click and pin it to the taskbar or start menu.
Linux： Use the following commands:
chmod +x setup.sh ./setup.sh ./bin/maipyide.sh
Open the IDE and select the model number of the development board in the upper toolbar.
Tool-> Select Board
connect to make a connection with the
After the connection is successful, the button will turn from green to red.
Below the connection button is the
Run button, which will execute the current
py file opened in the editor.
Run button again to stop the execution.
You will find ways to upload files in the
Tool dropdown menu.
Only open one serial port connection at a time, make sure to close the previous connection before opening a new one.
And try to upgrade firmware or IDE if connect fail.
When the program runs error, a message box will prompt the error, but the error information may not be complete, please find more detailed error information in the terminal output
If necessary, disconnect the IDE and run the program using the serial terminal(maybe you need save as file then run this file) only to view the print for troubleshooting
If you submit an issue (bbs, group, github issue, etc.), in order to resolve the issue quickly, be sure to bring the complete information described above