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 Activity Board Brain

Arlo with an Activity Board Brain

Test Activity Board Arlo’s Motor Connections

Test Activity Board Arlo’s Motor Connections

This next program sets the Arlo’s motors to 20/127 of full power in the forward direction.  If your Arlo goes forward while running this program, it indicates that your motors are connected correctly.

Check the picture at the start of this document and make sure you know the Arlo’s forward, backward, left and right.

IMPORTANT: Your Arlo will not be ready for the next step until it goes forward for this test.

  • Turn off the Arlo’s Motors rocker switch.
  • Open Arlo – Test Motor Connections.side and click “Run with Terminal”.
  • The SimpleIDE Terminal may display a communication failure because your DHB-10 isn’t responding.  Don’t worry about it, the DHB-10 didn’t reply because Motors power is off.
  • Turn all power switches off.
  • Take your Arlo to an open space with at least 2 m of open space for forward travel.
  • Turn all powers on: Arlo MAIN & MOTORS and Activity Board power to 2.
  • Verify that the Arlo goes slowly forward for 3 s, then stops.
    • If it does not go forward, check the Arlo Fails Motor Connections Test section in the Troubleshooting Guide at the end of this document.
    • If it does go forward, your Arlo is ready for the next step (Test Encoder Connections).
/*
  Arlo - Test Motor Connections.c

  Run this program to verify that your Arlo goes forward.
*/

#include "simpletools.h"                      // Include simple tools
#include "arlodrive.h"                        // Include arlo drive

int main()                                    // Main function
{
  freqout(4, 1000, 3000);                     // Beep -> program starting
  print("Program running...\n");              // Program running message
  drive_feedback(0);                          // Disable encoders
  drive_speed(20, 20);                        // 20/127 of full power to motors
  pause(3000);                                // Go for 3 seconds
  drive_speed(0, 0);                          // Stop
  print("Program done!\n");                   // Program done message
}

Printer-friendly version
Test Propeller to DHB-10 Communication
Prev
Test Activity Board Arlo’s Encoder Connections
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

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

© 2025 Parallax Learn • Built with GeneratePress