Skip to content
Parallax Learn

Parallax Learn

  • Welcome
  • Tutorials
        • Tutorial Series head tag

          Tutorial Series
        • Tutorial Series

          The special, classroom-ready series pages are organized collections of tutorials for our most popular hardware and/or languages. The tutorials for each topic are conveniently accessible from a single page, shown in the order it is recommended that they be completed.
        • Robotics Series Head tag

          Robotics Series
        • Robotics Series

          • Artificial Intelligence
          • Cybersecurity: Radio Data tutorialCybersecurity
          • cyber:bot + Python
          • cyber:bot + MakeCode
          • Boe-Bot Tutorial SeriesBoe-Bot
          • Arduino Shield-Bot
          • ActivityBot with C TutorialsActivityBot + C
          • ActivityBot with BlocklyProp Tutorial SeriesActivityBot + BlocklyProp
          • Scribbler 3 Tutorial SeriesScribbler 3
        • Electronics & Programming Series Head tag

          Electronics & Programming Series
          • BS2 Board of Education Tutorial SeriesBS2 Board of Education
          • Propeller C-Language BasicsPropeller C Basics
          • FLiP Try-It Kit C Tutorial SeriesFLiP Try-It Kit + C
          • FLiP Try-It Kit BlocklyProp TutorialsFLiP Try-It Kit + BlocklyProp
          • Badge WX Tutorial SeriesBadge WX
          • Propeller BlocklyProp Basics and ProjectsPropeller BlocklyProp Basics
          • View All Tutorial Series »
        • Browse Tutorials
        • Browse Tutorials

          Individual tutorials sorted by robot or kit, and language.
        • By Robot or Kit
          • ActivityBot
          • SumoBot WX
          • Boe-Bot
          • Shield-Bot
          • cyber:bot
          • Badge WX
          • ELEV-8
          • ARLO
        • By Language
        • By Language

          • Propeller C
          • Arduino
          • BlocklyProp
          • PBASIC
          • Python
          • MakeCode
          • View All Tutorials »
  • Educators
  • Reference
  • Downloads
  • Home
  • All Courses
  • Get Started with micro:bit and Python

Get Started with micro:bit and Python

Flash Scripts with Python Editor

What is a Script?

A script, also called a program,  is a set of instructions that a computer runs to make the computer perform tasks.  Scripts make phone apps do their jobs, and they also make web pages respond to your clicks and taps.  Scripts for the micro:bit can make it do all kinds of interesting apps as you will see.

For the micro:bit to run a script, it first needs to be transferred to the micro:bit module’s flash memory.

In this activity, you will use the micro:bit Python Editor V3 to write scripts and to transfer scripts into the micro:bit module’s flash memory.

The micro:Bit Python Editor v3 runs in your Chrome or Microsoft Edge browser. If you must be offline while writing and loading scripts for your micro:bit, you may use the optional Mu editor installed on your Windows or Mac computer

 

Using the Python Editor v3

The instructions below guide you step-by-step through connecting your micro:bit to your computer and running your first script. The video and red checklist instructions are about the same.

Make sure to follow along and repeat the steps with your own micro:bit.

]

  • Run Google Chrome (recommended) or Microsoft Edge.
  • Go to https://python.microbit.org/v/3.
  • If the site asks about cookies, it doesn’t gather personal information, so there’s no “wrong answer.”
  • If it shows a Welcome… popup, click the Start coding button.
  • (Feel free to watch that video after you’re done with this page, it’s at https://youtu.be/mREwMW69qKc.)
  • Click the right (simulator) panel’s play button, and observe what the script will make the micro:bit do.
  • Click the Send to micro:bit button.

 

  • When the ‘Connect cable’ popup appears, connect the micro:bit to your computer with the USB cable (using your USB A to C Adapter if you need it).  Then, click Next.

 

  • When the Select micro:bit popup appears, make a note of what it’s telling you to do in the next popup, namely: choose your micro:bit and then select Connect.  Click Next.
  • In the ‘python.microbit.org wants to connect’ popup: choose your micro:bit and click Connect.

 

  • Check for the micro:bit flashed message; it’s just above the Send to micro:bit button.

 

  • Check the micro:bit module’s LED matrix display to make sure what it displays matches what you saw in the simulation.

 


Printer-friendly version
Try This: Make Changes
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

About | Terms of Use | Feedback: learn@parallax.com | Copyright©Parallax Inc. 2024

© 2025 Parallax Learn • Built with GeneratePress