Lesson 5 – Coding a temperature gauge BBC Microbit Lesson 5 – Coding a temperature gauge
Learning objectives You will be able to create a program in block editor which outputs the temperature. You will be able to create a program in touch develop which outputs the temperature. You will be able to use decisions (IF statements) to show if the room is too hot, too cold or perfect temperature.
How does the Micro:bit tell the temperature? The BBC Micro:bit does not have a dedicated temperature sensor. Instead, the temperature provided is actually the temperature of the silicon die on the main CPU. As the processor generally runs cold though (it is a high efficiency ARM core), the temperature is a good approximation of the ambient temperature... you might warm up if you give the processor a lot of work to do though.
Plenary Upload the evidence to assessment tool with a WILT and WINK.