Skip to content

Micro:bit

January 10, 2025
September 12, 2018

Micro:bit Educational Foundation | micro:bit
Micro Bit - Wikiwand

carlosperate/awesome-microbit: A curated list of BBC micro:bit resources.

v1.5, 43x52mm, with builtin:

bbcmicrobit/hardware: Hardware designs for the BBC micro:bit
microbit-foundation/microbit-v2-hardware: The schematic and Bill of Material for the BBC micro:bit V2
Micro:bit Hardware V2 has builtin speaker, microphone, touch sensor, two more LEDs, reset/sleep button
1.5 micro:bit revision combined motion sensor
1.3x micro:bit revision individual accelerometer and magnetometer
The new micro:bit V2 : Help & Support
Overview | micro:bit
How to identify the version number of your micro:bit : Help & Support

micro:bit Power Consumption | REUK.co.uk

Getting Started with micro:bit - YouTube by SparkFun
micro:bit Tutorial Series - YouTube
智能学习-micro:bit 开发板
micro:bit周边配件-亚博智能旗舰店-天猫Tmall.com

Bitty Software
IchigonQuest for micro:bit - YouTube

micro:bit Power Consumption | REUK.co.uk

microbit & accessories from Kitronik
Micro:bit 技術發展歷程觀察 – circuitcellar
Micro:bit Zone | Robots Got Talents

Pinout/GPIO

pinout
micro:bit pins

Edge Connector Data Sheet
Note different pins have different pull up/down resistance
Using shared pins will trigger unexpected behaviors. Avoid them if possible.

Power Supply
max input current: 120mA
power usage: 30mA
max current for pins: 90mA

BBC micro:bit pinout - Espruino
micro:bit Analog Inputs | The Meandering Pi and Friends using 1.2V as reference for ADC

micro:bit IoT In C - First Steps With The GPIO

吉哥的分享 - micro:bit 的 P0 腳位按法 the touch sensor response to touch and remove, do not touch and hold

see learn-to-code-kids.md#capacitive-touch-sensor

Education

Intro to CS - Microsoft MakeCode !important, 14 week Introduction to Computer Science course
From Getting Started to Games - starting Computer Science with the BBC micro:bit | micro:bit
Physical Computing with the Micro:Bit 10 Lesson Unit on Physical Computing with the Micro:Bit
microbit for primary schools – Schemes of work, lesson plans and resources for teachers
Lessons - Microsoft MakeCode
hastklass micro:bit of Things

Coding Environment

Let's Code | micro:bit Web Editors

.hex file format

.HEX file format
Python source code is embedded at address 0x3E000, source code in the above link.
The new universal hex file format that supports both V1 and V2 extends Intel HEX and should be larger in size (~1.8Mb vs ~700Kb)

Home | microbit-universal-hex
microbit-foundation/spec-universal-hex: Specification for the micro:bit Universal Hex format.
microbit-foundation/microbit-universal-hex: TypeScript/JavaScript library to create micro:bit Universal Hex files.

Universal Hex Creator
Universal Hex Splitter

Locking and unlocking Makecode Editor .hex files : Support
pxt/source-embedding.md at 437f53ca6311335c7f3f75a062ec1079b4e7806a · Microsoft/pxt · GitHub
JavaScript source is embedded as JSON at 0x20000000.
Locking and unlocking Javascript Blocks Editor .hex files : Support

Intel HEX - Wikiwand
Intel HEX file Viewer
bialix/intelhex: Python IntelHex library
nrf-intel-hex | Yet another parser for “Intel HEX” files. JavaScript

JavaScript

Microsoft MakeCode for micro:bit
Reference - Microsoft MakeCode
Valid JavaScript can also be converted to blocks

Device - Microsoft MakeCode

In JavaScript mode, the left panel have an "Explorer" tree in which you can see the source code of the modules (built-in and external) used in project. You can even delete Block mode in "Explorer".

Microsoft/pxt-microbit: A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode

Micro:bit offline App

Makecode-Kittenbot
真·Makecode 离线版本下载,串口演示教程(201811111 更新 3.4 版本) - Micro:bit&Robot:bit - Kittenbot 小喵科技——专注图形化编程教育 - Powered by Discuz!

When you share the project, an unique ID will be generated:
https://makecode.microbit.org/_EzCf5hfdxif2

The ID can be used to embed the simulator in web site.

