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: Navigation Control from a Keyboard

Cybersecurity: Navigation Control from a Keyboard

Receiver Project for cyber:bot Output

The receiver project is also adapted from a previous tutorial.

Starting with the countdown_receiver from the Send and Receive Packets activity, you can replace its countdown while loop and printed message with the servo speed and pause (ms) calls from terminal_controlled_bot_tethered_try_this. You will also need to update the dictionary parsing so that it gets the vL, vR, and ms values using the ‘vL’, ‘vR’, and ‘ms’ keys. That’s the most crucial part of incorporating the radio-in to cyber:bot navigation-out part of your tethered app into the project that wirelessly receives. 

You will also need to make a few other adjustments. Here they are step-by-step:

  • Open countdown_receiver from Send and Receive Packets.
  • Find these blocks:

  • Replace them with these blocks:

  • Make sure the cyberbot extension is loaded on your micro:bit.
  • Rename the project terminal_controlled_bot_wireless.
  • Find these blocks:

  • Replace them with these blocks:

  • Delete these blocks:

  • Find these blocks:

  • Replace them with these blocks:

  • If you are in a classroom and using assigned channels, update your channel. 

Now, your project should be ready. 

  • Verify the changes you made against the example project listed below.
  • Set your project’s name.
  • Disconnect your transmitter micro:bit from USB, and connect the cyber:bot you will be remote controlling.
  • Load the code into the remote controlled cyber:bot.
  • Disconnect your cyber:bot from USB and set it on the floor somewhere nearby.
  • Make sure batteries are connected, and the 3-position switch is set to 2.

Example Project: terminal_controlled_bot_wireless


Printer-friendly version
Transmitter Project for Keyboard Inputs
Prev
Test It: Navigate Wirelessly
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

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

© 2025 Parallax Learn • Built with GeneratePress