Introduce your campers to physical computing with micro:bit and Tynker Blocks. The micro:bit is a tiny, microcomputer with programmable LEDs, light, and temperature sensors, physical connection pins, motion sensors, and wireless communication via radio and Bluetooth. Hands-on learning with Tynker’s curriculum engages campers as they see their abstract programs come to life on a tangible physical device.

Using a combination of interactive lessons, concept explanations, videos, puzzles, quizzes, and DIY projects, this course teaches campers to write block coding programs and then deploy the code to the micro:bit wirelessly. Students can use code to program physical buttons, display messages on the micro:bit, animate the LEDs, simulate dice and coin flips, and detect gestures and shakes.

The lesson plans in this course build and reinforce engineering, math, and science skills, while applying programming concepts such as repetition, events, conditional logic, variables, and functions with a physical computing device.

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 campers.

This course is recommended for campers who are just starting to get familiar with block programming. More advanced campers who are familiar with Python may enroll in MicroPython 101 where they use MicroPython, a Python-like text-based programming language to program micro:bit.

This course is supported online as well as on an iPad through the Tynker app.

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.

Topics Covered: micro:bit command library, variables, deploying code to the micro:bit, types of loops, reading sensor values, conditional logic, programming the LED grid, lists, and arrays.

What Students Learn

  • Program micro:bit button-click events
  • Display a scrolling message on the micro:bit
  • Create animated LED displays using loops
  • Simulate a coin toss using conditional logic
  • Create a virtual die using random numbers
  • Detect gestures using the motion sensor
  • Learn to use math operators and expressions

Technical Requirements

* Online courses require a modern desktop computer, laptop computer, Chromebook, or Netbook with Internet access and a Chrome (29+), Firefox (30+), Safari (7+), or Edge (20+) browser. No downloads required.

micro:bit Studio Lesson Plan

Lesson: Ahoy!
Time: 45+ mins


Welcome to Tynker's micro:bit Studio course! This pirate-themed course contains 8 exciting lessons that will teach your campers how to program a micro:bit, which is a small (yet powerful) computer. As campers progress through the course, they'll create a variety of projects while reinforcing coding concepts. Note: Camper will likely encounter a situation where their micro:bit does not work as expected, so they'll need to troubleshoot. The problem could be caused by human error (e.g., forgetting to attach the USB) or the device.

In this lesson, campers will become familiar with the different parts of their micro:bit such as the LED display, buttons, battery, and sensors. Additionally, they'll learn how to program and run their first micro:bit project!

New Code Blocks

  • : Start the program when the play button is selected.
  • : Show the specified message on the micro:bit's LED screen.
  • : Run the code attached to this block when the specified button (e.g., A, B, A+B) is pressed.


  • Coding: Using a computer language to tell the computer what to do
  • Sequence: The order in which steps or events happen.
  • Command: A specific action or instruction that tells the computer to do something.
  • micro:bit: A small computer that can run commands.
  • LED: Acronym for "light emitting diode," which is a source of light.
  • Accelerometer: A device that detects motions such as shaking and tilting


Campers will...
  • Identify different parts of the micro:bit
  • Apply coding concepts to solve a puzzle module
  • Use the "button is pressed" and "say" code blocks to display text and numbers


  • micro:bit device (recommended 1 per camper)
  • USB cords
  • Computers, laptops, or Chromebooks (1 per camper) with student account access to

Warm-Up (5 minutes)

Tell campers that they're going to learn how to program their micro:bit today using Tynker! Prepare campers for today's lesson by helping them understand how to program their micro:bit. For example:
  • Step 1: Use code blocks to write your code
  • Step 2: Plug your micro:bit into the battery or the USB connector
  • Step 3: Click the play button
  • Step 4: When the menu appears, select your micro:bit
  • Step 5: Test to see if your program runs on your micro:bit

Activities (45 minutes)

Facilitate as campers complete all Ahoy! modules on their own:
1. Ahoy micro:bit! (Introduction)
  • Campers are introduced to the micro:bit and the micro:bit Studio course. Here's what the micro:bit looks like:

  • Tell campers to click anywhere on the screen to move onto the next slide.
