Code & Make with the BBC micro:bit on PC, Mac, Chromebooks, iPad, Android  -->, the online editor 


The BBC micro:bit is a powerful, fully programmable, computer designed by the BBC and a number of partners to encourage children to get actively involved in writing software and building new things that will be controlled by it.

For Project ideas, Training materials, FAQ:     click here >>> to open or close this section  (if not working, please refresh the page)       請點擊此>>>開啟或關閉此段落 以登入官網上的 micro:bit 活動, 培訓課程,教學資源, 常問問題等等:

Click links below to immediately access micro:bit projects on the official website:  
點擊以下連結至官方網站上現成的micro:bit 活動

** Besides learning from the projects below, you can also share your projects:   Once you’ve made your project, you can save it in the cloud, share it, or embed it on another website. See details here


  1. Flashing Heart 心大心細 (show LED)
  2. Smilely Button  笑臉 (on button pressed)
  3. Love Meter 心靈相通 (on pin pressed, pick random)
  4. Rock Paper Scissors 包剪揼 (on shake, set variable, pick random, if then else, game score, show number, show string, pause)
  5. Magic Button Trick 小魔術 (on button pressed, show string, variable, input - magnetic force, logic, if then else, math, radio)
  6. Coin Flipper 公定字? (on button pressed, pick random true or false, if then else, show string, show number, game score)

Multiplayer Games

  1. Fireflies 螢火蟲 (radio, forever, if then else, game score, variable)
  2. Infection 傳開去 (JavaScript code)
  3. Hot or Cold 冷定熱 (radio, forever, show icon, variable, show number, Led, if then else, arrays, game score)
  4. Voting Machine 投票機 (radio, on button pressed, show icon , on start)
  5. Rock Paper Scissors Teams 隊制包剪揼 (radio, on shake, variable, pick random, if then else, show icon, show number,  forever,arrays, logic)


  1. Hack your headphones 耳筒新搞作
  2. Banana Keyboard 香蕉鍵盤
  3. Guitar 結他


  1. Duct Tape Wallet 牛皮膠銀包
  2. Watch 手錶 (include count down timer)


  1. Inchworm 寸步而行
  2. Milk Carton Robot 牛奶盒機械人
  3. Milky Monster 牛奶盒怪獸
  4. Railway Crossing 火車交匯處
  5. Hacked RC car with Motor Driver Board 遙控車改裝


  1. Compass 指南針
  2. Telegraph 電報機
  3. Karel the LED 藝術燈飾

Fun Stuff :  code only

  1. Blink 閃動
  2. Name Tag 名字牌
  3. Rando 隨機閃動燈
  4. Game of Life
  5. Football Score Keeper 足球賽計分器

Actuator :  code only

Servo Calibrator

Link to the Microsoft 14-week micro:bit lessons - Computer Science (CS) course for age 11-14:

This course is also written for teachers who may not have a Computer Science background, or who may be teaching an “Intro to Computer Science” course for the first time.
這個課程除了適合11-14歲的同學, 也是為電腦編程不是本科的老師而編寫的, 十分值得老師們參考.

Each lesson typically includes - overview, unplugged, activity, project.

Click links below to learn all about the micro:bit MakeCode block editor from the "reference" and "blocks" tutorial on the official website :
點擊以下連結至官方網站,逐步學習micro:bit 軟件 - "MakeCode block editor"

** you can use the MakeCode block editor WITHOUT the internet in offline mode.  Check details here

Reference:  Basic, Input, Music, LED,  Radio,

Blocks:  On Start, Loops, Logic, Variables,

Types:  NumberStringBooleanArrayFunction

Built in objects - Math, String, Arrays    

Advanced:  Function, Text,  Game (sprites, score, game control), Images, Pins, Serial, Control

JavaScript blocks, Custom blocks

Bluetooth:   Bluetooth, Devices

New!   Build your own modular "Function" block

There are also lots of example codes embedded inside the MakeCode block editor tutorials per links above, available for immediate download .  
細心留意, 你會發現很多有用的 code 在以上學習課程用作示範,及供直接下載, 例如:

Click links below to access Lessons Topics focusing on specific blocks.   All lessons are on the official website.

Each lesson typically includes:  activity, quiz, quiz answers, challenges




Logic (if conditionals)


Click links below to learn about the BBC micro:bit hardware :  關於BBC micro:bit 硬件

The micro:bit device (LED screen, buttons, USB connection, Compass, Accelerometer, Pins, Light level, Runtime, powering, serial communication, Bluetooth Low Energy (BLE) Antenna), the pins, the LED screen, Simulator, USB


