Microbit Robotics & Engineering Teacher Training
15 mins
+75 XP
What you need:
Chromebook/Laptop/PC

Sound Sensor

In this lesson, you will learn about sound sensors, how they function, and their role in auditory-related robotic functions. We'll also explore how a micro:bit senses sound levels.
Learning Goals Learning Outcomes Teacher Notes

Live Class Feed

This is a live feed of the latest activity by your students on this lesson. It will update in real-time as they work on the lesson.
Load previous activity

    1 - Introduction to Sound Sensors

    Sound sensors are devices that can detect sound waves and convert them into electrical signals. These sensors play a crucial role in auditory-related robotic functions, such as voice recognition, sound localization, and environmental noise monitoring.


    2 - How Sound Sensors Work

    Sound sensors typically use a microphone to detect sound waves. The microphone converts the sound waves into electrical signals, which are then processed and analyzed by a microcontroller or microprocessor. This allows the robot to perform specific actions based on the detected sound.

    3 - Role of Sound Sensors in Robotics

    Sound sensors are essential components in many robotic applications. They enable robots to interact with their environment and respond to auditory cues. Some common applications of sound sensors in robotics include:

    • Voice recognition: Robots can be programmed to recognize specific voice commands and execute corresponding actions.
    • Sound localization: Robots can determine the direction and distance of a sound source, allowing them to navigate towards or away from it.
    • Environmental noise monitoring: Robots can measure sound levels in their environment and react accordingly, such as adjusting their volume or speed to minimize disturbance.

    4 - Micro:bit and Sound Sensing

    The micro:bit is a versatile microcontroller that can be used to sense sound levels. It has a built-in microphone that can detect sound waves and convert them into electrical signals. The micro:bit can then process these signals to measure sound levels or detect specific sounds.

    input.onSound(DetectedSound.Loud, function () {
        basic.showString("Hello!")
    })
    basic.showNumber(input.soundLevel())
    

    Unlock the Full Learning Experience

    Get ready to embark on an incredible learning journey! Get access to this lesson and hundreds more in our Digital Skills Curriculum.

    Copyright Notice
    This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more