CHAPTER 23

BUILDING A ROVERBOT
Imagine a robot that can vacuum the floor for you, relieving you of that time-consuming household drudgery and freeing you to do other, more dignified tasks. Imagine a robot that patrols your house, inside or out, listening and watching for the slightest trouble and sounding the alarm if anything goes amiss. Imagine a robot that knows how to look for fire, and when it finds one, puts it out.
Think again. The compact and versatile Roverbot introduced in this chapter can serve as the foundation for building any of these more advanced robots. You can easily add a small DC-operated vacuum cleaner to the robot, then set it free in your living room. Only the sophistication of the control circuit or computer running the robot limits its effectiveness at actually cleaning the rug.
You can attach light and sound sensors to the robot, and provide it with eyes that help it detect potential problems. These sensors, as it turns out, can be the same kind used in household burglar alarm systems. Your only job is to connect them to the robot’s other circuits. Similar sensors can be added so your Roverbot actively roams the house, barn, office, or other enclosed area looking for the heat, light, and smoke of fire. An electronically actuated fire extinguisher is used to put out the fire.
The Roverbot described on the following pages represents the base model only (see Fig. 23-1). The other chapters in this book will show you how to add onto the basic framework to create a more sophisticated automaton. The Roverbot borrows from techniques described in Chapter 10, "Metal Platforms." If you haven’t yet read that chapter, do so now; it will help you get more out of this one.
images
Construct the base of the Roverbot using shelving standards or extruded aluminum channel stock. The prototype Roverbot for this book used aluminum shelving standards because aluminum minimized the weight of the robot. The size of the machine didn’t require the heavier-duty steel shelving standards.
The base measures 12 by 9 in. These unusual dimensions make it possible to accommodate the galvanized nailing (mending) plates, which are discussed later in this chapter. Cut two pieces each of 12-in stock, with 45° miter edges on both sides, as shown in Fig. 23-2 (refer to the parts list in Table 23-1). Do the same with the 9-in stock. Assemble the pieces using 1-by--in flat corner irons and -by--in nuts and bolts. Be sure the dimensions are as precise as possible and that the cuts are straight and even. Because you are using the mending plates as a platform, it’s doubly important with this design that you have a perfectly square frame. Don’t bother to tighten the nuts and bolts at this point.
images
 
FRAME
2
12-in length aluminum or steel shelving standard
2
9-in length aluminum or steel shelving standard
3
4-by-9-in galvanized nailing (mending) plate
4
1-by--in flat corner iron
RISER
4
15-in length aluminum or steel shelving standard
2
7-in length aluminum or steel shelving standard
2
10-in length aluminum or steel shelving standard
4
1-by-3/8-in corner angle iron
MOTORS AND CASTER
2
Gear reduced output 6 or 12 V DC motors
4
2-by--in corner angle iron
2
5- to 7-in diameter rubber wheels
2
1-in swivel caster
Misc.
Nuts, bolts, fender washers, tooth lock washers, etc. (see text)
POWER
2
6 or 12 V, 1 or 2 A-h batteries (voltage depending on motor)
2
Battery clamps
 
images