<div style="position:relative;height:0;padding-bottom:81.97%;overflow:hidden;">
  <iframe
    style="position:absolute;top:0;left:0;width:100%;height:100%;"
    src="https://makecode.microbit.org/---run?id=_EzCf5hfdxif2"
    allowfullscreen="allowfullscreen"
    sandbox="allow-popups allow-forms allow-scripts allow-same-origin"
    frameborder="0"
  ></iframe>
</div>

PXT

Microsoft/pxt: Microsoft MakeCode (PXT - Programming eXperience Toolkit)
Microsoft/pxt-microbit: A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
pxt-microbit - npm

Command Line Tool

also depends on C Runtime

kadok0520/pxt-microbit - Docker Hub
趣味の電子工作: chibi:bit (micro:bit)の PXT 開発環境(Microsoft Make Code)を自宅に構築する

Extensions (libraries)

Extensions
MakeCode extensions
pxt.json Manual Page
Naming Conventions
Defining blocks
Extension localization files

makecode-extensions
microsoft/pxt-common-packages: Common packages for Microsoft MakeCode editors
tinkertanker repositories
shaoziyang/microbit-lib: all kinds of microbit python drives, libs, examples, etc.

# once
npm i -g pxt

# in project folder
pxt target microbit
# generates `built/`
pxt build

# run MakeCode locally
pxt serve
# upload `built/binary.hex` in extension

lioujj (lioujj) / Repositories
吉哥的分享 - micro:bit積木

Microsoft/pxt-neopixel: A Neo-Pixel package for pxt-microbit
Microsoft/pxt-sonar: A Microsoft MakeCode package to handle sonar sensors and pings
philipphenkel/pxt-powerfunctions: MakeCode package that turns your micro:bit and Calliope-Mini into a remote control for LEGO Power Functions
Microsoft/pxt-bluedot: A PXT package to support the BlueDot app - beta
Tinkertanker/pxt-oled-ssd1306: Tinkercademy MakeCode package for using the SSD1306 OLED controller with micro:bit
sparkfun/pxt-gamer-bit: SparkFun gamer:bit package for Microsoft MakeCode - beta
MonadnockSystems/pxt-dht11

seasonedbits/pxt-color-sensor: Extension for TSC3200 color sensor module

microbit-lib/lcd/I2C_LCD1602 at master · shaoziyang/microbit-lib
KittenBot/pxt-powerbrick

Espruino

BBC micro:bit - Espruino

Another JavaScript runtime, no block programming support

Scratch

Scratch - micro:bit
首页 - Mind+ 重装归来 - Mind+官网

Scratch cards for micro:bit | micro:bit
EduMakerLab STEAM 實驗室: 小玩 Scratch 3.0 之 micro:bit 篇
Micro:bit Scratch 課程系列介紹 :: Microbit & STEAM Shop

MicroPython

MicroPython API is synchronous and do not implement all of Python 3's feature

micro:bit Python Editor
microbit-foundation/python-editor-v3: Micro:bit Educational Foundation Python Editor V3

mytechnotalent/Python-For-Kids: A FREE comprehensive online Python development tutorial FOR KIDS utilizing an official BBC micro:bit Development Board going step-by-step into the world of Python for microcontrollers.
Python For Kids #python #micropython #microbit - YouTube

bbcmicrobit/micropython: Port of MicroPython for the BBC micro:bit
BBC micro:bit MicroPython documentation
whaleygeek/microbit_python: Various micro:bit python code examples

Tour of MicroPython on BBC micro:bit with Tony D! @micropython @microbit_edu - YouTube
MicroPython on the micro:bit in 60 minutes - RARESchool

MicroBlocks

MicroBlocks: Small, Fast, Human Friendly

Over serial/network

Serial - Microsoft MakeCode
How do I use the serial port on Windows : Support
Mbed OS Documentation | Tutorials

The micro:bit should show up as /tty/USB* or /tty/ACM after plugging-in.
Add your user to the group of the device, e.g. sudo usermod -G dialout -a ${USER}
Baud rate: 115200, 8N1

吉哥的分享 - micro:bit 數字鋼琴
吉哥的分享 - 序列埠和 micro:bit 溝通

That IoT Thing: Pairing a BBC micro:bit with a Raspberry Pi using BlueZ
Raspberry 樹莓派 & Micro:bit :: Microbit & STEAM Shop

C runtime

Used by upper layers, you can also use it directly.

micro:bit runtime
lancaster-university/microbit basic wrapper around the DAL
lancaster-university/microbit-dal
lancaster-university/microbit-samples

micro:bit IoT In C
Micro:bit Programs
Programming using C/C++ (Offline IDE Setup) | BBC Microbit - Hackster.io

