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 an Arduino Uno & BOE Shield Brain

Curriculum

  • 1 Section
  • 14 Lessons
  • Lifetime
Expand all sectionsCollapse all sections
  • Arlo with an Arduino Uno & BOE Shield Brain
    14
    • 1.1
      ArloRobot Arduino Library
    • 1.2
      Connect BOE Shield to DHB-10
    • 1.3
      Test Shield Electrical Connections
    • 1.4
      Clear the Arduino Sketch
    • 1.5
      Test Arduino to DHB-10 Communication
    • 1.6
      Test BOE Shield Arlo Motor Connections
    • 1.7
      Test BOE Shield Arlo Encoder Connections
    • 1.8
      Try & Tune Some BOE Shield-Bot Code
    • 1.9
      Increase BOE Shield Arlo’s Top Speed
    • 1.10
      Control BOE Shield Arlo with the Terminal
    • 1.11
      More Precise BOE Shield Maneuvers with Encoders
    • 1.12
      Connect & Test BOE Shield + Arlo Ping))) Sensors
    • 1.13
      BOE Shield + Arlo Control System Adjustments
    • 1.14
      Troubleshooting Your Arlo + BOE Shield

Troubleshooting Your Arlo + BOE Shield

Troubleshooting

Important: Keep Your DHB-10 Firmware Up-to-Date!
The DHB-10 firmware is expected to undergo occasional revision as continual improvements are made by Parallax and by the community. It is important to make sure your firmware is up to date.

To make sure you always have the latest firmware version, bookmark the following pages and check back regularly for updates: Updating Your Firmware, DHB-10 Firmware Download Page

Arlo Failed the Communication Test

If the Arlo replies with 0 values for  fwver  and hwver, this sketch will display the entire trans action between Arduino and DHB-10.  The lines with the \r shows the actual serial communication from Arduino to DHB-10 (VER\r) and from the DHB-10 to the Arlo (10\r if communication, or messages like No reply in the case where the motor power is not on).   

/*
  Arlo-Troubleshoot-Arduino-DHB-10-Communication
 
  http://learn.parallax.com/tutorials/robot/arlo/arlo-basic-stamp-boe-bot-brain/
 
  You'll re ready for the next step when the Arduino Terminal displays:

  fwver = 10
  hwver = 1
*/

#include <ArloRobot.h>                        // Include Arlo library
#include <SoftwareSerial.h>                   // Include SoftwareSerial library

ArloRobot Arlo;                               // Declare Arlo object
SoftwareSerial ArloSerial(12, 13);            // Declare SoftwareSerial object
                                              // DHB-10 -> I/O 12, DHB-10 <- I/O 13
void setup()                                  // Setup function
{
  tone(4, 3000, 2000);                        // Piezospeaker beep
  Serial.begin(9600);                         // Start terminal serial port

  ArloSerial.begin(19200);                    // Start DHB-10 serial communication
  Arlo.begin(ArloSerial);                     // Pass to Arlo object

  int fwver = Arlo.readFirmwareVer();         // Check DHB-10 firmware
  Serial.print("fwver = ");                   // Display firmware version
  Serial.println(fwver, DEC);
  Serial.println(Arlo.lastExchange);

  int hwver = Arlo.readHardwareVer();         // Check DHB-10 hardware
  Serial.print("hwver = ");                   // Display hardware version
  Serial.println(hwver, DEC);
  Serial.println(Arlo.lastExchange);
}

void loop() {}                                // Nothing for main loop

Arlo Failed the Motor Connections Test

  • If the Arlo instead rotates left (clockwise), it means the Motor 2 inputs are reversed. To fix this, turn all power off and swap the DHB-10’s Motor 2 +/- terminal block connections.
  • If it rotates right (counterclockwise) swap the DHB-10’s Motor 1 +/- terminal block connections.
  • If it backs up, (travels toward the power switches), both Motor 1 and Motor 2 +/- terminal block connections will need to be swapped.  Make sure to test between each adjustment.

 

Ready To Mount the Optional Top Deck?

  • Return to the Assembly Guide.

Printer-friendly version
BOE Shield + Arlo Control System Adjustments
Prev

DISCUSSION FORUMS | PARALLAX INC. STORE

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

© 2026 Parallax Learn • Built with GeneratePress