Introduction: TiggerBot II Robot
TiggerBot II is a small treaded robot platform. Included are instructions for building the plastic treaded platform and a custom printed circuit board containing a microcontroller and sonar sensors.
This is a relatively complicated project that is still at the late-prototype stages. Every attempt has been made to keep it simple to build but, well, robots are hard. Furthermore, this project will set you back somewhere in the $150-$250 range, depending on where you buy the parts. Continue at your own risk.
> chassis material: cnc laser cut acrylic
> drive motors: 2x continuous-rotation rc servo
> battery: 2.2Ah 9.6v rechargeable NiMH
> nav sensors: 5 way ultrasonic sonar
> cpu: AVR Mega32, 16MHz
> programming: RS-232 serial port bootloader
> code: written in c, compiled with gcc-avr
> expansion port: 5v/1A, gnd, 2x adc, i2c
for latest news see http://robotarmy.org/
Step 1: Background
This was my first robot, built in 2002 when I was a freshman in college. I named it TiggerBot because it was black, orange, and stupid. It was flawed in several important ways. TiggerBot II is a substantial redesign; it uses the same treads kit but is superior in all other ways. Pictured below are the original TiggerBot, several obsolete TIggerBot II prototypes, and the current prototype.
Step 2: Design
TiggerBot II's main components are all computer designed and custom manufactured.
The plastic components are designed in qcad. They are then separated, duplicated, packed together for efficiency, and printed as a 1:1 eps. This is sent to a plastic manufacturer to be cut from acrylic.
The circuit board is designed in eagle cad and manufactured by a pcb prototype supplier.
Step 3: Manufacturing
I have the circuit boards made by Gold Phoenix PCB in China and the acrylic cut by Canal Plastics in Chinatown NYC. Coincidental, really. The turnaround times are ~9 days and ~3 hours, respectively, which is probably why I've made a lot more frame revisions.
The boards cost $140 for 13, or ~$11 each. The frames are $59 at canal, or apparently $78 for 3, or $26 each, from ponoko, though I've never ordered from them. In any case Ponoko doesn't seem to have tinted transparent acrylic in 6mm.
This is the eps of the plastic: http://robotarmy.org/tb2files/frame06.eps
Step 4: Stuff You Need
chassis: 1 plastic set
motors: 2 HS-425BB
treads: Tamiya 70100 kit.
battery: 8 cell AA battery pack
fasteners (mcmaster carr):
standoffs: 4 (3/4" 6-32 standoff), 8 (6-32 x 3/8" screw)
shafts: 8 (4-40 x 1 1/8" screw), 16 (4-40 nut), 8 (spacer)
suspension: 6 (4-40 x 1 1/2" screw), 6 (4-40 nut), 6 (nylon flange spacer), 6 (angle bracket), 6 (springs)
servos: 4 (4-40 x 1/2" screw), 4 (4-40 nut)
drive cogs: 4 (4-40 x 1/2" screw), 8 (4-40 nut)
pcb mount: 5 (3/4" 6-32 standoff), 10 (6-32 x 3/8" screw)
Here is a more complete parts list: http://spreadsheets.google.com/pub?key=pX4iSt4d26qLYANVB9Dn7Nw
Step 5: Tools You Need
These are the tools you need for the mechanical parts. The vice-grips are for holding things so you can use a vice instead. You will need more tools for the electronics part.
Step 6: Modify RC Servos for Continuous Rotation
The first step is to prepare the servos. An RC servo consists of a small DC motor and geartrain, a potentiometer for position feedback, and electronics to close the control loop. Modifying them to turn continuously requires two things be done: first, that the physical constraints preventing continuous rotation be removed; second, that the feedback position be secured in the center position.
Step 7: Open Servo Case
Using a Phillips-head screwdriver, remove the four screws holding the case together.
Step 8: Remove Feedback Potentiometer
Inside you will see the back of a potentiometer held in place with a screw. Remove the screw. Remove the potentiometer with a firm yank.
Step 9: Remove Output Gear Tab
Now, before putting things back together, turn your attention to the other side of the servo. Remove the top so you see the gears. Remove the output wheel by unscrewing the black Phillips head screw in the middle and pulling on it. Doing so makes it possible to pull out the output gear. Note the small tab on the side of the gear. Grasp the gear with vice-grips (gently so as not to damage teeth!) and cut the tab off with a hobby knife. You will want to use a rocking motion with the base of the blade. You will need all your fingers for the later steps so be sure not to cut any of them off accidentally.
Step 10: Cut Notch for Potentiometer Wires
Using a hobby knife, cut a notch under where the cables originally left the package. This is to allow the potentiometer cables to leave the case.
Step 11: Reassemble Servo Case
Put everything back in and screw it all together. As you're putting the circuit board back in be sure not to pinch wires between the board and the case.
Step 12: Note Extra Parts
The screw used to hold the potentiometer in. The little plastic piece connected the potentiometer armature to the output gear; it may have fallen out but doesn't really matter either way.
Step 13: Repeat With Other Servo.
Repeat the last several steps with the other servo. It should look like this when you're done.
Step 14: Take Apart Treads Kit
Now it's time to break open your Tamiya tread kit. You will need all the tread sections -- cut them out with either a hobby knife or some small diagonal cutters. Of the orange plastic, you will need the two large drive cogs, the two large idler wheels, and the six large road wheels. Assemble the tread pieces into two large loops, taking care that they come out the same length.
Step 15: Drill Out the Drive Cogs
The holes in the sides of the drive cogs match up to the holes in the servo wheel. Unfortunately the cogs are designed for a hexagonal shaft and the shaft hub will get in the way. We have ways of dealing with such things. The center of each cog must be drilled out. The easiest way to do this is with a few progressively larger drills up to 5/16. Note that in the last photo with the larger drill bits I am actually holding the plastic *down* with the pliers.
Step 16: Drill Servo Wheels
Using a 7/64 drill, enlarge the two specific holes in each servo wheel, as shown.
Step 17: Attach Drive Cogs to Servo Wheels
Remove the servo wheels. Place two 4-40 x 1/2" screws, from the back side, through the enlarged holes. Secure two 4-40 nuts to the front. Insert two protruding screws through two holes in the drive cog and secure it with two more 4-40 nuts. Reattach the servo wheel. Repeat for the other servo.
Step 18: Open Your Plastic
This is what the plastic parts arrive looking like if you get them from canal plastics in nyc. The little bits are what you get instead of swarf when you drill holes with a laser. You'll need to peel all the paper off. Before the peeling, if you're a narcissist, you might want to go wash your hands with soap so your robot won't have greasy fingerprints all over it when you're done.
Step 19: Attach Wheels
Build six of the following assemblies. From right to left, 4-40 x 1 1/8" machine screw, road wheel, spacer, 4-40 nut, suspension strut, 4-40 nut. Tighten the nuts such that the wheel turns freely but slides as little as possible. Assemble the front brackets with the larger wheels using the same combination of fasteners.
Step 20: Mount Servos in Brackets
Insert each servo into its bracket. This is done most easily by pulling the wires through first, inserting the top edge with the wires, pulling that as close to the bracket as possible, and forcing the bottom edge through. Secure with two 4-40 x 1/2" screws and two 4-40 nuts in opposite corners. There is room for four screws but two is sufficient. Be sure to put the servo output wheel on the end of the bracket near the protrusion and to build one left and one right side.
Step 21: Assemble Decks
Attach four 3/4" 6-32 aluminum standoffs to the lower deck (the smaller one) using four 6-32 x 3/8" screws. Place the two servos in brackets and front wheel assemblies in the cutouts as shown. Place the top deck on and make sure all the tabs are properly inserted into the cutouts. Secure the top deck to the standoffs using four more 6-32 x 3/8" screws.
The color is different because this is a later prototype than the one in the earlier photos.
Step 22: Install Suspension Springs
In each of the six holes along the sides of the decks, install the suspension bolt, bracket, collar, and spring. Begin by inserting a 4-40 x 1 1/2" bolt upwards through the lower deck. Place the non-tapped side of an angle bracket over the screw with the other end pointing upward. Place a plastic flange collar over the screw. Place a spring over the collar. Carefully, press the spring under the top deck and align it with the top hole. Push the bolt through the hole and secure it with a 4-40 nut. Insert a suspension strut upwards with the wheel facing outward. Align the hole in the strut with the tapped hole in the angle bracket. Secure with a 6-32 x 5/16 screw.
Step 23: Put Treads On
Stretch treads over wheels.
Step 24: Half Done
You have now completed the drive platform.
Next is instructions for building the circuit board pictured below.
Alternatively you may use the base with your own electronics.
Step 25: Assemble Circuit Board
The circuit board pictured here is the last revision and has several mistakes. A new revision, which should fix most of the mistakes and greatly improve sonar performance is currently being manufactured. If you're considering building one of these I would strongly recommend that you wait until I have a chance to test the new version (pictured in cad-form below) and use that instead. They look very similar, however.
The circuit board here is designed with an avr microcontroller, power management, and a five channel sonar. It has everything required for doing simple stuff like wall following and obstacle avoidance. It is designed entirely with through-hole components so it is not especially hard to solder.
There are already a sufficient number of soldering howto guides on the internet so covering that here would be redundant. Figure 2 shows a closeup of several soldering styles you can choose from depending on whether you are building the 'robot' or 'paperweight' version. The components (see parts list) go where marked. It's not rocket science.
If you like, you can solder everything in one go. Otherwise, you can build the power supply first and verify that you get 5v out, then build the avr & serial port and make sure you can program it, then build the sonar.
Step 26: You're Done!