Kit 2 · KEYESTUDIO KS0306 · MakeCode blocks
micro:bit track
Sixteen lessons, about 8 hours. Build with blocks first; every lesson also has the equivalent complete MakeCode TypeScript. MakeCode's Download makes the .hex you copy to the MICROBIT drive.
Board version recorded: …. Lesson 13 needs V2. Check your kit and board
0 of 16 complete
00Not startedMeet the micro:bit
Check which board you have, open MakeCode, and put a heart on the screen.
30 minchecklist 0/5
01Not startedAnimated heartbeat and name badge
Make a heart beat forever, then scroll a word across the display.
25 minchecklist 0/4
02Not startedA/B counter
Count up with A, down with B, and reset with both together.
25 minchecklist 0/4
03Not startedShake-to-roll dice
Use the motion sensor to roll a random number from 1 to 6.
25 minchecklist 0/3
04Not startedOnboard light meter
Use the display's own lights to sense brightness.
25 minchecklist 0/3
05Not startedOnboard temperature
Read the processor's approximate temperature and watch it change slowly.
25 minchecklist 0/3
06Not startedFirst external LED
Use the breakout adapter and switch an LED on P0.
30 minchecklist 0/4
07Not startedTraffic lights
Three LEDs on P0, P1 and P2 in a timed sequence.
30 minchecklist 0/4
08Not startedExternal button
Read a pushbutton on P1 with an explicit pull-up.
25 minchecklist 0/4
09Not startedBreathing LED
Fade the P0 LED up and down with analog write.
25 minchecklist 0/3
10Not startedBrightness knob
Read a potentiometer on P1 and set the LED brightness.
30 minchecklist 0/3
11Not startedLDR nightlight
External light sensor with calibrated thresholds and hysteresis.
35 minchecklist 0/4
12Not startedTilt alarm
A ball tilt switch on P1 with debounce.
25 minchecklist 0/3
13V2 onlyNot startedV2 music
Play a short melody on the built-in speaker; stop it with B.
25 minchecklist 0/4
14Not startedServo bench test
Command a positional servo on P1 with a separate 5 V supply.
35 minchecklist 0/4
15Not startedPaper-flap capstone
Toggle a light paper flap slowly with button A.
60 minchecklist 0/5