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 4: Prime Time

Course: | Web

  • Prime Time
  • Project 1: Prime Number Checker
  • Project 2: Square Root Machine
  • Bonus: Inputting Numbers
  • Review
  • Quiz

Lesson 4 : Prime Time
MicroPython 101

Time: 45+ minutes

Introduction

Code Introduced

Vocabulary

Objectives

Materials

Warm-Up (5 minutes)

Activities (45 minutes)

Facilitate as students complete all Prime Time modules on their own:

1. Prime Time (Document)
2. Project 1: Prime Number Checker (DIY)
3. Project 2: Square Root Machine (DIY)
4. Bonus Project: Inputting Numbers (DIY)
5. Review (Document)
6. Quiz (Multiple-choice)

Extended Activities (10 minutes)