MicroPython 101

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

  • GRADES 7+
  • 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 8: High Rollers

Course: | Web

  • High Rollers
  • Project 1: High Rollers Game
  • Rolling Again and Again
  • Computer-Player's Dice Rolls
  • Project 2: Loaded Die
  • Detecting Pin Touching
  • Finishing the Dice
  • Playing the Game and Rolling the Dice
  • Review
  • Quiz

Lesson 8 : High Rollers
MicroPython 101

Time: 45+ minutes


New Code




Warm-Up (5 minutes)

Activities (45 minutes)

Facilitate as students complete all High Rollers modules on their own:

1. High Rollers (Document)
2. Project 1: High Rollers Game (DIY)
3. Rolling Again and Again (DIY)
4. Computer-Player's Dice Roll (DIY)
5. Project 2: Loaded Die (Document)
6. Detecting Pin Touching (DIY)
7. Finishing the Dice (DIY)
8. Playing the Game and Rolling the Dice (DIY)
9. Review
10. Quiz (Multiple-choice)

Extended Activities (10 minutes)