Microsoft's free block and JavaScript editor for the micro:bit, with an on-screen simulator so code can be tested before it goes onto the device.

Creative Replace

Grade 5 junction traffic lights with a pedestrian button, coded on a micro:bit

Grade 5 (Year 6, age 10 to 11) · 60 min · 1 micro:bit and laptop per pair

Creative Replace

Pairs clip red, amber and green LEDs to a micro:bit and code the UK traffic-light sequence, with a button that brings in a pedestrian phase.

Read the lesson and why it sits here →

Grade 7 rock, paper, scissors game coded on a micro:bit with pupil-designed icons

Grade 7 (Year 8, age 12 to 13) · 50 min · 1 device and 1 micro:bit per student

Creative Replace

Each student codes a micro:bit to show a random rock, paper or scissors icon of their own design when it is shaken, then plays a classmate.

Read the lesson and why it sits here →

Creative Transform

Grade 9 shadow-sensitive lanterns with micro:bits that change as visitors pass

Grade 9 (Year 10, age 14 to 15) · 240 min · 1 micro:bit per student

Creative Transform

Students build a lantern from willow, card and tracing paper and code the micro:bit inside it so its light pattern changes when a passing visitor's shadow falls across it.

Read the lesson and why it sits here →

Grade 5 card night lanterns with a micro:bit that lights up when the room goes dark

Grade 5 (Year 6, age 10 to 11) · 180 min · 1 micro:bit and 1 device per pair

Creative Transform

Pairs design a card night lantern for a Reception child, program a micro:bit in MakeCode to light up when the light level drops, and adjust the program after testing it in a dark cupboard.

Read the lesson and why it sits here →

Grade 3 micro:bit frost alarm for the school vegetable beds, set from their own readings

Grade 3 (Year 4, age 8 to 9) · 180 min · 1 micro:bit per group of 3

Creative Transform

Groups take temperature readings around the school vegetable beds for a week with micro:bits, then code an alarm that shows a snowflake, and keeps showing it, once the temperature falls below a level they chose from their readings.

Read the lesson and why it sits here →

Grade 4 live noise graph from six radio micro:bits placed around the school

Grade 4 (Year 5, age 9 to 10) · 120 min · 6 micro:bit V2 boards (1 per group) and a teacher laptop

Creative Transform

Six groups code micro:bits to send sound levels by radio from different parts of the school, the class watches the readings arrive as a live graph, and they build a noise map from it.

Read the lesson and why it sits here →

Pairs program a micro:bit pacer that beats out a step rate and shows a model heart whose beat rises and recovers by rules they write, then test the model against their own pulses in a step test and rewrite its rules.

Read the lesson and why it sits here →

Interactive Replace

Grade 7 probing a provided micro:bit program in the MakeCode simulator

Grade 7 (Year 8, age 12 to 13) · 45 min · 1 device per pair

Interactive Replace

Pairs run a teacher-provided micro:bit program in the MakeCode simulator, press each virtual input, record what happens and test a prediction by swapping two event handlers.

Read the lesson and why it sits here →

Interactive Transform

Pairs work through a week of micro:bit light readings from three places the class chose, find what fraction of each day each place was lit, and group the hours to build fraction families.

Read the lesson and why it sits here →

This page is one of a growing set of PICRAT examples by cell, subject and grade. Page maintained by Andy Perryer.