Source Code for "Robot Builder's Bonanza" Third Edition
by Gordon McComb and Myke Predko

The latest incarnation of Robot Builder's Bonanza includes the different Parallax BASIC Stamp 2
applications listed below. The single micrcontroller was chosen for its relative ease and low cost (remember to use
the coupon at the back of the book to order from
http://www.parallax.com) to set up a development lab
complete with a programmer to help you develop your own applications like the one below.

To download and install the Parallax PBASIC Windows Editor, go to the parallax web site
(http://www.parallax.com) and click on "Downloads".
Rather than copy each file individually onto your PC's harddrive, it is recommended that you download
the .zipped up copy of the source code directories by
clicking here and storing the folders and files on your hard drive.
Chapter 11 - Hacking Toys
Chapter 15 - The BASIC Stamp 2 Microcontroller
Chapter 16 - Remote Control Systems
Chapter 20 - Working with DC Motors
| Program | Comments |
| BS2 PWM.bs2 |
Varying LED brightness using Pulse Wave Modulation |
Chapter 22 - Working with Servo Motors
| Program | Comments |
| Calibrate.bs2 |
Simple Program to Calibrate (find the stop point of) Servos modified for continuous rotation |
Chapter 30 - Object Detection
Chapter 30 - Object Detection
| Program | Comments |
| BS2 ISD2532.bs2 |
Recording and playing sound using the ISD2532 digital sound recorder chip |
Chapter 33 - Navigation
Chapter 35 - Experimenting with Tilt and Gravity Sensors