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.

AN EXERCISE 15<br />

9-pin O8-S<br />

6<br />

7<br />

8<br />

9<br />

1<br />

2<br />

3<br />

4<br />

5<br />

DTR<br />

TXD<br />

RXD<br />

MAX232<br />

13<br />

U3<br />

8<br />

14<br />

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

2<br />

U1<br />

GND<br />

XTL<br />

GND<br />

U2<br />

Figure 1-12<br />

Alternative BASIC <strong>STAMP</strong> 2 serial cable.<br />

24LC16B<br />

GND<br />

DTR<br />

TX<br />

RX<br />

DSR<br />

RTS<br />

5<br />

4<br />

3<br />

2<br />

6<br />

7<br />

9-pin<br />

serial<br />

connector<br />

RESET<br />

1<br />

2<br />

3<br />

MAX232<br />

U3<br />

+5V<br />

27<br />

26<br />

28<br />

8<br />

9<br />

1<br />

4<br />

2<br />

ALTERNATIVE<br />

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

U1<br />

P3<br />

P2<br />

P1<br />

P0<br />

24<br />

23<br />

22<br />

21<br />

20<br />

19<br />

18<br />

17<br />

16<br />

15<br />

14<br />

13<br />

12<br />

11<br />

10<br />

7<br />

5<br />

6<br />

U3<br />

4<br />

1<br />

2<br />

3<br />

8<br />

470 470<br />

+5V<br />

S2<br />

10K<br />

S1<br />

10K<br />

+5V<br />

+9–12Vdc<br />

Regulator<br />

U4 +5V<br />

LED<br />

LED<br />

LM7805<br />

+5V<br />

Figure 1-13<br />

Blink test program setup.

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

Saved successfully!

Ooh no, something went wrong!