Home | Mbed
Free open source IoT OS and development tools from Arm | Mbed
yotta Documentation - yotta

QEMU 4.0 adds micro:bit emulation support - QEMU

Rust

therealprof/microbit: A Rust crate for BBC micro:bit development
Rust on BBC micro:bit using Windows • Flames of Code

Arduino IDE

sandeepmistry/arduino-nRF5: Arduino Core for Nordic Semiconductor nRF5 based boards
Overview | Micro:bit with Arduino | Adafruit Learning System

08 利用 Blynk APP 控制 - 阿玉 micro:bit 研究區
24 Micro:bit with Arduino - 阿玉 micro:bit 研究區

Updating Firmware

Firmware | micro:bit
Troubleshooting downloads with WebUSB - Microsoft MakeCode
DAPLink on micro:bit (KL26Z) | Mbed

Android test apps

How to pair your BBC micro:bit with an Android phone or tablet - YouTube

micro:bit Blue - Apps on Google Play
microbit-foundation/microbit-blue

bitty blue - Apps on Google Play
Bitty Software

Networking

Networking with the micro:bit - Nominet

Breakout boards

micro:bit 转接板 micro:bit 扩展板 IOBIT ittenBot 创客教育套件-淘宝网 ¥28 (¥18), HJduino, 20pins x 3, micro USB power, buzzer, LEGO compatible, ~= KittenBot IOBIT v1

Micro:bit 3V 传感器扩展板 Sensor:bit-淘宝网 ¥49.9 (¥39.9), ElecFreaks Sensor:bit, 20pins x 3, buzzer, separate i2c pins, LEGO compatible

BBC micro:bit GPIO 扩展板 B 直接插入方便使用-淘宝网 ¥14.85, 20pins face up, with 6+4 crocodile clip pins

微雪 micro:bit 接口扩展板 microbit 转接板 IO 扩展板 模块-淘宝网 ¥44.5, 20pins x 2, with 3+2 crocodile clip holes

micro:bit GPIO 扩展板 micro:bit 创客教育 Python 编程开发板-淘宝网 ¥35, 13+8pins face up, with 9+2 crocodile clip pins

【YwRobot】英国 BBC Micro:bit 金手指扩展板转接板 Breakout MINI-淘宝网 ¥15, 13pins face up/down/side

Microbit 开发板扩展板 Python 编程创客教育 micro:bit 转接板 T 型-淘宝网 ¥24.9, T-shaped for breadboard, mini USB in, 5V out
【YwRobot】英国 BBC Micro:bit 扩展板 主板转接板面包板 Breakout-淘宝网 ¥32.76, T-shaped for breadboard, 20pins face up, with crocodile clip pins
micro:bit T 型扩展板转接头 板载接口 micro:bit 全兼容 Python 编程-淘宝网 ¥23, T-shaped for breadboard, Keyes Red
Micro:bit GPIO 扩展板 Breakout 转接板拓展板 microbit 亚博智能-淘宝网 29.5, pins face down for breadboard

DFROBOT 出品 Micro:Mate——超迷你的 micro:bit 多功能 I/O 扩展板-淘宝网 DFRobot Micro:Mate

microbit Octopus:bit 八爪鱼拓展板 breakout board Micro:bit-淘宝网 ¥83.90, Elecfreaks Octopus:bit

MBot 拓展板 Micro:bit 电机扩展板-淘宝网 ¥149.9 Elecfreaks Robit

恩孚microbit驱动扩展板编程积木套装microbit电机舵机传感器扩展-淘宝网 ¥119, Elecfreaks motor:bit

Microbit Micro:bit 扩展板机器人/品牌原装 Python 编程创客教育-淘宝网 ¥111.6, LOBOT

microbit 可编程电子积木/DaDa:bit 套件/创客教育 micro:bit 机器人-淘宝网 ¥394, LOBOT DaDa:bit

Microbit Micro:bit 机器人扩展板 Magishield 青少年创客教育-淘宝网 ¥129, Magishield

Kittenbot

a bit expensive, I personally prefer Yahboom

KittenBot
KittenBot/kittenbot-docs
欢迎来到 Kittenbot 的文档与教程 — kittenbot docs 文档

Micro:bit 教程汇总目录(20180710 更新) - Micro:bit&Robot:bit - Kittenbot 小喵科技——专注图形化编程教育 - Powered by Discuz!
Micro:bit&Robot:bit - Kittenbot 小喵科技——专注图形化编程教育 - Powered by Discuz!

