MicroPython 101

An advanced introduction to micro:bit programming using MicroPython. (Available end of August 2019)

Grades 6 - 8
  • Web
Request Quote
for K-8 School Curriculum

Description

Introduce your class to physical computing with micro:bit and MicroPython. This course is an advanced introduction to micro:bit and requires prior Python programming knowledge. The curriculum engages students as they see their abstract programs come to life on a tangible physical device that they can control with their hands. Using built-in micro:bit sensors, buttons, and the 5X5 LED display, students build animated LED emojis, real-world temperature sensors, pedometers, multiplayer games, and even a two-way Morse code radio.

The course includes 16 hands-on projects with step-by-step instructions. It is delivered in an interactive notebook-style lesson format so that students can learn new concepts, write programs, and deploy code to the micro:bit right from the lesson interface. There is nothing to download or install on your computer. In addition, students can also launch Tynker Code Editor (link if possible to sample Microbit program) and write their own programs from scratch.

The lesson plans in this course build and reinforce STEM skills, problem solving, debugging, and collaboration skills, as students bridge digital and physical learning. Students will apply abstract programming concepts to create tangible hands-on micro:bit-based inventions.

Each lesson is designed for a class period of 45-60 minutes. All student work is automatically tracked and assessed, and you'll be able to monitor individual progress and mastery charts for your students.

This course is recommended for advanced students who are already familiar with Python. Beginner students may enroll in micro:Bit 101 where they use Tynker Blocks to program micro:bit.

This course is supported online and not supported on iPad.

Recommended Accessories: This course requires micro:bit devices (not included). You may purchase these separately at a variety of resellers or consider buying the classroom pack from Tynker. Each lesson has a detailed Parts List.

  • micro:bit, USB cable, Battery pack, 2xAAA batteries (for each students or group)
  • Accessories: Lessons 13, 14 require a Piezo speaker and Alligator clips
  • Lessons 15,16 require two or more micro:bits
  • Optional: microBit Inventor’s Kit: Classroom Pack (includes accessories required for all lessons)

While most lessons need a single micro:bit, it is encouraged that students improvise to create inventions that incorporate external cables, LEDs, speakers, aluminum foil, and other accessories, when available.

See the this section on the micro:bit foundation for more ideas!

Topics Include

  • micro:bit Python commands
  • 2-way radio communication
  • Deploying code to the micro:bit
  • Light and temperature sensing
  • Reading sensor values
  • Gestures and motion detection
  • Programming the LED grid
  • Multiplayer game development

What Students Learn

  • Display animations on the micro:bit LED
  • Create classic arcade games on the micro:bit
  • Create a pedometer by detecting steps
  • Build a prime number checker
  • Program a loaded die that always rolls 6
  • Detect button clicks and other events
  • Create multiplayer games using the radio
  • Build a soundboard to play musical notes
  • Extend the project to the physical world

Technical Requirements

* Online courses and lesson plans require a desktop computer, laptop computer, Chromebook, or Netbook with Internet connection and a Chrome (29+), Firefox (30+), Safari (7+), or Internet Explorer (10+) browser. No downloads required.
Python
Advanced Course
Prerequisites
No previous coding experience required.
Recommended for All ages.
Course includes
  • 14 lessons
  • 86 activities
  • Enhanced Creativity Tools
  • Automatic Assessment
  • Tutorials and Reviews
  • Coding Puzzles
  • DIY Projects
  • Quizzes
  • Teacher Guides
  • Answer Keys
1. Introduction
5 activities
Learn to program the micro:bit using MicroPython.
2. Emoji Maker
5 activities
Learn to draw and animate emojis on the micro:bit using MicroPython.
3. Track and Field
8 activities
Program a pedometer and a lap timer using micro:bit and MicroPython.
4. Prime Time
5 activities
Use MicroPython to create a prime number generator on the micro:bit.
5. Temperature Search
7 activities
Learn to use the micro:bit to sense temperature changes.
6. Dodgeball
5 activities
Create a dodge ball game that works on the micro:bit.
7. Reflex Master
6 activities
Build a reaction time game for the micro:bit using MicroPython.
8. High Rollers
9 activities
Program the micro:bit to become a die that only rolls high numbers.
9. Click It to Win It
7 activities
Create a 2 player game where the player who clicks first wins.
10. Guess the Word
7 activities
Build a guess the word game on the micro:bit.
11. Soundboard
6 activities
Program your micro:bit to play sounds and use text-to-speech.
12. Maze Madness
5 activities
Create a maze where you have to avoid touching the sides.
13. Treasure Hunt
5 activities
Write a program to locate hidden micro:bits.
14. Dits and Dahs
6 activities
Build a micro:bit radio communicator that sends and receives morse code.