Tooltip
These resources have been reviewed and selected by STEM Learning’s team of education specialists for factual accuracy and relevance to teaching STEM subjects in UK schools.

Automatic Lighting

This longer-duration activity involves prototyping a low-power lighting system. It could be used in an off-timetable workshop or across a series of lessons.

Students are challenged to work through the whole design process, and to place a micro-controller (in this case a BBC micro:bit) at the centre of the design.

Students need to choose input devices to connect to the micro:bit, allowing it to change the output (an LED) depending on lighting conditions. The brief can be amended to reflect the input devices available in each school.

Some sample code in each of three programming environments - Blockly, Touch Develop and Code Kingdoms (JavaScript) - is provided, both in classroom resources and via the micro:bit live website.

An extension activity looks at protection of LEDs using resistors, and involves simple calculations using Ohm's Law.

Show health and safety information

Please be aware that resources have been published on the website in the form that they were originally supplied. This means that procedures reflect general practice and standards applicable at the time resources were produced and cannot be assumed to be acceptable today. Website users are fully responsible for ensuring that any activity, including practical work, which they carry out is in accordance with current regulations related to health and safety and that an appropriate risk assessment has been carried out.

Information on the permitted use of this resource is covered by the Category Three Content section in STEM Learning’s Terms and conditions.