Skip to content
Learning Site
Home

About

  • About Robotical
  • Case Studies
  • Meet the Team
  • Blog
  • Contact Us

Our Products

  • Marty the Robot
  • Axiom
  • Cog

Teach

  • Lessons & Resources
  • Marty for Educators
  • Funding & Grants
  • Professional Development
  • Why Teach STEM?
  • Coding Environments
  • Student Led Learning

Let's Code

  • Marty the Robot
  • Code Online
  • Marty Apple App
  • Marty Android App
  • Update your Marty
  • Cog
  • Code Online
  • Cog iOS App
  • Cog Android App
  • Axiom
  • Axiom Science

Support

  • Marty Get Started
  • Cog Quick Start Guide
  • Axiom Science Quick Start Guide
  • Support & FAQs
  • Marty V2 User Guides
  • Marty V1 Resources
  • Request Support
  • Request Top-Up Training

Shop

  • Marty the Robot and Physical Computing
  • Class Packs
  • Add Ons & Extras
  • Account
  • Shipping, Returns & Cancellations
  • Distributors
HomeLessonsUnits of workCurriculum standardsTutorials

Information

  • Lessons & Resources
  • Knowledge Base & User Guides
  • About Us
  • Shipping, Returns & Cancellation
  • Privacy Policy
  • Learning site privacy
  • Terms of Service
  • Partner Hub

Support & Help

  • Support & Help Center
  • Getting Started with Marty V2
  • Getting Started with Marty V1

Learning, Resources & Guides

  • Marty V2 Lessons Site
  • Marty V1 Lessons Site

Contact Us in the UK

Stanhope House,12 Stanhope Place,Edinburgh,United Kingdom,EH12 5HH
(+44) 0131 564 0922
hello@robotical.io
Contact Us

Contact Us in the US

2810N Church St, PMB 61694,Wilmington,Delaware,USA19802-4447
(+1) 833 886 1661
hello@robotical.io
Contact Us

Why not join our mailing list?

For News, New Products and Special Offers

Join mailing list

Copyright 2016-2026 © Robotical Ltd

All lessons
Marty app
CurrentPrevious

2.24: Marty Bingo and micro:bit Events

Use the BBC micro:bit you know to control your Marty

2.24: Marty Bingo and micro:bit Events
Estimated time
90 minutes
Difficulty
Intermediate
Products
Marty V2

On this page

  1. Lesson overview
  2. Objectives & resources
  3. Key vocabulary
  4. Lesson plan
  5. Extensions and challenges
  6. Additional reading
  7. Curriculum standards

Extensions and challenges

Extend

Have learners choose the standard event block to start the program. They will need to either create parallel blocks of code, with individual loops or one big block with a loop and numerous nested conditional (if) statements. The image below is an example of how the A and B button, or the A or B button can produce different results. Alternatively, you could develop a future lesson where this is the core objective. Allow learners time to explore the possible alternatives.

Support

There is an image below, also in the resources section, that reminds learners about directions. Arrows indicate front, left, right and back. The micro:bit needs to be tilted downward in the direction the arrow is pointing for that input.

Additional reading

  • Exploring events
  • Introduction to parallel programming
  • Setting up the micro:bit with Marty

Curriculum standards

18
Choose your curriculum to see the relevant standards.

18 of 18 linked standards shown.

Australian CurriculumAustralia3
Curriculum areaLinked standards
Digital Technologies, Design & technologies: Design & Technologies
Digital Technologies, Design & technologies: Digital Technologies

Select a code to read the full standard.

Digital Technologies, Design & technologies: Design & Technologies

  • ACTDEP028Develop project plans that include consideration of resources when making designed solutions individually and collaboratively

Digital Technologies, Design & technologies: Digital Technologies

  • ACTDIK023Investigate how data is transmitted and secured in wired, wireless and mobile networks, and how the specifications affect performance
  • ACTDIP028Design the user experience of a digital system, generating, evaluating and communicating alternative designs
CSTA Education StandardsUSA2
Curriculum areaLinked standards
General standards

Select a code to read the full standard.

  • 2-CS-02Design projects that combine hardware and software components to collect and exchange data.
  • 2-AP-17Systematically test and refine programs using a range of test cases.
Curriculum for ExcellenceScotland7
Curriculum areaLinked standards
Health and Wellbeing: Mental, Emotional, Social and Physical Wellbeing
Literacy & English: Listening and Talking
Literacy & English: Writing
Technologies: Computing Science

