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

Arlo with a BASIC Stamp Boe-Bot Brain

Control BOE Arlo with the Debug Terminal

Control BOE Arlo with the Debug Terminal

You can also communicate with the Arlo through the Debug Terminal, and perform the same serial communication tasks the BASIC Stamp has been programmed to do.  For example, here is the sequence of commands and replies from Test Encoder Connections.bs2:

     

  • Make sure your Debug Terminal’s Echo Off box is unchecked.
  • Put the Arlo up on blocks so that its wheels can spin freely without touching your work surface.
  • Set Main, Motors, and BOE power to on.
  • Run Arlo Terminal Communication.bs2.
  • Click the text input pane in your debug terminal.  It’s just above the pane that displays Debug messages from the BASIC Stamp.
  • Type PACE 1, and then press the Enter Key.
  • Type RST, and then press the Enter Key.
  • Type the following commands, each followed by the Enter key: GO 32 32, Go 0 0, DIST.

The reply values to your DIST command will depend on how long you let the wheels run.

' Arlo - Arlo Terminal Communication

' {$STAMP BS2}                               ' Stamp directive
' {$PBASIC 2.5}                              ' PBASIC directive

info VAR Byte(24)                            ' String buffer
n    VAR Byte                                ' Index

FREQOUT 4, 2000, 3000                        ' Start sound
DEBUG "Arlo Terminal", CR                    ' Terminal title

DO                                           ' Main loop
  DEBUG "> "                                 ' Send to terminal
  DEBUGIN STR info20CR                     ' Get typed values
  SEROUT 13, 32800, [STR info, CR]           ' Send to DHB-10
  SERIN 13, 32800, [STR info24CR]          ' Get DHB-10 reply
  DEBUG STR info                             '
  IF info(0) <> 0 THEN DEBUG CR              ' Add CR to reply
LOOP                                         ' Repeat main loop

Printer-friendly version
Increase BOE Arlo’s Top Speed in Pulse Mode
Prev
More Precise BOE Arlo Maneuvers with Encoders
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

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

© 2025 Parallax Learn • Built with GeneratePress