Lesson 2: Programming an animal monitor

Programming an animal monitor, using booleans and 'if' statements, to alert the owner when the ambient temperature is too hot or cold. Values determined in the program will be informed by the children's research and design criteria, to develop a fit for purpose product, specific to the needs of one species.

Learning objectives

  • To write a program to monitor the ambient temperature including an alert

National curriculum

Technical knowledge

Pupils should be taught to:

  • 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: Can be provided with a copy of the Activity: Micro:bit program (V1) or (V2) or use slides 6-7  as a visual aid. Should have support with verbal prompts. Leave the Pupil video: Programming an animal monitor video playing in the background as they work.

 

Pupils working at greater depth: Pause at points through the Micro: bit programming and see if the pupils can suggest what code comes next. Challenge them to add further comments to explain more functions in the program itself.

Wrapping up

Assessing pupils' progression and understanding

Vocabulary

Lesson 3: Plastic Next Lesson
Created by:
Rebecca Walsh,  
Design & Technology specialist
Rebecca is a passionate Design and technology specialist with seven years of experience delivering and leading the subject. Rebecca has previously taught across all of the D&T curriculum strands, including STEM clubs and extra-curricular activities such as RAF Project X,…
Find out more