Page 71 - Robo_Genius_V1.0_flipbook_C3
P. 71
your hands, the micro:bit will detect the sound and show a heart on its screen.
This shows how the micro:bit can listen for sounds and respond to them.
When sound is loud.
When sound is quiet.
Concepts
• Sound Detection: You will learn how the micro:bit can hear sounds, like a
clap, and understand that it can be used to create fun programs.
• Programming Actions: You will see how coding allows the micro:bit to do
things based on what it hears, like showing a heart when it detects a clap.
Observations
In the Clap Heart activity, You will notice:
• When you clap, the micro:bit will light up and show a heart on its LED screen.
• If you clap again, the heart will appear once more, showing that the micro:bit
is responding to the sound.
• You will enjoy seeing how sound can control the micro:bit and create a fun
visual.
Application
You may have seen in mobile phones, a sound sensor
is used during recording to detect and capture audio.
When you record a voice message or a video, the sound
sensor picks up your voice or any other surrounding
sounds. It ensures that the microphone adjusts to
different sound levels, so whether you’re speaking softly
or loudly, the recording is clear and of good quality.
What is a Light Sensor?
Light sensor is a input device. It is used to detect changes in light levels and can
Programming with Micro:bit 69

