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

Tilt Angle

Teacher Class Feed

Load previous activity

    1 - What is Data Logging?

    Data logging is the process of automatically collecting and recording data over time.
    This could be things like:

    • How hot something gets during the day

    • How often a button is pressed

    • How loud a room becomes over an hour

    • How fast a device moves


    2 - Where Is Data Logging Used?

    Instead of just taking a single measurement, data logging captures many readings over time, helping us see patterns and changes.

    You interact with data logging every day! — You just may not call it that!

    • Smartwatches track your steps and heart rate

    • A car’s black box records speed and braking

    • Weather apps show how the temperature changes all day

    3 - Why Is It Useful?

    Data logging helps us:

    • Understand what’s happening

    • Make smart decisions

    • Spot unusual changes


      For Example:

    A greenhouse logs temperature. If it drops too low at night, the system can trigger a heater to protect the plants.

    Scientists, engineers, and app developers all use data logging. Now you will too.

    4 - Let's Build a Button Logger

    Alright, now that you know what data logging is, let’s try it for ourselves!

    We’re going to create a data logging project using our Micro:bits.
    In this activity, we’ll log every time Button A is pressed.
    Later, you’ll be able to see that data — like a digital diary of what happened.

    5 - Create a new Microbit project

    Go to the makecode.microbit.org website and create a new project.

    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 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