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
  • SumoBot WX Movement Basics

SumoBot WX Movement Basics

Servo Centering Program

Program

Follow the steps below to create a program to center the servos.

  • In BlocklyProp Solo, create a New Project named
  • Name it Center Servos with a Board Type of Propeller FLiP or Project Board
  • Place two CR servo PIN speed blocks on the canvas.  You can find them in the Servo category.  
  • Set one block’s PIN dropdown to 26, and the other to 27.  Leave the speed values for each block at zero.
  • Snap the block with PIN set to 27 underneath the one with PIN set to 26.
  • Optionally, snap a comment on top that matches the project name: Center Servos.  
  • Click Save and save your program to your computer.

 

Procedure

  • For each servo, you will make a small adjustment to its set screw. This will match its stay-still behavior to the zero-speed signal sent by a CR servo block.
  • Click the Load & Run (Save code to EEPROM)  button to load the program into your SumoBot.  The button looks like this:
  • Set the SumoBot face down on the table so that its wheels do not touch the surface.
  • Set the POWER switch to 2.  If you don’t, the servos will not get any power, and this procedure will not work!

If your servos are new, they should start moving slowly at this point.  If they were used in a previous term at your school, they might or might not already be centered, and so may or may not turn.  

If you turn the screwdriver slightly in one direction, the servo should speed up, and in the other, it should slow down.  It might even stop and then start turning the opposite directions if the set screw passes the center (stay still position) as you adjust it.

CAUTION – BE GENTLE!  The set screw is part of a potentiometer and it is very delicate.  Do not press hard on the screwdriver, and only turn it slightly and gently.

  • Use the Parallax screwdriver’s Phillips end to adjust the set screw in one of the servos.
  • Carefully adjust each screw until you find the setting that makes the servo not turn.
  • Repeat for the other servo.

 


Printer-friendly version
Center the Servos
Prev
How the Centering Program Works
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

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

© 2026 Parallax Learn • Built with GeneratePress