Important:  Click links below to find out steps to transfer your micro:bit file (.hex) from your computer or iPad to the micro:bit   
從電腦或iPad將.hex 檔案移至micro:bit 的相關指引

Windows browsers: 

Mac browsers:


Click this link for full documentation about pairing and flashing the .hex file to the micro:bit from iPad

Download the latest micro:bit App  3.0.1 dated 14 Feb 2018.   Significant improvements:
This version now allows the pairing with multiple micro:bits and the storage and management of HEX files within the app.
‘Monitor & Control’ is a new facility for using Bluetooth services, allowing the monitoring of sensors and the direct transmission of messages to the LEDs and control commands to the output pins


Curious about when and how Hong Kong schools started adopting the BBC micro:bit?   Wanting to join our BBC micro:bit @ AiTLE-ETC TestBed Programme?
Please click this link

Visit the official BBC micro:bit web site for all support and resources.   See BBC micro:bit at school, UK - video clips 

Research finding on the impact of the BBC micro:bit - 7 July 2017 - BBC micro:bit celebrates huge impact in first year, with 90% of students saying it helped show that anyone can code...




Hong Kong is the first place in the world, through us, the sole distributor of fischertechnik, has created the world-first integration between the BBC micro:bit/Kitronik motor driver board from the UK, and the German fischertechnik modelling kit (from simple machines, to physics law to  real-world industrial simulation through modelling).   See the full range of fischertechnik STEM solutions here.   Everyone can now easily, neatly model the real world and add further creativity through the BBC micro:bit.    Science in STEM in particular can come alive by combining fischertechnik and the BBC micro:bit - such as through the Green Energy kit.


The BBC micro:bit (2 minutes)

BBC micro:bit at Maker Faire Bay Area

16 minutes interview with CTO and ex-CEO of the micro:bit foundation

The BBC micro:bit , lesson packs and accessories

Sort by:
Klip Halo for the BBC micro:bit
Klip Halo for the BBC micro:bit

Shield for sensor/input/output

The Klip Halo board for the BBC micro:bit...

HK$ 75.00
SparkFun Gator:bit
SparkFun Gator:bit

Shield for sensor/input/output

The SparkFun gator:bit is an all-in-one “carrier” board...

HK$ 170.00
8 outputs 6 inputs 3.3 and 5V I/O board for the micro:bit

Shield for sensor/input/output

A brand new micro:bit shield with for 5v...

HK$ 240.00
IOT & Robotic Shield (version 2) for the BBC micro:bit

Shield for sensor/input/output

Connect your micro:bit to IFTTT, Thingspeak and more. ...

HK$ 499.00
Motor Driver Board for the BBC micro:bit (version 2)

Shield for sensor/input/output

A simple way to add motor driving capability to...

HK$ 105.00
SparkFun Moto:bit
SparkFun Moto:bit

Shield with sensor/input

The SparkFun moto:bit is a fully loaded “carrier”...

HK$ 125.00
Edge Connector Breakout Board for BBC micro:bit - Pre-built

Shield for sensor/input/output

Looking to do more with your BBC micro:bit?...

HK$ 45.00
Edge Connector Breakout Board for the BBC micro:bit (unassmbled)

Shield for sensor/input/output

Gives access to all the important pins on...

HK$ 28.00
Straight Double Row PCB Pin Headers, 2.54mm, 2 x 10-way, pack of 2

pin header

Designed to be used with theEdge Connector Breakout...

HK$ 6.00
automation:bit Add-On for the BBC micro:bit
automation:bit Add-On for the BBC micro:bit

Shield for relay

Control & monitor your world with automation:bit Add-On...

HK$ 125.00
Grove - Relay


The Relay is a digital normally open switch...

HK$ 29.00
Servo:Lite board for the BBC micro:bit

Shield for sensor/input/output

This Servo:Lite board for the BBC micro:bit can...

HK$ 110.00
Kitronik 16 Servo Driver Board for the BBC micro:bit
Kitronik 16 Servo Driver Board for the BBC micro:bit

Shield for sensor/input/output

Take your robotics project to the next level...

HK$ 127.00
Mini 180 Degree Servo With Accessories for the BBC micro:bit

Servo motor

This mini 180 Degree servo with accessories is...

HK$ 38.00
Mini 360 Degree Continuous Rotation Servo for the BBC micro:bit

Servo motor

This mini 360 Degree servo with accessories is...

HK$ 50.00
Wheel for FS90R  (360 degree servo motor) 60mm x 8mm
Wheel for FS90R (360 degree servo motor) 60mm x 8mm