2. Front of the Board (Introduction)
  • In this module, a friendly pirate named Piper introduces the front part of the micro:bit:
    • LED Display: The micro:bit has a 5x5 grid of 25 LEDs. Point out to campers that LED is an acronym for "light emitting diode."
    • Buttons: Campers will learn that the micro:bit has two buttons: button A and button B. Emphasize to campers that there isn't a "A+B" button on their micro:bit. The "A+B" button in the module is there to illustrate pushing button A and button B at the same time.
3. Back of the Board (Introduction)
  • In this module, Piper introduces the back part of the micro:bit:
    • Battery: Campers will simulate plugging in the battery by placing the virtual plug into the animated micro:bit.
    • Sensors: Campers will learn that the micro:bit has different sensors, such as a compass, thermometer, and accelerometer. Make sure campers know what the different sensors measure (e.g., the thermometer sensor measures temperature). They'll need to know this for the quiz.
4. Block Review (Puzzle)
  • In this module, campers will learn how to program their micro:bit using Tynker code blocks.
  • To solve this puzzle module, campers will need to use five different "say" blocks to make the micro:bit display numbers 1-5.
  • Give a hint: Tell campers that each "say" block needs to have a different parameter.
5. Land Ho! (DIY)
  • In this DIY (do-it-yourself) module, campers will follow step-by-step directions to create a project that detects button presses and displays text on their micro:bit.
  • Make sure campers drag the given code blocks onto the code editor section.
  • Point out to campers that the micro:bit has three different button presses: A, B, and A+B.
  • Are campers struggling to run code on their micro:bit? Make sure they read the instructions on "Step 4" of the tutorial carefully:

  • If campers finish early, ask them to complete the bonus challenge, which encourages them to change the text and say something else!
6. Quiz (Multiple-choice)
  • Campers will be asked 8 quiz questions to review concepts from this lesson.

Extended Activities (10 minutes)

Lead a discussion with your campers:
  • Who can name at least two different parts located on the front of the micro:bit board? (Example: A button, B button, LEDs.)
  • Who can name at least two different parts located on the back of the micro:bit board? (Example: battery, accelerometer, temperature sensor.)
  • If you're micro:bit isn't working as expected, what should you do? (Answer: check your code, make sure the USB or battery is attached properly, ask a neighbor or the teacher for help, make sure you're connecting to the correct device.)

U.S. Standards

  • CCSS-Math: MP.1, MP.2, MP.4
  • CCSS-ELA: RF.3.4, RF.4.4, RF.5.4 RF.3.4.A, RF.4.4.A, RF.5.4.A
  • CSTA: 1B‑AP‑11, 1B‑AP‑12, 1B‑AP‑15
  • CS CA: 3‑5.AP.13, 3‑5.AP.14, 3‑5.AP.17
  • ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b

U.K. Standards

Key Stage 2 (Years 4-6)
  • 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.

Class Presentations

These student-facing slide presentations help educators seamlessly run Tynker lessons in a virtual or physical classroom setting. Each lesson has its own set of slides that introduce the big ideas, suggest unplugged activities, and include a section for each activity module. While running lesson slides, you can switch back and forth between the activity, the slides, answer keys and other lesson materials.
A sample slide presentation is available for your review. Please log in to view all the class presentations available with your plan..
Lesson 1
0 Slides
Lesson 2
Light the Way
0 Slides
Lesson 3
0 Slides
Lesson 4
High Rollers
0 Slides
Lesson 5
0 Slides
Lesson 6
Two Sides of a Coin
0 Slides
Lesson 7
0 Slides
Lesson 8
Game Night
0 Slides
Lesson 9
Sensory Overload
0 Slides
Lesson 10
0 Slides
Lesson 11
0 Slides
Lesson 12
0 Slides
Lesson 13
Soarin' Dragon
0 Slides
Lesson 14
Glow Shoes
0 Slides
Lesson 15
0 Slides
Lesson 16
0 Slides