MicroPython 101

A project-based introduction to micro:bit programming using MicroPython with instructions to build 16 hands-on micro:bit projects.

  • GRADES 7+
  • ADVANCED
  • WEB

Answer Key

U.S. Standards

  • CCSS-Math: MP.1
  • CCSS-ELA: 6-8.RST.3, 6-8.RST.4, 6-8.RST.7
  • CSTA: 2-AP-11, 2-AP-13, 2-AP-15, 2-AP-17
  • CS CA: 6-8.AP.11, 6-8.AP.13, 6-8.AP.15, 6-8.AP.16, 6-8.AP.17
  • ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b

U.K. Standards

Key stage 2
Pupils should be taught to:
  • design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts
  • use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs
  • understand computer networks, including the internet; how they can provide multiple services, such as the World Wide Web, and the opportunities they offer for communication and collaboration
  • use technology safely, respectfully and responsibly; recognise acceptable/unacceptable behaviour; identify a range of ways to report concerns about content and contact
Key stage 3
Pupils should be taught to:
  • undertake creative projects that involve selecting, using, and combining multiple applications, preferably across a range of devices, to achieve challenging goals, including collecting and analysing data and meeting the needs of known users
  • create, reuse, revise and repurpose digital artefacts for a given audience, with attention to trustworthiness, design and usability
  • understand a range of ways to use technology safely, respectfully, responsibly and securely, including protecting their online identity and privacy; recognise inappropriate content, contact and conduct, and know how to report concerns

Lesson 10: Button Masher

Course: | Web

  • Button Masher!
  • Registering Clicks
  • Displaying Number of Clicks
  • Showing Progress
  • Finishing Touches
  • Playing the Game
  • Review
  • Quiz

Lesson 10 : Button Masher
MicroPython 101

Time: 45+ minutes

Introduction

Code Introduced

Vocabulary

Objectives

Materials

Warm-Up (5 minutes)

Activities (45 minutes)

Facilitate as students complete all Button Masher modules on their own:

1. Button Masher! (Document)
2. Registering Clicks (DIY)
3. Displaying Number of Clicks (Example)
4. Showing Progress (DIY)
4. Showing Progress (DIY)
4. Showing Progress (DIY)
4. Showing Progress (DIY)
4. Showing Progress (DIY)

Extended Activities (10 minutes)