Center the Servos

In this activity, you will run a BlocklyProp program that tells the SumoBot’s servo motors to stay still.  When you load that program into the SumoBot, its servos will probably move slowly.  If that’s the case, you can “center” each servo by adjusting its set screw with a screwdriver to make it stay still.  

When the servos are centered, it will allow your SumoBot to briefly stop moving during competitions.  It will also reduce its tendency to curve in one direction in response to a program that’s telling it to travel in a straight line.  

Over time, motor vibration can cause the servo’s set screw to drift away from the center setting you adjusted.  If that ever happens, just repeat this activity to re-center the servos.

Parts

  • SumoBot, built up at least through the end of the Build your SumoBot WX tutorial
  • USB A to micro-B cable
  • Parallax Screwdriver
  • 4 AA batteries, fresh or freshly recharged


Prep

  • Put 4 AA batteries into the battery pack, and plug the pack into the board.
  • Set the 3-position POWER switch to 1 for now.
  • Make sure the BATT LOW light off.  If it’s on, that means it’s time for fresh batteries!

  • Connect the SumoBot WX to your computer’s USB port.
  • BlocklyProp Launcher running, BlocklyProp Solo open, and Port set to your SumoBot WX.