Reply To: Module 2 – Introduction to Coding with MakeCode Micro:bit

Home › Forums › STEM-Ready Classrooms Course Forum › Module 2 – Introduction to Coding with MakeCode Micro:bit › Reply To: Module 2 – Introduction to Coding with MakeCode Micro:bit

#255593
Michelle Curran
Participant

    The tutorial I completed the MakeCode Micro:bit Dice tutorial. In this activity, I programmed the Micro:bit to act as a digital dice. When the device is shaken, it randomly generates and displays a number from one to six using the LED display. I tested the program using the MakeCode simulator to ensure the shake gesture triggered a new random number each time.

    MakeCode share link: https://makecode.microbit.org/_YRhDCHaMPe6b

    As I am new to using Micro:bits, I found this tutorial to be an excellent starting point. It was straightforward to follow and helped me build confidence with the basics of coding. I also think it would work well as an introductory lesson for a class that is new to Micro:bits before moving on to more complex coding activities.

    I could turn this into an integrated STEM learning experience by linking it with the Maths curriculum, particularly the strand of Chance. Pupils could use the Micro:bit dice to investigate probability by predicting outcomes, recording results and comparing the frequency of each number over repeated rolls. They could then present their findings using tables or bar charts and discuss whether each number appeared an equal number of times. This would combine coding, mathematics and scientific enquiry while also developing pupils’ computational thinking skills through sequencing, testing and debugging.

    Shopping Basket
    Scroll to Top