Skip to content

Unit of work

Musical micro:bit

Computational thinking, Computer systems, Music, Programming | MakeCode | 7-11 yrs

Lesson 4

Controlling music with inputs


Pupils develop their understanding of using the inputs and outputs on the BBC micro:bit and write, test and debug programs to experiment with using selection and the accelerometer to play different notes. They also consider how the micro:bit could be used to help people who find playing instruments difficult. 

Learning objectives

  • To identify how inputs are used in programs
  • To write programs that use inputs and selection
  • To write and evaluate algorithms

You will need

Downloadable resources:

  • Lesson plan
  • Lesson slides
  • Student handouts
    • Selection in a musical scale
    • Selection in a scale challenge
  • HEX files
    • starter
    • Instrument

Other resources:

MakeCode editor, paper - large sheets, paper - writing, micro:bits (optional), micro:bit battery packs (optional), alligator / crocodile clip leads (optional), headphones (optional), speakers (optional)

Lesson plan