Arduino has announced that it is folding MicroPython, the microcontroller-focused Python port designed for resource-constrained devices. Into its development ecosystem — partnering with MicroPython creator Damien George to bring the virtual machine to a range of official Arduino development boards.
“We’ve recently been experimenting with the Python language as a possible extension for our programming platforms. Considering how it has become the number one language for many types of users.” The Arduino team explains of the shift. “Specifically we’re looking at MicroPython, the version of Python that runs on microcontrollers. We’ve created a partnership with OpenMV. Which ported their computer vision oriented virtual machine to some of our products and enabled us to do incredible stuff with the Nicla Vision (for example).
Arduino has announced the second officially-supported language in the company’s history
“Expanding on this initial experience we were lucky enough to partner with the creator of MicroPython, Damien George, to port the official the virtual machine to a number of Arduino products.”
Arduino has announced the second officially-supported language in the company’s history: MicroPython. (?: Arduino)
It’s a big shift for Arduino, which for years has focused on programming in C/C++ with its fork of Wiring to abstract the complexities of handling hardware aware from the user. MicroPython, then, becomes only the second officially-supported Arduino language in the project’s history. But while it is official, it won’t be found as an option in the official Arduino IDE any time soon.
Instead, Arduino has worked with developer Murilo Polese on the Arduino Lab for MicroPython. A cross-platform MicroPython-specific integrated development environment that borrows heavily from the popular Thonny IDE layout. Designed for ease of use, Arduino Lab for MicroPython offers a way to connect to compatible Arduino microcontroller boards, access the read, evaluate, print, loop (REPL) console, and write programs to be uploaded to the virtual machine running on the microcontroller.
At launch, Arduino’s official MicroPython port is only available on three boards — including the Portenta H7 range. (?: Arduino)
“This is not an official product yet,” the Arduino team warns. “It’s an experimental tool — but we wanted people to play with it so we created a new website, ‘Arduino Labs,’ where we’ll post experimental tools for people to try out and give us feedback. It’s not guaranteed that they will become fully released products. In the meantime, enjoy them and try them out!”