When new hardware arrives being Arduino-compatible is still important, but increasingly new boards also advertise support for a higher level language, with support for MicroPython, and Adafruit’s custom fork CircuitPython, being firmly in the lead.
The Adafruit Gemma M0 was the first board to run CircuitPython out of the box, others have followed including the Metro M0 Express, Metro M4, Feather M0 Express and, just yesterday, the new Feather M4.
The new release features newly added support for Arm Cortex-M4 support, in the form of the Microchip SAM D51, alongside preliminary support for the new Nordic Semiconductor nRF52 series of Bluetooth LE chips which is now starting to appear on production boards. A full list of changes is available on the release page on GitHub, amongst which is the promise of better memory utilisation.
Mu is a simple code editor that works with a number of boards, including the BBC Micro:bit and Adafruit’s CircuitPython boards. Written in Python, it is cross-platform and runs on MS Windows, Apple’s macOS, Linux and the Raspberry Pi. Like the Arduino development environment, Mu has a serial console built in, allowing you immediate feedback from your board.
The latest Mu release, 1.0.0-beta.17, has a number of changes. Although perhaps the most important to makers is a major re-write of how MicroPython code is flashed onto the BBC Micro:bit, along with an update to use the latest version of MicroPython for the Micro:bit. The release is feature complete for 1.0, and is the final beta version before a release candidate later this week, and the final 1.0 release sometime next week.
It’s fascinating to see the maturing ecosystem around the use of Python on microcontrollers. Because I’m starting to think that, with our hardware now ‘good enough’ to do most of what we need, the next generation of micro-controllers will be defined, not by the hardware, but by their user experience. High level language support brings more accessibility, and a better user experience, and that can only be a good thing.