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 or Boe-Bot Tilt-Controller Project

Curriculum

  • 1 Section
  • 3 Lessons
  • Lifetime
Expand all sectionsCollapse all sections
  • SumoBot or Boe-Bot Tilt-Controller Project
    3
    • 1.0
      Build and Test the Circuits
    • 1.1
      Program the Controllers and Bots
    • 1.2
      How the SumoBot Tilt Controller Works

Program the Controllers and Bots

Program the Tilt Controller

  • If you have more than one tilt controller, use a sticker to label your first one “B”.
  • Connect your HomeWork Board to your computer via the programming cable.
  • Open XBee Tilt Controller CH B.bs2 and use your BASIC Stamp Editor software to load it into the HomeWork Board.
  • If you have a second tilt controller, label it “D”, and load XBee Tilt Controller CH D.bs2 into it. 
  • If you have more tilt controllers, make a copy of XBee Tilt Controller CH D.bs2, and update the CH CON $0D to a new channel value and mark your tilt controller board with that value.  Your other options are: $0E, $0F, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, and $1A.  If you need one more option, use $0C.  It’s the XBee modules default so save it for last to reduce the likelihood of other XBee network traffic. Example: Your third controller board could be labeled “E”, and the program would be updated with CH CON $0E. 

Program the Receiver Robot(s)

  • If you have more than one SumoBot or Boe-Bot robot, use a sticker to label your first one “B”.
  • Connect your robot’s board to your computer via the programming cable.
  • Set your robot board’s power switch to 1.
  • Make sure Tilt Controller B’s battery is connected.
  • Open XBee Tilt Controlled SumoBot CH B.bs2 and use your BASIC Stamp Editor software to load it into your robot’s board.
  • Keep an eye on the Debug Terminal and listen for the beeps. 
    (It beeps twice periodically as it configures the XBee, and then once repeatedly as it waits for communication to start.  When communication starts, the robot makes a 2 second long beep and then goes quiet, which means it’s ready to be tilt controlled.  Skip to the Drive Your Robot instructions to get started with that.)
  • If you have a second robot, label it “D”, and load XBee Tilt Controlled SumoBot CH D.bs2 into it. 
  • If you have more robots, follow the same procedure you used for multiple controllers.  Make sure to start with a copy of XBee Tilt Controlled SumoBot CH D.bs2, and update its CH CON directive just like you did with the tilt controllers.

Test Drive!

  • Put your robot down on the floor, and move its switch to position 2 to power the servos.
  • Hold your tilt controller board flat in front of you, facing so that so that the 9 V battery is on the left.
  • Tilt the board forward and backward, so the robot rolls forward then backward.
  • Try making the robot turn while driving, by tilting the board forward-right, backward-left, and so forth.

If you made two tilt-controlled SumoBot robots, it’s battle time.  Have fun!

If your robot starts beeping in the middle of tilt control, it might mean either your tilt controller’s or robot’s batteries are running low.


Printer-friendly version
Build and Test the Circuits
Prev
How the SumoBot Tilt Controller 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