Arduino Lab for MicroPython – An experimental cross-platform MicroPython IDE for Arduino boards

Arduino boards have traditionally been programmed with C-like language in the Arduino IDE, but with the Arduino Lab for MicroPython, Arduino added MicroPython to several official Arduino boards.

In the words of the Arduino Team, “not an official product yet, an experimental tool”, but I would not be surprised if it becomes an official IDE eventually as the company collaborated with Damien George, the creator of MicroPython, to port the official the virtual machine to a number of Arduino products, and Murilo Polese to develop the Arduino Lab for MicroPython cross-platform IDE for MicroPython.

 

Arduino Lab for MicroPython

The IDE looks familiar… Oh yes, I see it now, it’s basically the Arduino IDE, but for MicroPython… 😉  and many of the same features including supporting connection with a board, code upload, file transfer, plus a Python-specific interactive REPL shell.

Arduino Lab for MicroPython features so far:

  • MicroPython’s Read Eval Print Loop (REPL)
    • Enter paste mode
    • Enter raw repl
    • Software reset
    • Can work with non-Arduino boards
  • File system management (Disk and MicroPython File System)
    • Create, Rename, Remove
    • Upload, Download
  • Text editor with Python syntax highlight
  • Code execution controls
    • Run what’s on text editor
    • Stop (keyboard interrupt)
    • Soft reset

The tool relies on the Electron framework and the Alpha release can be downloaded for Windows, macOS, and Linux on GitHub where you’ll also find the source code.

I’ve installed it in Ubuntu 20.04. The top menu is quite basic, so this indeed looks to be a work in progress. I’m not sure which exact boards are supported either, but based on the screenshot above, at least we know Arduino Portenta boards should be supported.

Arduino Lab for MicroPython Ubuntu

It’s not the first MicroPython IDE from Arduino, as the company partnered with OpenMV to port their computer vision virtual machine to various Arduino products and most notably the Nicla Vision with the OpenMV Firmware & IDE. We’ll have to wait and see to find out whether the MicroPython IDEs will become official tools for Arduino boards.

Via Arduino Blog

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
5 Comments
oldest
newest
WereCatf
WereCatf
1 year ago

C-like language

It’s not “C-like”, it’s C++. Depending on the Arduino-environment you’re using, some features of the standard libraries may be missing or have reduced functionality for the sakes of lower size of the resulting binaries, but it’s still C++.

Georgi Angelov
1 year ago

I’m a big tease 🙂
The GIF is from Raspberry Pi Pico – VSCode / PlatformIO ( before month )
https://twitter.com/TektonikaInfo/status/1584891518305046530

1 year ago

“I’m not sure which exact boards are supported either” – Arduino currently offer MicroPython firmwares for the Nano 33 BLE and BLE Sense, the Nano RP2040 Connect, and the Portenta. https://docs.arduino.cc/learn/programming/arduino-and-python

Reppad
Reppad
1 year ago

I don’t know if it works fine for all boards at this stage of development but the tool supports non arduino board like RP2040, ESP32/ESP8266… The tool just needs to access a MicroPython REPL over serial port.
Tested and approved !

Khadas VIM4 SBC