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
  • Upgrade Your cyber:bot with Feedback 360° Servos

Upgrade Your cyber:bot with Feedback 360° Servos

Maneuvers with Speed Control

With the Feedback 360° servos, scripts can control the speed of each wheel from a full speed of 2 turns/second forward to 2 turns/second backward. 

After adding the feedback360 module to the micro:bit filesystem and importing it, the drive.speed method takes left and right wheel speeds in terms of 64ths of a turn/second.  Positive values are for forward, and negative values are for reverse.    

 

Maneuver Script

Let’s first repeat the familiar forward, backward, left, right script using Feedback 360° speed control.  We’ll use a half speed of 64, which is about the same as the continuous rotation servo’s top speed of 130.  Unlike the continuous rotation servos, the Feedback 360° servos should not need any left/right speed value adjustments to straighten out the cyber:bot’s forward/backward travel.

  • Add five AA batteries to your cyber:bot robot’s battery pack, and plug the battery pack’s barrel plug into the cyber:bot board’s barrel jack.
  • Connect the micro:bit in the cyber:bot to your computer with a USB cable.
  • Set the PWR switch to 0.
  • Right-click the link below for speeds_forward_left_right_backward.hex, and select Save link as…

speeds_forward_left_right_backward.hex

 

  • Open speeds_forward_left_right_backward with the micro:bit Python Editor editor.
  • Click Send to micro:bit..

Maneuver Tests

  • Disconnect the cyber:bot’s micro:bit from the USB cable.
  • Set the cyber:bot on the floor
  • Set the cyber:bot board’s PWR switch to 2.
  • Verify that the cyber:bot:
    • Rolls forward for 2 seconds
    • Rotates left for 1 second
    • Rotates right for 1 second
    • Rolls backward for 2 seconds

 


Printer-friendly version
About the Encoders
Prev
How the Maneuver Tests 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