Select a code to read the full standard.

Health and Wellbeing: Mental, Emotional, Social and Physical Wellbeing

  • HWB 0-14a / HWB 1-14a / HWB 2-14a / HWB 3-14a / HWB 4-14aSocial wellbeing

Literacy & English: Listening and Talking

  • LIT 2-07aUnderstanding, analysing and evaluating
  • LIT 2-09aCreating texts

Literacy & English: Writing

  • LIT 2-23aTools for writing
  • LIT 2-28aCreating texts

Technologies: Computing Science

  • TCH 2-14bUnderstanding and analysing computing technology
  • TCH 2-15aDesigning, building and testing computing solutions
England's National CurriculumEngland2
Curriculum areaLinked standards
Computing, Design and Technology: Computing
Computing, Design and Technology: Design and Technology

Select a code to read the full standard.

Computing, Design and Technology: Computing

  • ✔️Understand what algorithms are; how they are implemented as programs on digital devices; and that programs execute by following precise and unambiguous instructions

Computing, Design and Technology: Design and Technology

  • ✔️Design purposeful, functional, appealing products for themselves and other users based on design criteria
ISTEUSA2
Curriculum areaLinked standards
International Society for Technology in Education (ISTE)

Select a code to read the full standard.

International Society for Technology in Education (ISTE)

  • 5cStudents break problems into component parts, extract key information, and develop descriptive models to understand complex systems or facilitate problem-solving.
  • 6cStudents communicate complex ideas clearly and effectively by creating or using a variety of digital objects such as visualizations, models or simulations.
TEKSUSA2
Curriculum areaLinked standards
Middle School Technology Applications: Grade 6 to Grade 8

Select a code to read the full standard.

Middle School Technology Applications: Grade 6 to Grade 8

  • 4.BCritical thinking, problem solving, and decision making. The student makes informed decisions by applying critical-thinking and problem-solving skills. The student is expected to: plan and manage activities to develop a solution, design a computer program, or complete a project;
  • 6.NTechnology operations and concepts. The student demonstrates a thorough understanding of technology concepts, systems, and operations. The student is expected to: integrate two or more technology tools to create a new digital product.

Resources

Learner resources

  • Student Workbook for micro:bit BingoFile links loading

Educator resources

  • Teacher GuideFile links loading
  • Presentation for micro:bit and Marty BingoFile links loading

Lesson overview

We will explore a new way of programming Marty through interacting with the BBC micro:bit – a micro controller that has been built to help introduce physical computing and coding to young people. In this lesson, students will be experimenting with some of the different functionalities that the micro:bit has on offer to see how they can then use Marty and the micro:bit together.

Prerequisite knowledge

Experience with the micro:bit and experience with browser-based applications

Learning objectives

  • Describe the way in which different pieces of hardware interact.
  • Write code that is executed via a physical device.

Resources and equipment

  • Marty the Robot
  • Marty Workbook
  • Laptops/Computers with a Scratch Link installed
  • Access to the Marty Blocks editor via a web browser
  • BBC micro:bit

Key vocabulary

  • micro:bit
  • If Statements
  • Events
  • Input
  • Output
  • ip address

Lesson plan

Warm up

Ask learners to tell you what they remember about the micro:bit: what can it do; what does it show; how can we interact with it; how can we code with it? Record responses on the board. Answers may include using the MakeCode environment on the micro:bit website, which is good to remember. It is hoped that learners will suggest a range of ways that a user can interact with the micro:bit to elicit a response: using one or both buttons, shaking or tilting the device; additionally, the LED display can be utilised as a visual representation of the code.

Share with learners the first four presentation slides - the title, objectives, success criteria and video showing examples of input and output, in order to prepare them for the activities in today's lesson. Stopping the video at about 54 seconds, so that they won't hear the suggestions for the micro:bit.

Take this time to have learners discuss what they have done with a micro:bit in the past: challenges, successes, interesting points of learning. Ask them how they think they might use a micro:bit together with Marty and ask how coding a micro:bit might make interacting with Marty easier. Suggestions might include, I won't need to keep using the keyboard for the commands, everything will be stored in the micro:bit's program. Highlight that the micro:bit will be the input and Marty will be the output: we use the micro:bit to control Marty, much like the controller in the Marty app or the color cards are input for Marty; Marty's actions or noises are the output. Ask learners to suggest other input and output pairs they can remember from past learning. Playing the video from 54 seconds will let learners know about the variety of input and output devices that are built into their micro:bit; some of the accessories are only available on certain models, as detailed in the video.

