MicroBlocks is a visual programming IDE for 32-bit microcontrollers

MicroBlocks is a visual programming IDE for 32-bit microcontrollers currently supporting the BBC Micro:bit V1/V2, Calliope mini (aka the German Micro:bit), Adafruit Circuit Playground Express and Bluefruit, Raspberry Pi Pico and Pico W, and various other boards including ESP32 and ESP8266-based boards.

I discovered MicroBlocks in the list of talks for FOSDEM 2023, and although it did not make it to my virtual schedule, I thought it was interesting to look into and write about it. In their upcoming FOSDEM talk, Bernat Romagosa and Kathy Giori refer to MicroBlocks as small, fast, and human-friendly with development guided by four guiding principles: liveness, parallelism, portability, and autonomy.

MicroBlocks

The IDE is inspired by Scratch, and as such, looks very similar to other visual programming interfaces I have used over the years. You can launch MicroBlocks from Google Chrome or Microsoft Edge on a PC (not a mobile device) without having to install anything, or if you prefer, you can download the IDE to install it on Windows, Linux 32-bit and 64-bit, macOS, or Raspberry Pi OS. The download page also comes with board-specific “Precompiled Virtual Machines” which you can load on your board.

Once the IDE is running, you can connect your preferred board over USB and update it with MicroBlocks firmware/virtual machine, before starting coding in the editor. Detailed instructions are provided for your selection of browser, OS, and 32-bit microcontroller board. At this point, you’ll want to switch to the Learn website to access a range of activities/projects for STEM education.

Learn MicroBlocks

Most electronics education platforms have good documentation in English, but it may be more difficult to find details instructions in other languages. The good news is that MicroBlocks also offers a few tutorials in German, Chinese, Dutch, Spanish, Catalan, and Turkish. The source code is available on Bitbucket which includes the Arduino/PlatformIO firmware for each supported board and the IDE written in GP Blocks.

Another reason MicroBlocks project caught my eyes is that I had seen several people share something about “MicroBlock” (note: no “s”) on Facebook last week. But it happens to be a visual programming IDE for the KidBright32 education board in Thailand, and MicroBlocks and MicroBlock are completely separate open-source projects albeit with a similar use case… You’ll find more details about MicroBlocks on their website.

Share this:

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

Radxa Orion O6 Armv9 mini-ITX motherboard
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.
2 Comments
oldest
newest
Code Skool
1 year ago

Try CodeSkool https://ide.codeskool.cc, which is a Scratch 3 derivative, much better interface, more hardware supported, and have the same interactivity, runs on ESP32 or Micro:bit immediately without any compilation

Peter Mathijssen
1 year ago

I am one of the MicroBlocks ambassadors around the world. The ambassadors program makes it easy to get in touch with someone who speaks your own language. You can find Dutch MicroBlocks tutorials for micro:bit and PicoBricks on my website https://petermathijssen.nl/tag/microblocks/.

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