Initial commit after migrating repo and assuring the product launches

This commit is contained in:
2019-06-23 14:56:45 +02:00
commit 507f2aedbc
889 changed files with 60893 additions and 0 deletions

View File

@ -0,0 +1,464 @@
<?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="" 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>Products</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><span class="MCBreadcrumbs">Products</span>
</div>
<h1>BASIC Stamp Comparison Chart</h1>
<p class="PlainText">BASIC Stamp microcontroller modules are like tiny single-board computers.&#160; Many projects that require an embedded system with some level of intelligence can use a BASIC Stamp module as the controller. Each BASIC Stamp module contains a PBASIC Interpreter chip, internal memory (RAM and EEPROM), a 5-volt regulator, a number of general-purpose I/O pins (TTL-level, 0-5 volts), and a set of built-in commands for math and I/O pin operations.&#160; </p>
<p class="PlainText">See the <a href="PinDesc.htm" target="" title="" alt="" class="MCXref_0" xrefformat="{paratext}">Pin Descriptions</a> <![CDATA[ ]]>and <a href="ConnSchematics.htm" target="" title="" alt="" class="MCXref_0" xrefformat="{paratext}">Connection Schematics</a> pages for more information.</p>
<table width="100%" cellpadding="4" cellspacing="0" border="1">
<tr align="center" bgcolor="CFCFCF">
<td width="12%">&#160;</td>
<td>
<img src="../Resources/Images/ClearBS1.png" />
</td>
<td>
<img src="../Resources/Images/ClearBS2.png" />
</td>
<td>
<img src="../Resources/Images/ClearBS2sx.png" />
</td>
<td>
<img src="../Resources/Images/ClearBS2e.png" />
</td>
<td>
<img src="../Resources/Images/ClearBS2p24.png" />
</td>
<td>
<img src="../Resources/Images/ClearBS2p40.png" />
</td>
<td>
<img src="../Resources/Images/ClearBS2pe.png" />
</td>
<td>
<img src="../Resources/Images/ClearBS2px.png" />
</td>
</tr>
<tr align="center">
<td width="10%" bgcolor="CFCFCF">Name</td>
<td>BS1
</td>
<td>BS2
</td>
<td>BS2e
</td>
<td>BS2sx
</td>
<td>BS2p24
</td>
<td>BS2p40
</td>
<td>BS2pe
</td>
<td>BS2px
</td>
</tr>
<tr align="center">
<td width="10%" bgcolor="CFCFCF">Features</td>
<td>Affordable yet capable, the original BASIC Stamp is perfect for smaller projects or tight spaces.</td>
<td>Ideal for beginners yet quite powerful, with a vast resource base and sample code. Core of the Stamps in Class program.</td>
<td>Perfect for those who have experience with the BASIC Stamp 2 and would like more variable and program space.</td>
<td>Supports the BS2 command set with more variable and program space, and 2.5 times the execution speed.</td>
<td>Special commands support I/O polling, character LCDs, and i2C and 1-Wire protocols. </td>
<td>All of the features of the BS2p, plus an additional bank of 16 I/O&#160;pins.</td>
<td>BS2p command set paired with lower power consumption and more memory for battery-powered data logging applications.</td>
<td>The fastest BASIC Stamp microcontroller supports the BS2p command set as well as special I/O configuration features.</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">Environment**
</td>
<td>
<p>-40 to +85 ºC</p>
<p> (-40 to +185 F)
</p>
</td>
<td>
<p>-40 to +85 ºC</p>
<p>(-40 to +185 F)
</p>
</td>
<td>
<p>-40 to +85 ºC</p>
<p>(-40 to +185 F)
</p>
</td>
<td>
<p>-40 to +85 ºC</p>
<p>(-40 to +185 F)
</p>
</td>
<td>
<p>-40 to +85 ºC</p>
<p>(-40 to +185 F)
</p>
</td>
<td>
<p>0 to +70 ºC</p>
<p>(32 to +158 ºF)
</p>
</td>
<td>
<p>0 to +70 ºC</p>
<p>(32 to +158 ºF)
</p>
</td>
<td>
<p>0 to +70 ºC</p>
<p>(32 to +158 ºF)
</p>
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">PBASIC Interpreter chip
</td>
<td>Microchip PIC'56
</td>
<td>Microchip PIC'57
</td>
<td>Ubicom SX28
</td>
<td>Ubicom SX28
</td>
<td>Ubicom SX48
</td>
<td>Ubicom SX48
</td>
<td>Ubicom SX48
</td>
<td>Ubicom SX48
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">Processor Speed
</td>
<td>4 MHz
</td>
<td>20 MHz
</td>
<td>20 MHz
</td>
<td>50 MHz
</td>
<td>20 MHz Turbo
</td>
<td>20 MHz Turbo
</td>
<td>8 MHz Turbo
</td>
<td>32 MHz Turbo
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">Program Execution Speed
</td>
<td>~2,000 instructions/sec.
</td>
<td>~4,000
instructions/sec.
</td>
<td>~4,000 instructions/sec.
</td>
<td>~10,000 instructions/sec.
</td>
<td>~12,000 instructions/sec.
</td>
<td>~12,000 instructions/sec.
</td>
<td>~6000 instructions/sec.
</td>
<td>~19,000 instructions/sec.
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">RAM Size
</td>
<td>16 Bytes (2 I/O, 14 Variable)
</td>
<td>32 Bytes
(6 I/O, 26 Variable)
</td>
<td>32 Bytes (6 I/O, 26 Variable)
</td>
<td>32 Bytes
(6 I/O, 26 Variable)
</td>
<td>38 Bytes
(12 I/O, 26 Variable)
</td>
<td>38 Bytes
(12 I/O, 26 Variable)
</td>
<td>38 Bytes
(12 I/O, 26 Variable)
</td>
<td>38 Bytes
(12 I/O, 26 Variable)
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">Scratchpad RAM
</td>
<td>N/A
</td>
<td>N/A
</td>
<td>64 Bytes
</td>
<td>64 Bytes
</td>
<td>128 Bytes
</td>
<td>128 Bytes
</td>
<td>128 Bytes
</td>
<td>128 Bytes
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">EEPROM (Program) Size
</td>
<td>256 Bytes,
~80 instructions
</td>
<td>2K Bytes,
~500 instructions
</td>
<td>8 x 2K Bytes,
~4,000 inst
</td>
<td>8 x 2K Bytes,
~4,000 instructions
</td>
<td>8 x 2K Bytes,
~4,000 instructions
</td>
<td>8 x 2K Bytes,
~4,000 instructions
</td>
<td>16 x 2K Bytes
(16 K for source)
</td>
<td>8 x 2K Bytes,
~4,000 instructions
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">Number of I/O Pins
</td>
<td>8
</td>
<td>16 + 2 Dedicated Serial
</td>
<td>16 + 2 Dedicated Serial
</td>
<td>16 + 2 Dedicated Serial
</td>
<td>16 + 2 Dedicated Serial
</td>
<td>32 + 2 Dedicated Serial
</td>
<td>16 + 2 Dedicated Serial
</td>
<td>16 + 2 Dedicated Serial
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">Regulated Voltage Requirements
</td>
<td>5 - 15 VDC </td>
<td>5 - 15 VDC </td>
<td>5 - 12 VDC </td>
<td>5 - 12 VDC </td>
<td>5 - 12 VDC </td>
<td>5 - 12 VDC </td>
<td>5 - 12 VDC </td>
<td>5 - 12 VDC </td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">Current Draw@ 5 volts
</td>
<td>1 mA Run,
25 µA Sleep
</td>
<td>3 mA Run,
50 µA Sleep
</td>
<td>25 mA Run,
200 µA Sleep
</td>
<td>60 mA Run,&#160;
500 µA Sleep
</td>
<td>40 mA Run,
350 µA Sleep
</td>
<td>40 mA Run,
350 µA Sleep
</td>
<td>15 mA Run,
150 µA Sleep
</td>
<td>55 mA Run,
450 µA Sleep
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">Source/Sink Current per I/O
</td>
<td>20 mA / 25 mA
</td>
<td>20 mA / 25 mA
</td>
<td>30 mA / 30 mA
</td>
<td>30 mA / 30 mA
</td>
<td>30 mA /
30 mA
</td>
<td>30 mA / 30 mA
</td>
<td>30 mA / 30 mA
</td>
<td>30 mA / 30 mA
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">Source/Sink
Current per unit
</td>
<td>40 mA / 50 mA
</td>
<td>40 mA / 50 mA
per 8 I/O pins
</td>
<td>60 mA / 60 mA
per 8 I/O pins
</td>
<td>60 mA / 60 mA
per 8 I/O pins
</td>
<td>60 mA / 60 mA
per 8 I/O pins
</td>
<td>60 mA /60 mA
per 8 I/O pins
</td>
<td>60 mA / 60 mA
per 8 I/O pins
</td>
<td>60 mA / 60 mA
per 8 I/O pins
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">PBASIC Commands*
</td>
<td>32
</td>
<td>42
</td>
<td>45
</td>
<td>45
</td>
<td>61
</td>
<td>61
</td>
<td>61
</td>
<td>63
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">PC Interface
</td>
<td>Serial
(w/BS1 Serial Adapter)
</td>
<td>Serial
(9600 baud)
</td>
<td>Serial (9600 baud)
</td>
<td>Serial (9600 baud)
</td>
<td>Serial (9600 baud)
</td>
<td>Serial
(9600 baud)
</td>
<td>Serial (9600 baud)
</td>
<td>Serial (19200 baud)
</td>
</tr>
<tr align="center">
<td bgcolor="CFCFCF" width="11%">Windows Text Editor Version
</td>
<td>Stampw.exe (v2.1 and up)
</td>
<td>Stampw.exe (v1.04 and up)
</td>
<td>Stampw.exe
(v1.096 and up)
</td>
<td>Stampw.exe
(v1.091 and up)
</td>
<td>Stampw.exe
(v1.1 and up)
</td>
<td>Stampw.exe
(v1.1 and up)
</td>
<td>Stampw.exe
(v1.33 and up)
</td>
<td>Stampw.exe
(v2.2 and up)
</td>
</tr>
</table>
<p class="PlainText">*PBASIC command count totals include PBASIC 2.5 on all BS2 models.</p>
<p class="PlainText">**Environment ratings may change with future hardware revisions; please <a href="../HomeTopics/Resources.htm#Contact_Parallax" target="" title="" alt="" class="MCXref_0" xrefformat="{paratext}">Contact Parallax</a> for more information.</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>