microbit 转接板 microbit 扩展板 IOBIT KittenBot 小喵科技-淘宝网 v2 ¥44.53, KittenBot, 20pins x 3, micro USB power, buzzer, 2.5mm, LEGO compatible

micro:bit 能量魔块扩展板 Armourbit 图形编程 兼容乐高 小喵科技-淘宝网 ¥139, KittenBot, 20pins x 8, 4pins PH 2.0 x 7, PH2.0 3-3.7V power, buzzer, LEGO compatible

micro:bit 扩展板 microbit 中小学入门 Robotbit V2.1 Python 编程-淘宝网 ¥99, KittenBot Robot:bit
Robotbit -robotics expansion board for micro:bit – KittenBot

亚博 Yahboom

Chinese study resources requires access code
Use the global site (change yahboom.com to yahboom.net)

Bitbot

Microbit Car Kit Support MakeCode Programming APP IR Control | Yahboom
BBC Micro:bit 扩展板 microbit 转接板拓展板 DIY 智能小车 亚博-淘宝网 ¥117.39, 亚博 Bitbot Board/mbit

智能学习-microbit 扩展板(专业级)
micro:bit expansion board
YahboomTechnology/Microbit-professional-expansion-board: An professional expansion board is designed specifically for micro:bit.

YahboomTechnology/Building-bit-starter-kit: Yahboom building:bit block kit based on micro:bit

亚博智能Micro:bit机器人小车套件 Microbit图形化python编程STEM-tmall.com天猫 智能小车 set (¥228) is a better deal
micro:bit smart robot YouTube
智能学习-Mirco:bit 智能小车 h0zd
micro:bit robot
YahboomTechnology/Microbit-Smart-Car: Yahboom micro:bit smart robot car with IR and APP

MakeCode Extension
lzty634158/yahboom_mbit
lzty634158/yahboom_mbit_en: This is yahboom_mbit English version.

Super:bit v1

亚博智能 Micro:bit扩展板GPIO积木电机舵机microbit传感器驱动板-tmall.com天猫 ¥99, 亚博 Super:bit
智能学习-Super:bit 多功能扩展板 4hnu
Super:bit_expansion_board

Spider:bit积木蜘蛛
Spider:bit-Microbit
YahboomTechnology/Spider-bit: Yahboom programmable Spider:bit based on Micro:bit compatible with LEGO

Arm:bit积木机械臂
Arm:bit
YahboomTechnology/Arm-bit: Yahboom programmable Arm:bit based on Micro:bit compatible with LEGO

Omni:bit积木全向车
Omni:bit
YahboomTechnology/Omnibit: Yahboom programmable Omni:bit smart robot car with Mecanum Wheel

Spin:bit积木摩天轮
Spin:bit
YahboomTechnology/Spin-bit: Yahboom programmable Spin:bit based on Micro:bit compatible with LEGO

Running:bit积木小车
Running:bit
YahboomTechnology/Running-bit: Yahboom programmable Running:bit based on Micro:bit V2 compatible with LEGO

Tumble:bit积木平衡车 8dtp
Tumble:bit
YahboomTechnology/Omnibit: Yahboom programmable Omni:bit smart robot car with Mecanum Wheel

Biped:bit
YahboomTechnology/Biped-bit: Yahboom programmable Biped:bit based on Micro:bit compatible with LEGO

MakeCode Extension
lzty634158/SuperBit: microbit 多功能扩展板 Chinese only
YahboomTechnology/SuperBitLib
YahboomTechnology/OmniBitLib

Super:bit v2

Super:bit 2.0扩展板
Yahboom Microbit Expansion Board with Servo Motor Sensor PH2.0 Interface

亚博智能 Micro:bit扩展板GPIO积木电机舵机microbit传感器驱动板-tmall.com天猫 ¥220, SuperBit v2 board, 8 sensors, Lego parts

Super:bit 2.0扩展板
Super:bit Expansion Board
YahboomTechnology/Superbit-expansion-board: Yahboom Super:bit expansion board for micro:bit

MakeCode Extension
YahboomTechnology/SuperBitLibV2

World of Module

Lego compatible sensors

Microbit魔块世界套件详情 PH2.0 breakout board, 10 sensors, Lego parts
8 sensor kit is missing have 7-segment and button
SuperBit v2 and Building:kit's advanced kit are better options
亚博智能Microbit机器人套件编程小车电子积木传感器python开发板-tmall.com天猫 ¥414
Yahboom World of Module Programmable Sensor Kit for Micro:bit V2 board

Microbit Sensor Expansion Board

