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:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

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

ROCK 5 ITX Rockchip RK3588 mini-ITX motherboard

5 Replies to “Arduino Lab for MicroPython – An experimental cross-platform MicroPython IDE for Arduino boards”

  1. 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++.

    1. 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 !

Leave a Reply

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

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...
Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...