Intruder alarm

On his first night in the Grove, Larry couldn’t sleep a wink. In the middle of the night, he woke up to a noise in the bushes around the camp. Were they footsteps? Was that a growl? He frantically started to flip through his knowledge of the known animal life in the Grove? It could have been anything from a mouse or the fearsome bear.   It would have been rather dumb to be kept awake all night by the scrabbling of a rodent… but would he know to run in case it was a bear? When morning came, he knew he had to make a sort of animal trap – not to catch the creature but detect its presence by the sound it made. It’d ignore harmless ones like rabbits or mice, but would take notice of anything bigger like a wild dog or bear. And if the beastie was loud enough to trigger the trap, it’d wake Larry up, giving him enough time to run for his life.

What Will Happen

The vibrating motor will vibrate when the loudness (sound level) reaches a certain pre-set threshold.

Connection Guide

Block Editor Code

Click the button below to download the block editor code for this challenge. The hex file is contained in a zip folder.

Kindly refer here for instructions on importing code into Micro:bit. 

This code can be imported into the micro:bit block editor.

Dr Bit Code

Click the button below to download the Dr Bit solutions  for this challenge. The Dr Bit file is contained within a zip folder.

To download Dr Bit PC software kindly click hear.

To download the Dr Bit app kindly select one of the links below.

To download Dr Bit PC software kindly click hear.

To download the Dr Bit app kindly select one of the links below.

Learning Points

  • Use analog sensors such as the loudness sensor

Additional Challenge

Try programming your dice to have scrolling animated images instead of a number for that authentic feel!