21.11.2014 Views

STAMP 2 Communications And Control Projects.pdf

STAMP 2 Communications And Control Projects.pdf

STAMP 2 Communications And Control Projects.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1<br />

THE BASIC <strong>STAMP</strong> 2<br />

CONTENTS AT A GLANCE<br />

Advantages of <strong>STAMP</strong> 2<br />

Approaches to Construction<br />

Alternative <strong>STAMP</strong> 2<br />

An Exercise<br />

The BASIC <strong>STAMP</strong> 1 (BS1) was the first of the <strong>STAMP</strong> series, using a miniversion of<br />

BASIC or BASIC tokens in order to program the microcontroller. The BASIC <strong>STAMP</strong> 1C<br />

features a 256-byte EEPROM, or about 75 instructions, and runs at 4 Mhz, performing<br />

2000 instructions per second. A revision of the <strong>STAMP</strong> 1 later became the <strong>STAMP</strong> 1 rev.<br />

D. The latest version of the BASIC <strong>STAMP</strong> 1 is the <strong>STAMP</strong> 1 module shown in Fig. 1-1.<br />

Figure 1-2 depicts the BASIC <strong>STAMP</strong> 1 schematic. The <strong>STAMP</strong> 1 is programmed via the<br />

parallel port of a personal computer. All of the projects in this book will use the BASIC<br />

<strong>STAMP</strong> 2 (BS2) microprocessor, which sports a 2048-byte EEPROM for about 500<br />

instructions, and runs at 20 MHz, performing 4000 instructions per second. Table 1-1<br />

shows some comparisons between the <strong>STAMP</strong> 1 and <strong>STAMP</strong> 2 input/output instructions.<br />

The <strong>STAMP</strong> 2 runs much faster, has a number of extra commands, such as FREQOUT,<br />

SHIFTIN, DTMFOUT, and XOUT, and will hold larger programs than the original<br />

<strong>STAMP</strong> 1. The BASIC <strong>STAMP</strong> 2 has become the de facto microprocessor for sensing and<br />

control applications, a model that a number of other companies have decided to follow.<br />

The <strong>STAMP</strong> 2 is a very versatile and popular microprocessor building block that can<br />

be used to develop many different electronic sensing and control systems (see Fig. 1-3).<br />

Copyright 2003 by The McGraw-Hill Companies, Inc. Click Here for Terms of Use.<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!