Physical computing and robotics for young learners with the micro:bit V2 (no tablet/laptop/desktop required):
- arcade shields for the micro:bit V2 enable “on the go” programming with familiar game console controls
- kid-friendly, icon-based, structured code editor and programming language
- lots of sample programs to get started
- translated in 20+ languages
- remote control a micro:bit robot using MicroCode to follow lines, avoid obstacles and more.
- extend and program your creation with Jacdac accessories (LEDs, servos, …)
Regardless of whether you are using the Arcade shield or web app, you first need to download the (localized) MicroCode hex file to your micro:bit V2. There are two ways to do this:
- visit the web app and follow directions to connect your micro:bit and automatically download over WebUSB
- visit the localization section to download the MicroCode hex file to your computer and copy to your micro:bit V2 (plugged into your computer via USB).
Three Arcade shields for the micro:bit V2 are available on the market today, as shown below. After downloading the MicroCode hex file to your micro:bit V2, whenever you plug the micro:bit into the Arcade Shield, MicroCode should start running. Your MicroCode program is always live and runnable. Once you remove the micro:bit from the shield, the program will persist and continue to run (assuming the micro:bit is still powered, of course).
|Kittenbot's newbit Arcade shield||ELECFREAK's micro:bit Arcade shield||ICShopping's Game:bit Arcade shield|
|Small screen. No battery or battery pack included. 3.7V JST power jack on back. One Jacdac port.||Assembly required. Small screen. AAA Battery pack on back. One Jacdac port.||No assembly required. Large screen and 3d-printed enclosure with LiPo battery inside. Two Jacdac ports.|
Remote control a micro:bit robot using MicroCode to follow lines, avoid obstacles and more.
MicroCode supports accessories to extend the micro:bit device with LEDs, servos, motors, … In this video, we launch an LED animation when a clap is detected. The accessories are powered by Jacdac.
MicroCode is community translated through Crowdin. Please read on localization to get started.
- Basque (download)
- Catalan (download)
- Chinese (Simplified) (download)
- Chinese (Traditional)) (download)
- Croatian (download)
- Dutch (download)
- English (download)
- German (download)
- Filipino (download)
- French (download)
- French (Canada) (download)
- Italian (download)
- Japanese (download)
- Korean (download)
- Polish (download)
- Portuguese (Brazil) (download)
- Russian (download)
- Spanish (download)
- Spanish (Mexico) (download)
- Turkish (download)
- Welsh (download)
The MicroCode web editor is at aka.ms/microcode. We recommend using the keyboard navigation:
Downmoves the cursor
Rightkeys will wrap around in the editor on the same page
Upkey on top of the screen will act as
back. It will go back the pages until page 1 is in focus, then pressing up will go back to the start screen.
Downkey will wrap around the pages
Page Upto go to the next page,
Page Downto go to the previous page
- Copy the URL to share your program.
Automatic download to micro:bit V2
When the editor does not detect any micro:bit, it will automatically prompt you with instructions on how to connect. Once your micro:bit V2 is paired, the web editor will be able to download your MicroCode program to your micro:bit. This happens on every edit, so your program is always up-to-date (and running)!
If your micro:bit disconnects, you will see a micro:bit icon show up on the upper left corner of the editor. Click on that button to reconnect again.
We want to make the editor as accessible as possible; please send us suggestions to improve its accessibility.
MicroCode can be accessed with the keyboard:
- Arrow keys to move cursor
- Keep moving the cursor
Upto go back a screen, if
Backspaceis not available; for example, if you are using a 5-input switch panel.
- Keep moving
Leftto wrap around the user interface; for example, if you are using a 2-input switch panel.
MicroCode supports game console controllers compatible with Web Gamepad.
The editor integrates with existing screen readers, like NVDA.
Tooltip read aloud
By clicking on the
tooltip reader button at the bottom of the editor, the tooltips will be read aloud. This may be useful for students who are still learning to read.
There are three slots for saving user programs for later load/restore. From the editor, click on the disk icon in the upper left to select which slot to save the current program to. From the home screen, select the disk icon to load a program from one of the three save slots.
- Microsoft Garage for kick starting this project during the 2022 Microsoft Hackathon.
- @loretod101 on advising on accessibility features, including switch access support.
- @BillSeiver on feedback for tiles, including the
- @eliseli_ for the Spanish translation
- Post your suggestions or questions at https://forum.makecode.com/c/60.
This project is open source and welcomes contributions and suggestions at https://github.com/microsoft/microcode. Read the developer instructions.