Arduino Lab for MicroPython
https://lab-micropython.arduino.cc/
Micropython Essentials
https://docs.arduino.cc/micropython/basics/essentials/
Download the latest desktop version of the editor here:
Install by simply unzipping in a folder the compressed file (based on your platform) and launching the executable file inside the folder.
You can find the source code in this repository. Previous releases can be found here. This is an experimental pre-release software, please direct any questions to Github issues.
MicroPython is an implementation of the Python® programming language that comes with a subset of the Python® standard library, and is designed to run on microcontrollers.
A great advantage of using MicroPython is that it is easy to learn and has great documentation for a number of boards. At the moment, there are four boards that can be used together with MicroPython, you can read more about them in the compatible boards section.
Arduino also supports OpenMV's branch of MicroPython, and through the OpenMV IDE you can install MicroPython, connect/disconnect your board and upload your scripts.
Arduino boards officially supporting MicroPython.
There's quite the difference between how we program an Arduino board with the Arduino IDE, using the Arduino programming language (based on C++), and how we program it using MicroPython. When uploading what we call a sketch to a board, we first compile the sketch we write, then upload it to the board, replacing the old sketch with a new.
To use MicroPython, we first need to install it on the board. Then, we can load a
As MicroPython is already running on the board, we don't need to compile and upload the code, we only need to provide the instructions (which is done via serial communication).
When installing MicroPython on a board, it can only run MicroPython scripts, until we "uninstall" it. To put the board back in "normal mode" we need to reset the bootloader, which is a unique process for each board. These instructions are available in the compatible boards section in this article. Basically, you have to put the board in bootloader mode and upload any .ino sketch.