Archive

Lesson 2: Programming an eCharm

Pupils write a program to initiate a flashing LED panel using the Micro:bit light sensing, as part of their eCharm

New statutory RSHE guidance is here. We’re creating our brand new RSE & PSHE scheme ready for September 2026. Learn more

Bell

This lesson is archived.

Please note

Learning objectives

  • To write a program to initiate a flashing LED panel after button press and/or automatically initiate using the Micro: bit light sensing, as part of an eCharm

National curriculum

Pupils should be taught to:

 

Design

  • Generate, develop, model and communicate their ideas through discussion, annotated sketches, cross-sectional and exploded diagrams, prototypes, pattern pieces and computer-aided design
  • Use research and develop design criteria to inform the design of innovative, functional, appealing products that are fit for purpose, aimed at particular individuals or groups

 

Technical knowledge

  • Apply their understanding of computing to program, monitor and control their products.

Success criteria

Cross-curricular links

Before the lesson

Download classroom resources

Attention grabber

Main event

Differentiation

Pupils needing extra support: Should be provided with a copy of the Activity: Micro:bit programs or use slides 4-6 as visual aids. Support with verbal prompts. Replay the Teacher and pupil videos for additional visual support.

 

Pupils working at greater depth: Allow the pupils to explore beyond the prescribed Micro: bit program and extension code. Pause at points through the Micro:bit programming and see if the pupils can suggest what code comes next. Challenge them to the extension tasks to extend their current program to include button B and write a new program to use the Micro:bit light sensing capabilities.

Wrapping up

Assessing pupils' progression and understanding

Vocabulary

Created by:
Rebecca Walsh,  
Design and technology specialist
Rebecca is a passionate Design and technology specialist. Rebecca has previously taught across all of the D&T curriculum strands, including STEM clubs and extra-curricular activities such as RAF Project X, to Keystages 1-4 and SEND classes. Rebecca believes in providing…
Find out more
Please don’t screenshot or copy images from this page.
Kapow Primary resources are created by teachers and protected by copyright. Copying images or slides into your own presentations (for example using the Snipping Tool) counts as reproducing the resource and isn’t permitted under the Kapow licence.
This resource is being accessed through your school’s Kapow licence.
Thank you for respecting the work of the teachers who create these materials.