Wednesday, April 26, 2017

The Micro:bit was given to every UK 6th grader last year and now it is available here in the US. This is an amazingly function single board computer and there are already quite a few projects, lessons and tutorials available online to get you (and your kids) started. — Douglas

One of the coolest features of the micro:bit is its ability to be programmed with a number of languages:

Microsoft MakeCode block editor — Similar to Scratch and Blockly, users can drag and drop blocks to create programs. Teachers, especially, have experienced success using block-based programming languages in schools and clubs, including elementary schools.

JavaScript — As it turns out, the block editor in MakeCode is interpreted to JavaScript on the back end. If you click “JavaScript” at the top of the page in MakeCode, you can see and edit the JavaScript version of your program.

MicroPython — MicroPython is a subset of the Python language and was developed specifically for microcontrollers. If you’re not a fan of online editors, I’ve had success with the mu editor for creating MicroPython programs.

C++ — The micro:bit is mbed-enabled, which means programs are compiled to a .hex file that you copy and paste into the root directory of the micro:bit, which enumerates as a mass storage device on your computer. It’s a pretty seamless and slick process, and if you want to get your hands dirty with C++, you can use the mbed “Compiler” editor to write code for the micro:bit.

The micro:bit was built for the classroom, and teachers have seen some success using the board in their classes. However, that doesn’t mean it’s not fun for nonstudents. It’s packed with sensors and features that make building projects engaging and straightforward.