Microbit魔块世界套件
World of Module Sensor Kit
YahboomTechnology/WOM-Sensor-Kit-For-Microbit: Yahboom world of module programmable sensor kit for Micro:bit V2 board

MakeCode Extension
YahboomTechnology/Module-World

自选版
亚博智能 机器人传感器模块电子积木套件小车microbit树莓派pico2-tmall.com天猫 自选版
魔块世界传感器
World of Module Kit

Building:kit

Super:bit + World of Module

亚博智能microbit编程积木机器人传感器套件图形化Python小车教育-tmall.com天猫 ¥354, SuperBit v2 board, motors, 8 sensors (Advanced kit), 358 Lego pieces
Yahboom 16 in 1 Building:bit Superkit Programmable Kit for Micro:bit

Building:bit Superkit
YahboomTechnology/buildingbit-super-kit: Building:bit Super kit Programmable building block kit Based on Micro:bit

Box sets

All of these are rip-offs

智能学习-micro-bit 套件
¥306
Micro:bit Microbit 入门初学者套件 Python 图形编程 中小学教育-tmall.com 天猫
Micro:bit 开发板扩展板 青少年入门套件 图形编程 microbit 转接板-淘宝网

Projects

Projects - Microsoft MakeCode
The BBC micro:bit , lesson packs and accessories – ETC Educational Technology Connection (HK) Ltd

BBC micro:bit | Free Platform for Coding, Making and Inventing | Make | Tech Will Save Us
BBC micro:bit | Micro BMO | Free Platform for Coding, Making and Inventing | Make | Tech Will Save Us
BBC micro:bit | Micro Pet | Free Platform for Coding, Making and Inventing | Make | Tech Will Save Us
Math Training Thru Micro:bit Icons (ClientVersion) - Hackster.io

BBC micro:bit | 101 Computing

Micro:bit - Getting Started — UCL BBC micro:bit tutorial MicroPython, good tutorial on built-in sensors

micro:bit - Maker Education
Microbit Project Ideas - YouTube
jffwferq (my scripts) - BBC micro:bit
智能学习-micro-bit 套件
智能学习-Mirco:bit 智能小车 h0zd
micro:bit | Tutorials - learn.sparkfun.com

Micro:Bit 手柄试用+DF 电机驱动板体验:红汽车新生记(另附.....—Micro:bit 论坛—DF 创客社区 - Fix BlockyTalky clashing with MagicPad

classic beatbox - Microsoft MakeCode

ElecFreaks Blog
How To Make A Six-feet Micro:bit Insect - Blog

ornberg/microbit-quiz

Microbit Example | Scoop.it
阿玉 micro:bit 研究區
阿玉 MAKER 研究區(2018 年版)
嘰哩呱啦 ACE (2 代)
擁有英國血統!BBC 強打的 Micro Bit!不容錯過!-INPLUS

25 上音樂課了 - 阿玉 micro:bit 研究區
29 電流急急棒 - 阿玉 micro:bit 研究區

micro:bit plant water pump - YouTube
Make Your BBC Micro:Bit Talk Using MicroPython - micro:bit Projects
Speech — BBC micro:bit MicroPython documentation

micro:bit - SparkFun Electronics
Microbit 自动浇水套件水泵灌溉浇花模块土壤湿度检测自动 DIY 套装-淘宝网 ¥88
Microbit 机器人套件/扩展板机械臂小车 Armbit/小 R 科技创客教育-淘宝网 ¥478
Micro:bit 智能小车机器人套件 Microbit 图形化编程开发板 STEM 亚博-淘宝网 ¥228, 亚博 board
Qbit/micro:bit 创客教育套件 microbit 编程机器人平衡小车 LOBOT-淘宝网 ¥279.84, balance car, LOBOT board
BBC micro:bit 小车 Ringbit car 迷你智能小车 智能机器人-淘宝网 ¥138, servo as motor

亚博
智能学习-Mirco:bit 智能小车 ¥228/¥330
智能学习-HelloBot 机器人

首页-KittenBot-淘宝网 expensive
Kittenbot Home
Kittenbot
2. Robotbit V2.0 详解 — kittenbot docs 文档
micro:bit Robotbit LEGO 乐高 伺服电机 舵机 makecode 编程 四个-淘宝网


CALLIOPE mini

Calliope mini is a micro:bit compatible board pushed by German government

CALLIOPE | About mini
The Little Computer That Could
Introducing the Calliope mini - YouTube

BPI:bit

An ESP32-Based Micro:bit Clone – Hackster Blog
BPI-UNO32 - Banana Pi Wiki