Arduino Announces MicroPython Support

Arduino has announced that it is 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).

“Expanding on this initial experience we were lucky enough to partner with the creator of MicroPython, Damien George, to port the official virtual machine to a number of Arduino products.”

Source: Arduino

Arduino, which has been working on C and C++ for years, will now allow more developers to work with Arduino via MicroPython.

A nice option for those who are familiar with Python and want to build circuits without dealing with complex programming.

MicroPython becomes 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 collaborated with developer Murilo Polese to create the Arduino Lab for MicroPython, a cross-platform MicroPython-specific integrated development environment that is heavily influenced by the popular Thonny IDE layout. Arduino Lab for MicroPython is a user-friendly interface that allows you 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 (Source: 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!”

Arduino Lab for MicroPython is now available for 64-bit Windows, macOS, and Linux hardware on x86 processors at labs.arduino.cc. The MicroPython firmware and instructions are available on the Arduino documentation site, but only for the Arduino Nano 33 BLE Sense, Nano RP2040 Connect, and Portenta H7 boards. At the time of writing, Arduino had not announced a timetable for bringing it to other models.

Source: hackster.io

Leave a Reply

Your email address will not be published. Required fields are marked *