Door Alarm Lesson
Description: Place a magnet on the door, next to the doorknob.
Use tape or otherwise to attach the sender Micro:bit and a battery pack to the door frame so the Micro:bit pins are facing the magnet. Hook up the receiver Micro:bit to a set of headphones or speakers using crocodile clips: clip the tip of the audio jack to P1 and the base of the audio jack to GND.
The objective of the lesson is to use the Micro: bit’s light detection sensor to determine whether an LED should be on or off (Off during the day, On during the night).