the chair further away than the two cases, and the two
openings (front and right) are obvious.
If your application needs a tighter beam, you could use
an IR ranger rather than the ultrasonic PING))). The RROS
Let’s look at one more supported option to
illustrate just how easy it is to add capabilities to
Figure 8 shows a PING))) ranger mounted on a
small servomotor. A four-pin header was hot-glued to
one end of the servomotor so that it could be
physically mounted on the robot by simply plugging it
into the breadboard (see Figure 9).
Other than supplying five volts and ground to the
turret servo, you only need to connect the servo
control pin to the RROS pin 10 to complete the
Notice that we are now using the servo-powered robot.
When properly initialized, the RROS will control either robot
using the same commands and programs.
The RROS chip provides all the necessary low-level code
to control the turret. You could use the command rRange(-
90) to look directly left or rRange( 20) to look 20° to the
robot’s right. The turret will automatically move before the
reading is taken.
If you have ever programmed a turret mounted ranger,
this simplicity should excite you because it gives you more
time for application development instead of slaving over
Adding the turret would let your robot create scans like
Figure 7 much quicker because your program could move
the turret instead of rotating the robot.
As you can see, even beginners can build an entry-level
robot quickly and inexpensively using the techniques
discussed. Then, when you’re ready for more sophistication,
you can easily add more sensors to your RROS-based robot
(download the RROS manual for more details). SV
44 SERVO 01.2018
If you are intrigued by RROS-based robots, watch for my
new book RobotBASIC Robots for Beginners on Amazon.