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
  • Computer – micro:bit Talk

Computer – micro:bit Talk

Meet the Terminal

The serial monitor terminal apps that are built into python.microbit.org online editor and the Mu software give you two ways to interact with your micro:bit:

  1. In Serial mode, the micro:bit can run a script that sends messages to your computer which are displayed by the terminal.  Depending on the script, the micro:bit can also store and process messages you type into the terminal.
  2. The micro:bit can host REPL (Read-Evaluate-Print-Loop) mode, which is for typing MicroPython statements into the terminal and seeing immediate results — no flashing a script required.

 

Most of the Cybersecurity tutorials will use the serial monitor to interact with a micro:bit while its scriptis running.  For example, if the micro:bit picks up any radio messages, it will be able to display them quickly in the serial monitor.  For the cyber:bot, it is also useful for testing sensor circuits before relying on them for navigation.

Why is it called a terminal?

The serial monitor is a kind of terminal. In computing, a terminal is “A combination of a keyboard and output device (such as a video display unit) by which data can be entered into or output from a computer or electronic communications system” according to Merriam Webster.

Large computers with numerous “terminals” connected to them used to be common in business and academics.  Each terminal had a monitor and keyboard, and sometimes other devices. 

Image source: “DEC VT100” by Gorthmog is licensed under CC BY-SA 4.0

With the advent of more sophisticated computers and networks, terminal emulator apps like the Windows command prompt became common.  

 

The “terminals” built into python.microbit.org and Mu are also considered computer terminal emulator apps, even though they are communicating with a microcontroller.

Hardware terminals are still in use today.  For example, an ATM (Automated Teller Machine) is a terminal that’s connected to the bank’s system.  At the ATM, a user can access their bank account and interact with a bank to withdraw or deposit money, check account balances, etc.

Image source: “ATM_750x1300.jpg” by Rfc1394 is released into Public Domain

 


Printer-friendly version
Interactive Scripting with REPL
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

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

© 2025 Parallax Learn • Built with GeneratePress