This repository has been archived on 2024-09-22. You can view files and clone it, but cannot push or open issues or pull requests.
pbi-ide/help/BasicStampHelp/Content/HardwareTopics/PinDesc.htm

492 lines
20 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="6" MadCap:lastHeight="94" MadCap:lastWidth="853" MadCap:disableMasterStylesheet="true" MadCap:tocPath="BASIC Stamp Hardware" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-us" xml:lang="en-us" MadCap:PathToHelpSystem="../../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
<head><title>Pin Descriptions</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js" type="text/javascript">
</script>
</head>
<body>
<div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">You are here: </span><a class="MCBreadcrumbsLink" href="BS_Chart.htm">BASIC Stamp Hardware</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Pin Descriptions</span>
</div>
<h1>Pin Descriptions</h1>
<div class="ImagePlusCaption">
<div class="Col2">
<p>
<img src="../graphics/pgm_icon1.gif" border="0" alt="BS1 icon" title="BS1 icon" />
<img src="../graphics/pgm_icon2.gif" border="0" alt="BS2 icon" title="BS2 icon" />
<img src="../graphics/pgm_icon2e.gif" border="0" alt="BS2e icon" title="BS2e icon" />
<img src="../graphics/pgm_icon2sx.gif" border="0" alt="BS2sx icon" title="BS2sx icon" />
<img src="../graphics/pgm_icon2p.gif" border="0" alt="BS2p icon" title="BS2p icon" />
<img src="../graphics/pgm_icon2pe.gif" border="0" alt="BS2pe icon" title="BS2pe icon" />
<img src="../graphics/pgm_icon2px.gif" border="0" alt="BS2px icon" title="BS2px icon" />
</p>
</div>
<p style="text-align: right;">&#160;</p>
<p>&#160;</p>
</div>
<p class="clear">&#160;</p>
<p class="PlainText">&#160;</p>
<h2>BASIC Stamp 1</h2>
<table width="100%" cellpadding="4" cellspacing="0" border="1">
<col />
<col />
<col />
<col />
<tr bgcolor="CFCFCF">
<td rowspan="8" style="background-color: #ffffff;">
<img src="../Resources/Images/BS1pinout.png" />
</td>
<td width="15%">Pin
</td>
<td width="15%">Name
</td>
<td width="70%">Description
</td>
</tr>
<tr>
<td>
<p>1</p>
</td>
<td>
<p>VIN</p>
</td>
<td>
<p>Unregulated power in: accepts 5.5 - 15 VDC (6-40 VDC on BS1&#8209;IC rev. b), which is then internally regulated to 5 volts. May be left unconnected if 5 volts is applied to the VDD (+5V) pin.</p>
</td>
</tr>
<tr>
<td>
<p>2</p>
</td>
<td>
<p>VSS</p>
</td>
<td>
<p>System ground: connects to BS1 Serial Adapter ground for programming.</p>
</td>
</tr>
<tr>
<td>
<p>3</p>
</td>
<td>
<p>PCO</p>
</td>
<td>
<p>PC Out: 4800 baud serial output (TTL level) to PC.</p>
</td>
</tr>
<tr>
<td>
<p>4</p>
</td>
<td>
<p>PCI</p>
</td>
<td>
<p>PC In:&#160; 4800 baud serial input (TTL level) from PC.</p>
</td>
</tr>
<tr>
<td>
<p>5</p>
</td>
<td>
<p>VDD</p>
</td>
<td>
<p>5-volt DC input/output: (Also called +5V) if an unregulated voltage is applied to the VIN pin, then this pin will output 5 volts.&#160; If no voltage is applied to the VIN pin, then a regulated voltage between 4.5V and 5.5V should be applied to this pin.</p>
</td>
</tr>
<tr>
<td>
<p>6</p>
</td>
<td>
<p>RES</p>
</td>
<td>
<p>Reset input/output: goes low when power supply is less than approximately 4.2 volts, causing the BASIC Stamp to reset.&#160; Can be driven low to force a reset.&#160; This pin is internally pulled high and may be left disconnected if not needed.&#160; Do not drive high.</p>
</td>
</tr>
<tr>
<td>
<p>7-14</p>
</td>
<td>
<p>P0-P7</p>
</td>
<td>
<p>General-purpose I/O pins: each can sink 25 mA and source 20 mA. However, the total of all pins should not exceed 50 mA (sink) and 40 mA (source).</p>
</td>
</tr>
</table>
<h2>BASIC Stamp 2</h2>
<table width="100%" cellpadding="4" cellspacing="0" border="1">
<col />
<col />
<col />
<col />
<tr bgcolor="CFCFCF">
<td rowspan="10" style="background-color: #ffffff;">
<img src="../Resources/Images/BS24_dimensions.png" />
</td>
<td width="15%">Pin
</td>
<td width="15%">Name
</td>
<td width="70%">Description
</td>
</tr>
<tr>
<td>1
</td>
<td>SOUT
</td>
<td>Serial Out: connects to PC serial port RX pin (DB9 pin 2 / DB25 pin 3) for programming.
</td>
</tr>
<tr>
<td>2
</td>
<td>SIN
</td>
<td>Serial In: connects to PC serial port TX pin (DB9 pin 3 / DB25 pin 2) for programming.
</td>
</tr>
<tr>
<td>3
</td>
<td>ATN
</td>
<td>Attention: connects to PC serial port DTR pin (DB9 pin 4 / DB25 pin 20) for programming.
</td>
</tr>
<tr>
<td>4
</td>
<td>VSS
</td>
<td>System ground: (same as pin 23) connects to PC serial port GND pin (DB9 pin 5 / DB25 pin 7) for programming.
</td>
</tr>
<tr>
<td>5-20
</td>
<td>P0-P15
</td>
<td>General-purpose I/O pins: each can sink 25 mA and source 20 mA. However, the total of all pins should not exceed 50 mA (sink) and 40 mA (source) if using the internal 5-volt regulator.&#160; The total per 8-pin groups (P0 P7 or P8 15) should not exceed 50 mA (sink) and 40 mA (source) if using an external 5-volt regulator.
</td>
</tr>
<tr>
<td>21
</td>
<td>VDD
</td>
<td>5-volt DC input/output: if an unregulated voltage is applied to the VIN pin, then this pin will output 5 volts.&#160; If no voltage is applied to the VIN pin, then a regulated voltage between 4.5V and 5.5V should be applied to this pin.
</td>
</tr>
<tr>
<td>22
</td>
<td>RES
</td>
<td>Reset input/output: goes low when power supply is less than approximately 4.2 volts, causing the BASIC Stamp to reset.&#160; Can be driven low to force a reset.&#160; This pin is internally pulled high and may be left disconnected if not needed.&#160; Do not drive high.
</td>
</tr>
<tr>
<td>23
</td>
<td>VSS
</td>
<td>System ground: (same as pin 4) connects to power supplys ground (GND) terminal.
</td>
</tr>
<tr>
<td>24
</td>
<td>VIN
</td>
<td>Unregulated power in: accepts 5.5 - 15 VDC (6-40 VDC on BS2-IC Rev. e, f, and g), which is then internally regulated to 5 volts. Must be left unconnected if 5 volts is applied to the VDD (+5V) pin.
</td>
</tr>
</table>
<h2>BASIC Stamp 2e, 2sx, 2p, 2pe, 2px</h2>
<table width="100%" cellpadding="4" cellspacing="0" border="1">
<col />
<col />
<col />
<col />
<tr bgcolor="CFCFCF">
<td rowspan="10" style="background-color: #ffffff;">
<img src="../Resources/Images/BS24_dimensions.png" />
</td>
<td width="15%">Pin
</td>
<td width="15%">Name
</td>
<td width="70%">Description
</td>
</tr>
<tr>
<td>
<p>1</p>
</td>
<td>
<p>SOUT</p>
</td>
<td>
<p>Serial Out: connects to PC serial port RX pin (DB9 pin 2 / DB25 pin 3) for programming.</p>
</td>
</tr>
<tr>
<td>
<p>2</p>
</td>
<td>
<p>SIN</p>
</td>
<td>
<p>Serial In: connects to PC serial port TX pin (DB9 pin 3 / DB25 pin 2) for programming.</p>
</td>
</tr>
<tr>
<td>
<p>3</p>
</td>
<td>
<p>ATN</p>
</td>
<td>
<p>Attention: connects to PC serial port DTR pin (DB9 pin 4 / DB25 pin 20) for programming.</p>
</td>
</tr>
<tr>
<td>
<p>4</p>
</td>
<td>
<p>VSS</p>
</td>
<td>
<p>System ground: (same as pin 23), connects to PC serial port GND pin (DB9 pin 5 / DB25 pin 7) for programming.</p>
</td>
</tr>
<tr>
<td>
<p>5-20</p>
</td>
<td>
<p>P0-P15</p>
</td>
<td>
<p>General-purpose I/O pins: each can source and sink 30 mA. However, the total of all pins should not exceed 75 mA (source or sink) if using the internal 5-volt regulator.&#160; The total per 8-pin groups P0 P7 or P8 15 should not exceed 60 mA (source or sink) if using an external 5-volt regulator.</p>
</td>
</tr>
<tr>
<td>
<p>21</p>
</td>
<td>
<p>VDD</p>
</td>
<td>
<p>5-volt DC input/output: if an unregulated voltage is applied to the VIN pin, then this pin will output 5 volts.&#160; If no voltage is applied to the VIN pin, then a regulated voltage between 4.5V and 5.5V should be applied to this pin.</p>
</td>
</tr>
<tr>
<td>
<p>22 </p>
</td>
<td>
<p>RES</p>
</td>
<td>
<p>Reset input/output: goes low when power supply is less than approximately 4.2 volts, causing the BASIC Stamp to reset.&#160; Can be driven low to force a reset.&#160; This pin is internally pulled high and may be left disconnected if not needed.&#160; Do not drive high.</p>
</td>
</tr>
<tr>
<td>
<p>23 </p>
</td>
<td>
<p>VSS</p>
</td>
<td>
<p>System ground: (same as pin 4) connects to power supplys ground (GND) terminal.</p>
</td>
</tr>
<tr>
<td>
<p>24 </p>
</td>
<td>
<p>VIN</p>
</td>
<td>
<p>Unregulated power in: accepts 5.5 - 12 VDC (7.5 recommended), which is then internally regulated to 5 volts. Must be left unconnected if 5 volts is applied to the VDD (+5V) pin.</p>
</td>
</tr>
</table>
<h2>BASIC Stamp 2p40</h2>
<table width="100%" cellpadding="4" cellspacing="0" border="1">
<col />
<col />
<col />
<col />
<tr bgcolor="CFCFCF">
<td rowspan="11" style="background-color: #ffffff;">
<img src="../Resources/Images/BS40_dimensions.png" />
</td>
<td width="15%">Pin
</td>
<td width="15%">Name
</td>
<td width="70%">Description
</td>
</tr>
<tr>
<td>
<p>1</p>
</td>
<td>
<p>SOUT</p>
</td>
<td>
<p>Serial Out: connects to PC serial port RX pin (DB9 pin 2 / DB25 pin 3) for programming.</p>
</td>
</tr>
<tr>
<td>
<p>2</p>
</td>
<td>
<p>SIN</p>
</td>
<td>
<p>Serial In: connects to PC serial port TX pin (DB9 pin 3 / DB25 pin 2) for programming.</p>
</td>
</tr>
<tr>
<td>
<p>3</p>
</td>
<td>
<p>ATN</p>
</td>
<td>
<p>Attention: connects to PC serial port DTR pin (DB9 pin 4 / DB25 pin 20) for programming.</p>
</td>
</tr>
<tr>
<td>
<p>4</p>
</td>
<td>
<p>VSS</p>
</td>
<td>
<p>System ground: (same as pin 39) connects to PC serial port GND pin (DB9 pin 5 / DB25 pin 7) for programming.</p>
</td>
</tr>
<tr>
<td>
<p>5-20</p>
</td>
<td>
<p>P0-P15</p>
</td>
<td>
<p>General-purpose I/O pins: each can source and sink 30 mA. However, the total of all pins (including X0-X15) should not exceed 75 mA (source or sink) if using the internal 5-volt regulator.&#160; The total per 8-pin groups (P0 P7, P8 15, X0 X7 or X8 X15)&#160; should not exceed 100 mA (source or sink) if using an external 5-volt regulator.</p>
</td>
</tr>
<tr>
<td>
<p>21-36</p>
</td>
<td>
<p>X0-X15</p>
</td>
<td>
<p>Auxiliary Bank of General-purpose I/O pins: each can source and sink 30 mA. However, the total of all pins (including P0 P15) should not exceed 75 mA (source or sink) if using the internal 5-volt regulator.&#160; The total per 8-pin groups (P0 P7, P8 15, X0 X7 or X8 X15) should not exceed 60 mA (source or sink) if using an external 5-volt regulator.</p>
</td>
</tr>
<tr>
<td>
<p>37</p>
</td>
<td>
<p>VDD</p>
</td>
<td>
<p>5-volt DC input/output: if an unregulated voltage is applied to the VIN pin, then this pin will output 5 volts.&#160; If no voltage is applied to the VIN pin, then a regulated voltage between 4.5V and 5.5V should be applied to this pin.</p>
</td>
</tr>
<tr>
<td>
<p>38</p>
</td>
<td>
<p>RES</p>
</td>
<td>
<p>Reset input/output: goes low when power supply is less than approximately 4.2 volts, causing the BASIC Stamp to reset.&#160; Can be driven low to force a reset.&#160; This pin is internally pulled high and may be left disconnected if not needed.&#160; Do not drive high.</p>
</td>
</tr>
<tr>
<td>
<p>39</p>
</td>
<td>
<p>VSS</p>
</td>
<td>
<p>System ground: (same as pin 4) connects to power supplys ground (GND) terminal.</p>
</td>
</tr>
<tr>
<td>
<p>40</p>
</td>
<td>
<p>VIN</p>
</td>
<td>
<p>Unregulated power in: accepts 5.5 - 12 VDC (7.5 recommended), which is then internally regulated to 5 volts. Must be left unconnected if 5 volts is applied to the VDD (+5V) pin.</p>
</td>
</tr>
</table>
<p>&#160;</p>
<div class="Col2">
<div class="MasterFoot">
<p MadCap:conditions="BSEconditions.BSEWebHelp (Primary)-INCLUDE"><a href="../HomeTopics/HomePage.htm">Go to Welcome page</a>
</p>
</div>
</div>
<div class="Col2">
<div class="MasterFoot">
<p style="text-align: right;"><span class="ContactInfoProjectName">BASIC Stamp Help</span> <![CDATA[ ]]><span class="ContactInfoVersion#">Version 2.5.4</span> <![CDATA[ ]]></p>
<p style="text-align: right;">Copyright ©&#160;<span class="ContactInfoCompanyName">Parallax Inc.</span></p>
<p style="text-align: right;"><span class="SystemShortDate">8/8/2012</span>
</p>
</div>
</div>
<script type="text/javascript">/* <![CDATA[ */
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-285614-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
/* ]]> */</script>
<script type="text/javascript" src="../SkinSupport/MadCapBodyEnd.js">
</script>
</body>
</html>