Microbit Robotics & Engineering
Beginner
60 mins
Teacher/Student led
+25 XP
What you need:
Chromebook/Laptop/PC
Microbit

Teacher Class Feed

Load previous activity

    1 - What are we measuring?

    Today we’re measuring how loud the environment is.

    We are going to be using the Micro:bit's built-in microphone. It doesn’t record sound like a voice memo — instead, it listens for how loud things are around it.

    This is called sound level — and it gives us a number between 0 (very quiet) and 255 (very loud).

    2 - What are we building?

    We’re going to create a noise logger using our Micro:bits.
    It will listen to the environment and log the sound level every second.

    At the end, we’ll be able to see how noisy things were — and when the loudest moments happened.

    You could even use it to check:

    • Is the classroom louder before or after break?

    • Which area of the school is the noisiest?

    3 - Create a new Microbit project

    To get started create a new Microbit project.

    makecode.microbit.org


    4 - Add the DataLogger extension

    To access the blocks we need to program the data logging, you need to add the datalogger extension to your project.

    5 - Start the log

    Drag out the block:
    🧱 set column (sound)
    Place it inside the on start block

    This will make it easier to read your data.


    123learn · Online learning platform

    Unlock the full learning experience

    You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.

    Hundreds of curriculum-aligned lessons
    Interactive activities in every lesson
    Printable resources & progress tracking
    Copyright Notice
    This lesson is copyright of Coding Ireland 2017 - 2025. 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