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:
MI:pro Protector Case for the BBC micro:bit

Micro:bit protective case

Protector Case for the BBC micro:bit keeps the...

HK$ 40.00
MI:power board for the BBC micro:bit

Battery Holder and Battery

 A stylish way to power your BBC micro:bit from...

HK$ 42.00
MI:pro Protective Case for the BBC micro:bit + MI: power board

Micro:bit protective case

Mi:power case for BBC micro:bit and Mi:power board...

HK$ 48.00
MI:pro 'Mountable' Case for the BBC micro:bit

Micro:bit protective case

Keep the BBC micro:bit safe with the MI:pro....

HK$ 44.00
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
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
Grove - Relay


The Relay is a digital normally open switch...

HK$ 29.00
STOP:bit - Traffic Light for BBC micro:bit
STOP:bit - Traffic Light for BBC micro:bit

LED light

Upgrade your pedestrian crossing project with the STOP:bit...

HK$ 38.00
Bumper Add-On For The :MOVE MINI

Model Pack accessory

Get more from :MOVE mini for the BBC...

HK$ 18.00
Bulldozer Add-On For The :MOVE MINI

Model Pack accessory

Get more from :MOVE mini for the BBC...

HK$ 83.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
SparkFun gamer:bit

Shield with input

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

HK$ 78.00
Self centering spring loaded analog thumbslide joystick


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

HK$ 60.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
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
Grove - Sound Sensor


The Sound sensor module is a simple microphone....

HK$ 49.00
Grove - Buzzer


This is a simple yet enjoyable twig to...

HK$ 20.00
Grove - Speaker


The Grove - Speaker is a module consist...

HK$ 69.00
Thin Speaker


Add sound to your projects with this 0.25W...

HK$ 20.00
Audio Cable for BBC micro:bit

Audio cable

Audio Cable for the BBC micro:bit. Connect the...

HK$ 22.00
MP3 Mono Amplifier V2.0, Pre-built


The Mono Amplifier Pre-built Kit is supplied with...

HK$ 45.00
2xAAA Battery Cage with JST Connector

Battery Holder

2xAAA Battery Cage with JST connector.   Supplied...

HK$ 8.00
4xAA Covered Battery Holder with Switch and Leads

Battery Holder

For use with the BBC micro:bit Motor Driver...

HK$ 10.00
1m USB Type-A to Micro-B USB Noodle Cable

USB cable

1M Flat White Anti-Tangle USB Type-A to Micro-B...

HK$ 15.00
28mm Crocodile Clips, pack of 50

Cable connector

Sewable electronics. (Click here for our  full selection of...

HK$ 40.00
Spring connector

Cable connector

Ideal for the BBC micro:bit to connect wire...

HK$ 88.00
Miniature 28mm Crocodile Clip Leads, pack of 10


Miniature Crocodile Leads. Ideal for the BBC micro:bit....

HK$ 30.00
Crocodile Clip with Pigtail - male jumper connector (4 Pack)

Jumper Wire

A 4 pack of wires that are pre-terminated...

HK$ 24.00
Jumper Wires Premium 6" F/F Pack of 10
Jumper Wires Premium 6" F/F Pack of 10

Jumper Wire

This is a SparkFun exclusive! These are 155mm...

HK$ 32.00
Jumper Wires Premium 6" M/F Pack of 10
Jumper Wires Premium 6" M/F Pack of 10

Jumper Wire

These are 155mm long jumpers terminated as male...

HK$ 32.00