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.

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

TABLE 1-3<br />

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

PIN NAME FUNCTION DESCRIPTION<br />

1 SOUT Serial out Temporarily connects to PCs (RX)<br />

2 SIN Serial out Temporarily connects to PCs (TX)<br />

3 ATN Attention Temporarily connects to PCs (DTR)<br />

4 VSS Ground Temporarily connects to PCs ground<br />

5 P0 User I/O 0 User ports which can be used for inputs or outputs.<br />

6 P1 User I/O 1<br />

7 P2 User I/O 2<br />

8 P3 User I/O 3 Output mode: Pins will source from V dd<br />

. Pins should not be<br />

9 P4 User I/O 4<br />

allowed to source more than 20 mA, or sink more than 25 mA.<br />

As groups, P0–P7 and P8–P15 should not be allowed to<br />

10 P5 User I/O 5 source more than 40 mA or sink more than 50 mA.<br />

11 P6 User I/O 6<br />

12 P7 User I/O 7<br />

13 P8 User I/O 8 Input mode: Pins are floating (less tan 1 A leakage).The<br />

14 P9 User I/O 9<br />

0/1ogic threshold is approx. 1.4 V.<br />

15 P10 User I/O 10<br />

16 P11 User I/O 11<br />

17 P12 User I/O 12 Note: To realize low power during sleep, make sure that no<br />

pins are floating, causing erratic power drain. Either drive then<br />

18 P13 User I/O 13<br />

to V ss<br />

or V dd<br />

, or program them as outputs that don’t have to<br />

19 P14 User I/O 14 source current.<br />

20 P15 User I/O 15<br />

21 VDD Regulator out . Output from 5-V regulator (V in<br />

powered). Should not be allowed<br />

to source more than 50 mA, including P0–P15 loads.<br />

Power in<br />

22 RES Reset I/O<br />

Power input (V in<br />

not powered). Accepts 4.5 to 5.5 V. Current consumption<br />

is dependent on run/sleep mode and I/O.<br />

When low, all I/Os are inputs and program execution is suspended.<br />

When high, program executes from start. Goes low<br />

when V dd<br />

is less than 4 V or ATN is greater than 1.4 V. Pulled<br />

to V dd<br />

by a 4.7-k resistor. May be monitored as a<br />

brownout/reset indicator. Can be pulled low externally (i.e., button<br />

to V ss<br />

) to force a reset. Do not drive high.<br />

23 VSS Ground<br />

Ground. Located next to V in<br />

for easy battery backup.<br />

24 VIN Regulator in Input to 5-V regulator. Accepts 5.5 to 15 V. If power is applied<br />

directly to V dd<br />

, pin may be left unconnected.

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

Saved successfully!

Ooh no, something went wrong!