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
  • Cybersecurity: Radio Data

Cybersecurity: Radio Data

Send and Receive Packets

The sender micro:bit and receiver micro:bit each have their own project, and they must be running at the same time.

  • Connect two micro:bit modules to two USB ports with two USB cables.
  • Open two separate browsers and navigate both to makecode.microbit.org.
  • Open two more with both going to Google Chrome Labs Serial Terminal.
  • Use the web editor Connect buttons to set up serial connections with each micro:bit in both the makecode tabs and terminal tabs.

See Texting with Terminals if you need a reminder on how to set up the serial connection to the micro:bit modules. 

  • If you are part of a class and have been assigned a channel, make sure to adjust the project’s radio set group (7) to your assigned channel before you flash the projects.
  • Enter and flash the sender project countdown_sender into the sending micro:bit.
  • Enter and flash the receiver project countdown_reciever into the receiving micro:bit. It’s below the countdown_sender project.

Example Sender Project: countdown_sender

Example Receiver Project: countdown_receiver

  • Go to the terminals in both browsers, make sure that local echo is checked, and reset both micro:bit modules.
  • Follow the prompts in the sender micro:bit’s terminal for entering the countdown start value and the message to display afterward.
  • Check the receiver micro:bot’s terminal and verify that it completes the countdown and displays the message you entered.


Printer-friendly version
Radio Data Packets
Prev
How Radio Data Packets Work
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

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

© 2025 Parallax Learn • Built with GeneratePress