Please enable JavaScript to use CodeHS

Introduction to micro:bit Programming with Python

Introduction to micro:bit Programming with Python introduces students to physical computing through interactive activities and hands-on projects. Using micro:bits, students apply basic programming concepts to control LEDs, buttons, and sensors while exploring how software interacts with hardware.

Overview & Highlights

Level
Middle School
Contact Hours
50
Timeframe
Semester

Course Overview

To view the entire syllabus, click here or click to explore the full course.

MODULES - 3

  • Intro to micro:bit

    Students learn the basics of the micro:bit, such as how to light up and change the brightness of LEDs and how to use variables to write more versatile programs.

  • Program Control with micro:bit

    Students combine control structures, such as if/else statements and loops, with the micro:bit built-in and external sensors to write programs that react to the outside world.

  • Advanced micro:bit

    Students explore all of the capabilities of the micro:bit on their own as they research, explore, and teach their peers about new sensors.


15
Lessons
23
Videos
45
Exercises
5
Challenges
69
Offline Handouts

Demo Programs

Explore programs that your students will build throughout this course!

Course Resources

Here are a few examples of teacher resources and materials to use in the Introduction to micro:bit Programming with Python course

Customizable Assignments

Create and organize Assignments in any CodeHS course that you're teaching. You can even add custom assignments to pre-existing CodeHS courses.

Learn More

Actions for Teachers

Didn't find what you were looking for? Here are a few links that might be useful to you.

FAQ

Frequently Asked Questions

What is Introduction to micro:bit Programming with Python?

This is a 50-hour course that introduces middle school students to physical computing by combining foundational computer science concepts with hands-on programming using the BBC micro:bit. Students write Python programs that interact with real hardware such as LEDs, sensors, buttons, speakers, and servo motors.

Who is this course for?

This course is ideal for middle school students in grades 6 through 8, classes looking for a hands-on blended computing experience, schools using micro:bit kits who want Python integration, and students currently learning introductory Python.

Are there any prerequisites?

An introduction to basic programming structures such as variables, loops, conditionals, and functions is recommended, but no physical computing experience is needed.

Why was this course built?

Educators asked for the Intro to Programming with Tracy the Turtle and micro:bit course to let students code their micro:bits in Python instead of JavaScript. To meet that need, CodeHS took the videos, handouts, examples, exercises, and explorations from the Introduction to Physical Computing with micro:bit course and rewrote them in Python.

What changed in the updated micro:bit course?

The content from Introduction to Physical Computing with micro:bit was rewritten so students program in Python instead of JavaScript. Teachers can also now pull content from this course into Intro to Programming with Tracy the Turtle and micro:bit, giving them a Python-based path in addition to the original JavaScript version.

How long is the course?

The course is 50 hours, but it's flexible and can be taught as a 30-hour quarter course or extended up to 60 hours with advanced micro:bit projects.

What will students learn to do?

Students write Python programs in the browser using the MakeCode editor, explore how software interacts with the physical world, build interactive systems using LEDs, sensors, sound, and movement, and work through engineering problems using pseudocode and planning.

Do students need a physical micro:bit device?

No. The course works with physical micro:bit devices, but it's fully supported in simulation, and downloading code to a physical micro:bit is optional.

Does this course require any special software or installations?

No. Everything runs in the browser, so no installations are required.

How does this course relate to Intro to Programming with Tracy the Turtle and micro:bit?

Teachers can teach this course as a standalone Python-based option, or pull content from it to use within Intro to Programming with Tracy the Turtle and micro:bit.

Where can I find the syllabus and course details?

The overview page is at https://codehs.com/course/26839/overview, and the syllabus is at https://codehs.com/syllabus/26839.