Mobilise your projects with these Black 60mm diameter...

HK$ 18.00

Servo powered gripper

Add a servo powered gripper to your robotics...

HK$ 69.00
Sparkfun Ultrasonic Sensor - HC-SR04


This is the HC-SR04 ultrasonic ranging sensor. This...

HK$ 30.00
Grove - Ultrasonic Ranger


This Grove-ultrasonic sensor is a non-contact distance measurement...

HK$ 39.00
Grove - Collision Sensor


Have you ever been bothered for detecting simple...

HK$ 89.00
Grove - Line Finder v1.1


The tilt-switch twig is the equivalent of a...

HK$ 39.00
Zumo Chassis Kit (No Motors)


This Pololu Zumo chassis is a small, tracked...

HK$ 248.00
SparkFun gamer:bit

Shield with input

The SparkFun gamer:bit is a fun-filled “carrier” board...

HK$ 78.00
SparkFun micro:arcade kit

Shield with input

We love games! We love writing games, building...

HK$ 500.00
:GAME ZIP 64 for the BBC micro:bit
:GAME ZIP 64 for the BBC micro:bit

Shield with input

The :GAME ZIP 64 is the ultimate retro...

HK$ 339.00
Self centering spring loaded analog thumbslide joystick


Self centering spring loaded analog joystick. Similar to...

HK$ 60.00
Inventor's kit for BBC micro:bit


Contains everything you need to complete 10 experiments...

HK$ 228.00
Noise Pack for Kitronik Inventor's Kit for the BBC micro:bit
Noise Pack for Kitronik Inventor's Kit for the BBC micro:bit


Explore the complexities of sound & noise with...

HK$ 110.00
ZIP LEDs Add-On Pack for Kitronik Inventors Kit for micro:bit
ZIP LEDs Add-On Pack for Kitronik Inventors Kit for micro:bit

Neopixel lights

Explore codable lighting with our ZIP LED add-on...

HK$ 122.00
Prototyping System for the BBC micro:bit

Shield for sensor/input/output

  This Prototyping System for the BBC micro:bit...

HK$ 125.00
Grove Inventor Kit for the BBC micro:bit (8 sensors/ outputs)


The Grove Inventor Kit for Micro:bit brings endless...

HK$ 445.00
Grove Shield for the BBC micro:bit

Shield for sensor/input/output

The Grove shield for micro:bit is a plug-and-play...

HK$ 79.00
Grove - Wrapper (4 PCS pack)


Grove - Wrapper is a kind of wrapper to...

HK$ 22.00
Boson kit for the BBC micro:bit (8 sensors/outputs)


To explore even more possibilities with micro:bit, we...

HK$ 532.00
enviro:bit Add-On for the BBC micro:bit
enviro:bit Add-On for the BBC micro:bit

Shield with sensor/input

Sense the world around you with enviro:bit! It's...

HK$ 203.00
SparkFun micro:climate kit

Model Pack with sensor/input/output

The SparkFun micro:climate kit is a full weather...

HK$ 928.00
SparkFun Weather:bit

Shield with sensor/input

Measure barometric pressure, relative humidity and temperature readings, wind speed,...

HK$ 108.00
SparkFun OpenLog
SparkFun OpenLog

datalogging accessories

For use with the weather:bit experiment 7  (see...

HK$ 150.00
Water Pump 6V - 12V with 1m silicone tube

Water pump

This R385 diaphragm pump is the perfect choice...

HK$ 130.00
SparkFun Soil Moisture Sensor (with Screw Terminals)


The SparkFun Soil Moisture Sensor is a simple...

HK$ 47.00
Grove - Moisture Sensor


TheGrove - Moisture Sensor can be used to detect...

HK$ 30.00
Grove - Water Sensor


Grove - Water Sensor detects the presence of water...

HK$ 29.00
Temperature Sensor - Waterproof (DS18B20)


This sealed digital temperature probe lets you precisely...

HK$ 86.00
Grove - Temperature Sensor


Grove - Temperature Sensor uses a thermistor to...

HK$ 29.00
Temperature Sensor - TMP36
Temperature Sensor - TMP36


The TMP36 is a low voltage, precision centigrade...

HK$ 12.00
Grove - Light Sensor (P) v1.1


the Grove - Light Sensor (P) v1.1 uses...

HK$ 29.00
Grove - Light Sensor v1.2


As an updated version of Grove - Light...

HK$ 29.00
Grove - Luminance Sensor


Grove - Luminance Sensor using APDS-9002 as lumens...

HK$ 59.00