images
The Roverbot uses two drive motors for propulsion and steering. These motors, shown in Fig. 23-5, are attached in the center of the frame. The center of the robot was chosen to help distribute the weight evenly across the platform. The robot is less likely to tip over if you keep the center of gravity as close as possible to the center column of the robot.
images
The 12-V motors used in the prototype were found surplus, and you can use just about any other motor you find as a substitute. The motors used in the prototype Roverbot come with a built-in gearbox that reduces the speed to about 38 r/min. The shafts are -in. Each shaft was threaded using a -in 20 die to secure the 6-in-diameter lawn mower wheels in place. You can skip the threading if the wheels you use have a setscrew or can be drilled to accept a setscrew. Either way, make sure that the wheels aren’t too thick for the shaft. The wheels used in the prototype were 1 in wide, perfect for the 2-in-long motor shafts.
Mount the motors using two 2-by--in corner irons, as illustrated in Fig. 23-6. Cut about 1 in off one leg of the iron so it will fit against the frame of the motor. Secure the irons to the motor using -by- -in bolts (yes, these motors have pretapped mounting holes!). Finally, secure the motors in the center of the platform using -by--in bolts and matching nuts. Be sure that the shafts of the motors are perpendicular to the side of the frame. If either motor is on crooked, the robot will crab to one side when it rolls on the floor. There is generally enough play in the mounting holes on the frame to adjust the motors for proper alignment.
images
images
images
If you use different motors or drive wheels, you'll probably need to choose a different size caster to match. Otherwise, the four wheels may not touch the ground all at once as they should. Before purchasing the casters, mount the motors and drive wheels, then measure the distance from the bottom of the mending plate to the ground. Buy casters to match. Again, add washers to increase the depth, if necessary.
Each of the drive motors in the Roverbot consumes A (500 mA) of continuous current with a moderate load. The batteries chosen for the robot, then, need to easily deliver 2 A for a reasonable length of time, say 1 or 2 h of continuous use of the motors. A set of high-capacity NiCads would fit the bill. But the Roverbot is designed so that subsystems can be added to it. Those subsystems haven’t been planned yet, so it’s impossible to know how much current they will consume. The best approach to take is to overspecify the batteries, allowing for more current than is probably necessary.
Six- and 8-A-H lead-acid batteries are somewhat common on the surplus market. As it happens, 6 or 8 A are about the capacity that would handle intermittent use of the drive motors. (The various electronic subsystems, such as an on-board computer and alarm sensors, should use their own battery.) These heavy-duty batteries are typically available in 6-V packs, so two are required to supply the 12 V needed by the motors. Supplementary power, for some of the linear ICs, like op amps, can come from separate batteries, such as a NiCad pack. A set of C NiCads don’t take up much room, but it’s a good idea to leave space for them now, instead of redesigning the robot later on to accommodate them.
images
The clamps are made from a 1-in-wide galvanized mending plate, bent to match the contours of the battery. Rubber weather strip is used on the inside of the clamp to hold the battery firmly in place.
The batteries are positioned off to either side of the drive wheel axis, as shown in Fig. 23-10. This arrangement maintains the center of gravity to the inside center of the robot. The gap also allows for the placement of one or two four-cell C battery packs, should they be necessary.
images
The riser frame extends the height of the robot by approximately 15 in. Attached to this frame will be the sundry circuit boards and support electronics, sensors, fire extinguisher, vacuum cleaner motor, or anything else you care to add. The dimensions are large enough to assure easy placement of at least a couple of full-size circuit boards, a 2-lb fire extinguisher, and a Black & Decker DustBuster. You can alter the dimensions of the frame, if desired, to accommodate other add-ons.
images
Make the crosspiece by cutting a length of channel stock to exactly 7 in. Miter the ends as shown in the figure.
Connect the two sidepieces and crosspiece using a 1-by--in flat angle iron. Secure the angle iron by drilling matching holes in the channel stock. Attach the stock to the angle iron by using -by--in bolts on the crosspieces and -by-1-in bolts on the riser pieces. Don’t tighten the screws yet. Repeat the process for the other riser.
Construct two beams by cutting the angle stock to 10 in, as illustrated in Fig. 23-12. Do not miter the ends. Secure the beams to the top corners of the risers by using 1-by- -in corner angle irons. Use -by--in bolts to attach the iron to the beam. Connect the angle irons to the risers using the -by-1-in bolts installed earlier. Add a spacer between the inside of the channel stock and the angle iron if necessary, as shown in Fig. Fig. 23-13. Use nuts to tighten everything in place.
images
images
You can test the operation of the robot by connecting the motors and battery to a temporary control switch. See Chapter 8, “Plastic Platforms,” for a wiring diagram. With the components listed in Table 23-1, the robot should travel at a speed of about 1 ft/s. The actual speed will probably be under that because of the weight of the robot. Fully loaded, the Roverbot will probably travel at a moderate speed of about 8 or 9 in/s. That’s just right for a robot that vacuums the floor, roams the house for fires, and protects against burglaries. If you need your Roverbot to go a bit faster, the easiest (and cheapest) solution is to use larger wheels. Using 8-in wheels will make the robot travel at a top speed of 15 in/s.
One problem with using larger wheels, however, is that they raise the center of gravity of the robot. Right now, the center of gravity is kept rather low, thanks to the low position of the two heaviest objects, the batteries and motors. Jacking up the robot using larger wheels puts the center of gravity higher, so there is a somewhat greater chance of the robot tipping over. You can minimize any instability by making sure that subsystems are added to the robot from the bottom of the riser and that the heaviest parts are positioned closest to the base. You can also mount the motor on the bottom of the frame instead of on top.