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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ALTERNATIVE <strong>STAMP</strong> 2 7<br />

DB-9 female<br />

PSR<br />

RTS<br />

6<br />

7<br />

8<br />

9<br />

1<br />

2<br />

3<br />

4<br />

5<br />

RX - Sout<br />

TX - Sin<br />

ATM<br />

VSS/GND<br />

1<br />

2<br />

3<br />

4<br />

BASIC<br />

<strong>STAMP</strong><br />

2<br />

Figure 1-6<br />

Serial programming port.<br />

sockets to the board. Another approach to using the carrier board concept is to use the<br />

supercarrier board, as illustrated in Fig. 1-9. The supercarrier board contains a number of<br />

more useful aides, such as power regulators, more header pins, serial connections, and<br />

reset switch. Additional IC sockets can be placed on the board for expansion, with jumper<br />

wires added between sockets. This approach is a bit more permanent than using the protoboard.<br />

Many people use the carrier board as their protoboard for simple circuits. Other<br />

hobbyists use the carrier board as a replacement for a printed circuit board.<br />

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

Another approach to obtaining the <strong>STAMP</strong> 2 is to build your own “alternative” BASIC<br />

<strong>STAMP</strong> 2. In this configuration you obtain the 28-pin DIP interpreter chip and a few extra<br />

support or “glue” components, and you can save about half the cost of the original <strong>STAMP</strong> 2<br />

by assembling or “rolling” your own. The alternative <strong>STAMP</strong> 2 project revolves around the<br />

lower-cost BASIC <strong>STAMP</strong> 2 interpreter chip, a 16C57 PIC, a 28-pin DIP-style <strong>STAMP</strong> 2,<br />

rather than the stock BASIC <strong>STAMP</strong> 2 module. The lower-cost 28-pin PIC BASIC interpreter<br />

chip requires a few external support chips and occupies a bit more real estate, but<br />

the cost is significantly less. The BASIC <strong>STAMP</strong> 2 costs $49, while rolling you own will<br />

cost about half, or $21. The 28-pin BASIC <strong>STAMP</strong> 2 interpreter chip requires a few external<br />

support components, a 24LC6B memory chip, a MAX232 serial interface chip, and a<br />

ceramic resonator. The MAX232 requires four 1-F capacitors, a diode, and a resistor and<br />

provides a conventional serial I/O, which is used to program the microprocessor.<br />

The alternative <strong>STAMP</strong> 2 processor circuit is shown in Fig. 1-10. Both the <strong>STAMP</strong> 2 and<br />

the alternative <strong>STAMP</strong> 2 perform equally well for all of the projects in this book. Please note<br />

that the pinout arrangement is a bit different between the original BASIC <strong>STAMP</strong> 2 and the alternative<br />

<strong>STAMP</strong> 2 (see Table 1-4). Another alternative is to purchase the original equipment manufacturer<br />

(OEM) module kit from Parallax, which is quite similar to the alternative <strong>STAMP</strong> 2.

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

Saved successfully!

Ooh no, something went wrong!