Introduction: How to Make a Parallax BOE-Bot Using the Basic Stamp Chip
Step 1: Identifying Parts and Grommet-izing the Metal Base.
First you want to make sure you have the parts ready, then fit the 3 grommets onto the metal body. Afterwords, add the straight pin and rubber ball.
Step 2: Standoffish Servos
Add the metal standoffs to the 4 corners of the frame using the screws. Attach the servos to the inside of the base, MAKING SURE that all of the screws and nuts are tight, with the wires threaded through the middle grommet.
Step 3: Battery Pack
After the servos are in, add the battery back. The barrel plug should fit through the grommet, placing the back in the frame. Using the flathead screws, attach the battery back. Insert 4 AA batteries.
Step 4: BOE Stamp + Chip
flip the frame over, and using the screws, attach the BOE stamp to the standoffs. Plus the right servo motor into PWM connector slot 12, and the left to slot 13. (make sure it goes white-red-back.) Plus in the barrel tip into the jack, and move the switch to position "1." The green LED should light up.
Step 5: Programming!
After placing the chip into the slot for it on the BOE stamp, connect the serial plug into the serial connection on the BOE stamp, and the COM port on your computer. Now, using BASIC Stamp Editor, and the assistance of a smart TA who gives decent lectures, program your robot for different functions.
Step 6: Programming for Set Patterns
So after learning more about PBASIC and the BS2 stamp, I learned how to pre-program the bot for various patterns. Some examples include square pattern, zigzag, triangle, circle, forward, back. The source code for square below. NOTE: My servos were in ports 12 and 13 MAKE SURE the PWM cables on yours are correctly lined up, or that could overheat the stamp, then you'd be screwed.
Step 7: Photoresistors, Piezoelectric Buzzer
So after constructing the Boe-Bot, and playing around with programming patterns, the time has come for add-ons and mods. First up: The piezoelectric buzzer (used as a low battery indicator in the case of a brownout, and used at the beginning of each program.)
Participated in the
Instructables and RoboGames Robot Contest