View File

@ -0,0 +1,74 @@
<?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>Connection Schematics</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">Connection Schematics</span>
</div>
<h1>Connection Schematics</h1>
<p class="PlainText">We recommend using a Parallax development board and cable for programming BASIC Stamp modules. When these items are not available, you may create your own board by duplicating the following diagrams with your own circuits and cables.</p>
<p class="PlainText">Be very careful to follow these diagrams closely; it is quite common for programming problems with the BASIC Stamp to be a result of a poorly made custom cable or programming connections on your applications board. For example, with the programming connections for all the BS2 models, it is possible to reverse a couple of wires and still get positive results using some of the "connection" tests and yet you still will not be able to communicate with the BASIC Stamp. It is vital that you check your connections with a meter and verify the pin numbering to avoid problems like this.</p>
<h2>Programming and Run-time Communication Connections for all BS2 models</h2>
<p class="PlainText">Though it is not shown, power must be connected to the BASIC Stamp to program it. Note that the programming connections for the 40-pin BS2p40 are the same as for the 24-pin BS2 models.</p>
<p class="PlainText">
<img src="../Resources/Images/BS24connSchem.png" />
</p>
<p>&#160;</p>
<h2>BS1 Programming Connections with BS1 Serial Adapter</h2>
<p class="PlainText">Though it is not shown, power must be connected to the BS1 to program it.</p>
<p>
<img src="../Resources/Images/BS1connSchem.png" />
</p>
<p>&#160;</p>
<h3>BASIC Stamp 1 Serial Adapter</h3>
<p class="PlainText">Starting with Version 2.1, the BASIC Stamp Editor/Compiler supports programming
BASIC Stamp 1 modules through a standard serial connection using the adapter shown above and below. The adapter translates the voltage
and mechanical differences of the BS1 to be compatible with the serial port. For convenience, Parallax
manufactures the BASIC Stamp 1 Serial Adapter (#27111) that plugs into the end of a serial cable and connects
to the programming header of the BS1.</p>
<p>
<img src="../Resources/Images/BS1adapter.png" />
</p>
<p>&#160;</p>
<p class="PlainText">For those that would like to make their own adapter, the schematic is shown
below.</p>
<p>
<img src="../Resources/Images/BS1adapterSch.png" border="0" />
</p>
<p class="PlainText">&#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>

View File

@ -0,0 +1,492 @@
<?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>