Drexel's Home Page
Drexel One


Paul Briedé Jr












Basic Stamp
The purpose of programming a basic stamp for this project is to be able to control a servo. This tutorial will go over steps to become familiar with stamp. This includes connecting the stamp hardware, knowing stamp operations and functions, as well as programming a stamp. The text used for this will be Programming and Customizing the Basic Stamp Computer by Scott Edwards.

The photo above shows the BS2p connected to the Garmin GPS

To download the Basic Stamp software, go to http://www.parallax.com/html_pages/downloads/software/software_basic_stamp.asp. This program will be needed to run the BS2p and perform all the functions needed to understand how the Basic Stamp works and also for GPS Waypoint Navigation.
Parts List
1 BS2p
1 9 Volt Battery
1 Stamp Programming Cable (serial com port)
Sticky Tape
Programming and Customizing the Basic Stamp Computer by Scott Edwards
1 Breadboard
Banana Clips and extra wires
1 Resistor (220 ohms - 1000 ohms)
1 5-volt buzzer
1 servo
Using the text Programming and Customizing the Basic Stamp Computer by Scott Edwards will help with the basic understanding of how the stamp works and functions. Follow the steps below to better understand how the stamp works.
Step 1
In Programming and Customizing the Basic Stamp Computer, read chapter 5. Because you already downloaded the stamp software, there is no need to boot your computer in DOS mode. Forget the part in chapter where it tells you to do this (even though you are not doing this, please still read over this section because it gives other info you will need later on). Like I mentioned earlier, you will not be running the stamp program from the blue screen. The link above gives the program needed to perform all stamp functions.
Step 2
Next read chapter 6. This chapter will go further in explaining what the basic stamp can do such as assigning variables, labels, loops, and if then statements. Perform all examples within the text in this chapter and understand the concept trying to be taught. Some of the examples have minor errors in the code. Once you begin looking at and understanding the code, the errors will be obvious and you will know what to do to correct them. 
Step 3
The next chapter will be chapter 7. This is a continuation of chapter 6. Make sure you remember all of what you learned from chapter 6 and keep your mind open to the new info in chapter 7. This chapter will describe what an input and output is and how to control an LED with a stamp. Make sure you complete the Final Example: Dial-controlled Timer. This is a key example because there is a lot of information within the code. Understand this code and how it applies to the application. 
Step 4
The last chapter will be chapter 10. This chapter describes how to use the basic stamp to control a servo. The first part of the chapter is the important section. Do not read the section of the chapter that describes how to add collision-detection sensors to the basic stamp. After completion of this chapter, you will be able to better understand how a servo is controlled with a stamp. This will be vital in controlling servo with a basic stamp during GPS waypoint navigation.
This test serves as a good reference in understanding how a stamp works. You will apply the information learned in these chapters to the GPS waypoint navigation project. You might need to reference back to this book later in the project. If so, remember where the information is located so it will be effortless when finding the material.