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

Arlo with a BASIC Stamp Boe-Bot Brain

Curriculum

  • 1 Section
  • 13 Lessons
  • Lifetime
Expand all sectionsCollapse all sections
  • Arlo with a BASIC Stamp Boe-Bot Brain
    13
    • 1.1
      Connect Your BOE to the DHB-10
    • 1.2
      Test and Correct BoE Electrical Connections
    • 1.3
      Clear the BS2 Program
    • 1.4
      Test BS2 to DHB-10 Communication
    • 1.5
      Test BOE Arlo Motor Connections
    • 1.6
      Test BOE Arlo Encoder Connections
    • 1.7
      Try & Tune Some Boe-Bot Code
    • 1.8
      Increase BOE Arlo’s Top Speed in Pulse Mode
    • 1.9
      Control BOE Arlo with the Debug Terminal
    • 1.10
      More Precise BOE Arlo Maneuvers with Encoders
    • 1.11
      Connect and Test the Arlo + BOE Ping))) Sensors
    • 1.12
      Arlo + BOE Control System Adjustments
    • 1.13
      Troubleshooting Your Arlo + BOE

Try & Tune Some Boe-Bot Code

Try & Tune Some Boe-Bot Code

Try the Unmodified Code

Let’s try the ForwardLeftRightBackward.bs2 program from pages 107-108 in Robotics with the Boe-Bot v3.0.  You might have noticed that the last serial command to the Arlo in the previous program was SEROUT 13, 32800, [“PULSE”, CR].  That switched the Arlo’s DHB-10 from serial communication mode to pulse mode in preparation for this program.  When the Arlo’s DHB-10 starts up, it automatically goes into pulse mode.  So, another option for switching a program out of serial communication mode is to simply restart the DHB-10.  You can do that by either pressing and releasing its reset button or turning Motors power off and back on.   

  • Set power like this: MAIN (on), MOTORS (off), BOE (position-2)
  • Run ForwardLeftRightBackward.bs2.
  • Turn all power off, unplug the programming cable, and take to your Arlo navigation area.
  • Turn MAIN and MOTORS power on.
  • Set the BOE power switch to 2.
  • Verify that the Arlo goes forward, turns left, then right, then backs up to near where it started.

The program would make a Boe-Bot turn about 90 degrees, but not so with the Arlo. 

  • Make notes on how far it actually turned.
  • Let’s say the Arlo turned 60° instead of 90°.  Since (90/60) x 24 = 36 try replacing 24 with 36 and retry.  A couple iterations to get closer to 90° will probably be needed.  

In the More Precise Maneuvers with Encoders section, we’ll get those 90° turns on the first try!  


Printer-friendly version
Test BOE Arlo Encoder Connections
Prev
Increase BOE Arlo’s Top Speed in Pulse Mode
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

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

© 2026 Parallax Learn • Built with GeneratePress