Get Learning

Either share the video of Marty acting based on input from the micro:bit or buld the program using the code from the image and video, below, to display to learners.

The first video of Marty, from the presentation, only shows Marty moving: the micro:bit is not shown because the goal is for learners to decide the input and output pairs for Marty and the micro:bit. After each of Marty's action clips, you could pause the video for suggestions for learners as to what each micro:bit input could be.

Learners will need to carry out a couple of steps before they can start using Marty with the micro:bit. This part of the lesson assumes that the network password has already been entered into the configuration part of the iPad app to allow Marty to connect to Wi-Fi. Additionally, each laptop or desktop must have the Scratch link already installed and running. There are user guides to support this. Links are in the additional reading section.

The videos below are in the presentation, to support learners preparing Marty for work with the micro:bit. Feel free to delete the slides and show learners how to do these steps, or set up the devices before the lesson. If you choose not to use the videos in the presentation, you should delete the appropriate slides.

Share an example of one micro:bit block and what this block can do for Marty.

Have learners discuss in groups what input on the micro:bit should go with what output for Marty. Have learners record their ideas in their workbook by writing the Marty outputs with the most suitable micro:bit inputs, in the Bingo square. Each of the inputs and outputs has a number that either corresponds to a die or could be used with a random number generator, so learners need to write the number pairs in each cell; there are different colors in the workbook but it should be enough to stipulate that the input number (micro:bit) always goes first and the output number (Marty's action) always goes second. Learners will notice that the A and B button actions appear twice. This is intentional to limit the movement of the micro:bit to only tilting, rather than tilting and shaking/moving. For the bingo game, there is a list of random numbers generators that can be used to choose the actions, for use with the bingo game.

An alternative to choosing the most appropriate pairings would be for groups to create combinations that don't make sense, just to see what it looks like and for use with the bingo game.

Time for Practice

Have learners build each of their 8 combinations on the workspace in the Web MartyBlocks - this can be taken either from the workbook combinations that make sense or the ones that are a bit sillier. Have groups test their work to ensure that the result is what they expect. Learners will quickly see that the micro:bit is very responsive, they will need to be careful with movements when testing their code.

There is one big difference between the MartyBlocks code from earlier lessons and this one, using the micro:bit. Learners may notice that the green flag is always selected. It is worthwhile asking why this might be the case. Suggestions might include, because the micro:bit is always ready for input; the micro:bit receives input frequently, like a keyboard; it's like the micro:bit inputs are running in a loop, it is always waiting and as soon as an input is detected, an output can occur.

Once all learners are ready, have them consult their workbook bingo page as you select the random numbers for each combination.

Before the first random number combination, decide if the bingo game will be for a line (horizontal, vertical, diagonal) or a full house (all squares ticked).

Random number generator - choose minimum 1 and maximum 8. This will need to run twice for each choice.

Spinner - you need to click on the gear and numbers, and make the minimum 1 and the maximum 8. This will need to run twice for each choice.

Claw number picker - you need to click on the gear and numbers, and make the minimum 1 and the maximum 8. This will need to run twice for each choice.

Eggs, with number inside - you need to click on the gear and numbers, and make the minimum 1 and the maximum 8. This will need to run twice for each choice.

Dice roller - this is set up to have two 8-sided dice ready. There are multiple adds on this page, which you can close before sharing the page with learners.

If the combination of numbers matches one of the pairs learners have on their bingo board, have them click on the code block that displays this combination to display the action via Marty; to keep track of their success, they should also tick the box in their workbook. Learners are trying to achieve the goal set at the beginning of the game. This could be repeated: first game, one horizontal line, second game, one vertical line, or some other combination of goals.

Cool Down

Bring learners back together to discuss the challenges they faced and overcame. Have groups model their creations and explain what is happening, when. Encourage other groups to ask questions to deepen the understanding of the processes.

Take time to have group code displayed to the class, encourage observational questions from peers.

Suggested questions you might ask:

  • How did you decide which combinations made the most sense?
  • If you chose to make a second bingo sheet, why do you think these choices didn't make the most sense?
  • Why do you think the green flag was always on when using the micro:bit blocks?

Carry out any end of lesson routines.

Log off devices and clear everything away.

Watch on YouTube
Watch on YouTube
Watch on YouTube
Watch on YouTube