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,56 @@
<?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>Using a USB to Serial Adapter?</title>
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js" type="text/javascript">
</script>
</head>
<body>
<p><a href="BOE-serial.htm" title="Go back to &quot;Board of Education - Serial&quot;" alt="Go back to &quot;Board of Education - Serial&quot;"><img src="../Resources/Images/Prev.png" /></a>
</p>
<h1>Using a USB to Serial Adapter?</h1>
<p>Will you be using a USB&#160;port on your computer, and a USB&#160;to Serial Adapter, with your Board of Education?</p>
<h3>YES! </h3>
<p class="PlainTextIndent"><a href="BOEadapter-setup.htm" title="Go on to &quot;Board of Education - Serial with Adapter Setup&quot;" alt="Go on to &quot;Board of Education - Serial with Adapter Setup&quot;"><img src="../Resources/Images/Next.png"></img></a>
</p>
<p>
<img src="../Resources/Images/USBadapter.png">
</img> <![CDATA[ ]]></p>
<p>&#160;</p>
<h3>NO!</h3>
<p class="PlainTextIndent">&#160;<a href="BOEsetup.htm" title="Go on to &quot;Board of Education - Serial Setup&quot;" alt="Go on to &quot;Board of Education - Serial Setup&quot;"><img src="../Resources/Images/Next.png" /></a></p>
<p>&#160;</p>
<p><a href="BOE-serial.htm" title="Go back to &quot;Board of Education - Serial&quot;" alt="Go back to &quot;Board of Education - Serial&quot;"><img src="../Resources/Images/Prev.png" /></a>
</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,56 @@
<?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>Using a USB to Serial Adapter?</title>
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js" type="text/javascript">
</script>
</head>
<body>
<p><a href="HWB.htm" title="Go back to &quot;HomeWork Board&quot;" alt="Go back to &quot;HomeWork Board&quot;"><img src="../Resources/Images/Prev.png" /></a>
</p>
<h1>Using a USB to Serial Adapter?</h1>
<p>Will you be using your computer's USB&#160;port and a USB&#160;to Serial Adapter with your HomeWork Board?</p>
<h3>YES! </h3>
<p class="PlainTextIndent"><a href="HWBadapter_setup.htm" title="Go on to &quot;HomeWork Board with USB Adapter - Setup&quot;" alt="Go on to &quot;HomeWork Board with USB Adapter - Setup&quot;"><img src="../Resources/Images/Next.png"></img></a>
</p>
<p>
<img src="../Resources/Images/USBadapter.png">
</img> <![CDATA[ ]]></p>
<p>&#160;</p>
<h3>NO!</h3>
<p class="PlainTextIndent"><a href="HWB-setup.htm" title="Go on to &quot;HomeWork Board - Setup&quot;" alt="Go on to &quot;HomeWork Board - Setup&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<p><a href="HWB.htm" title="Go back to &quot;HomeWork Board&quot;" alt="Go back to &quot;HomeWork Board&quot;"><img src="../Resources/Images/Prev.png" /></a>
</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>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,103 @@
<?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>Board of Education - Serial</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<map id="map1" name="map1">
<area shape="rectangle" coords="299,97,434,281" />
<area shape="rectangle" coords="358,24,372,57" />
<area shape="rectangle" coords="-8,160,82,291" />
<area shape="rectangle" coords="198,259,259,303" />
<area shape="circle" coords="260,79,13" />
<area shape="rectangle" coords="263,105,292,272" />
<area shape="rectangle" coords="295,71,437,91" />
<area shape="rectangle" coords="136,7,208,70" />
<area shape="rectangle" coords="28,45,132,86" />
<area shape="rectangle" coords="193,89,238,206" />
<area shape="rectangle" coords="89,160,187,289" />
<area shape="rectangle" coords="319,12,354,59" />
<area shape="rectangle" coords="376,12,410,60" />
<area shape="rectangle" coords="205,214,248,245" />
</map>
<p><a href="IdBoard.htm" title="Go back to &quot;Identify Your Board&quot;" alt="Go back to &quot;Identify Your Board&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="AdapterYN_BOE.htm" title="Go on to &quot;Using a USB Adapter?&quot;" alt="Go on to &quot;Using a USB Adapter?&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>Board of Education - Serial</h1>
<ul>
<li class="Checklist" value="1">Take a look at your board to get familiar with its parts. </li>
</ul>
<p>
<img src="../Resources/Images/BOE_Serial_labels.png" usemap="#map1" />
</p>
<ol>
<li value="1"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">9V Battery Clip<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: You can use alkaline or rechargeable 9 volt batteries. The battery clip and barrel jack are intentionally positioned so you cannot use both at once.</span></span>
</li>
<li value="2"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Barrel Jack<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This accepts a 2.1 mm center-positive barrel plug from a 6-9 V wall-mount supply or from a battery pack. You cannot use the barrel jack and a 9 volt battery at the same time.</span></span>
</li>
<li value="3"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Voltage regulator<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: Supplies regulated 5 V (up to 1 amp of current) for sockets and pins labeled Vdd. Vdd sockets are convenient for supplying 5 V to circuits you will build on the breadboard area.</span></span>
</li>
<li value="4"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Power Indicator LED<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This LED&#160;will light up when power is supplied to your board and the power switch is in position 1 or 2. </span></span>
</li>
<li value="5"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Servo headers (X4 and X5) and Power Select Jumper<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: These each have two 3-pin connectors that bring power, ground, and I/O pin access together so you can easily plug in servos or other 3-pin devices. The power connection is pre-set to Vdd (+5 V) but you can set it to Vin (the board's supply voltage) by moving the shorting block on the jumper between the headers. Each 3-pin row is labeled with an I/O&#160;pin number above it. The 12, 13, 14, and 15 signal lines for the servo headers are also accessible as P12, P13, P14, and P15 I/O pin sockets on the X1 and X2 headers. This can be useful for building a servo signal indicator light on the breadboard as you may do in some Stamps in Class activities. For independent projects, keep these shared connections in mind, especially to avoid inadvertently connecting circuits with conflicting functions to the same I/O pin.</span></span>
</li>
<li value="6"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Power header (X3)<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The sockets labeled Vdd connect to +5 VDC, Vin connects directly to the power supplied to the board by the battery clip or barrel jack, and Vss connects to 0 V (ground).</span></span>
</li>
<li value="7"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Breadboard<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">:The breadboard has metal clips that run underneath the white plastic board in a horizontal fashion. Each strip connects a 5-socket group, with two groups to each row, separated by a center trench. Wires or legs of components plugged into the same 5-socket group will be electrically connected. Components with many legs (such as pushbuttons or ICs), are placed in the middle of the board so that half of the legs are on the left side and half are on the right side of the trench. <i>Note: Always disconnect power before building or modifying circuits!</i></span></span>
</li>
<li value="8"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">I/O Pin Access Header (X2)<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">:The BASIC Stamp module's 16 I/O pins, labeled 0 to 15, are connected to this header. Its location adjacent to the breadboard makes it convenient for connecting circuits to I/O pins. Keep in mind that I/O pin access is also brought to the X4, X5, and X1 headers, so be careful not to build conflicting breadboard circuits if you are using these other headers as well.</span></span>
</li>
<li value="9"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">AppMod header (X1)<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">:The AppMod header provides power, I/O pins, Vdd, Vin, and Vss access for any devices that are designed to use this 2x10 socket. Examples include the LCD Terminal AppMod (#29121), CMUcam (#30051), Easy Bluetooth Module (#30085), and Say It voice recognition module (#30080).</span></span>
</li>
<li value="10"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Reset Button<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The reset button can be used to restart your BASIC Stamp without having to cycle the power. This saves wear-and-tear on the power switch for simple program restarts. Some advanced programming techniques use the reset button and the BASIC Stamp EEPROM program and data storage as a way to toggle between different program functions.</span></span>
</li>
<li value="11"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">3-Position Power Switch<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The leftmost position (0) is OFF all power is disconnected. Always place the switch in this position when adding or changing components on the breadboard. The middle position (1) provides Vin (unregulated battery or power supply voltage) to the regulator, the BASIC Stamp socket, and to the connectors marked “Vin.” This switch position also makes Vdd (5 volts) available to Vdd sockets on the breadboard and AppMod connectors. The rightmost position (2) also provides power to the servo connectors X4 and X5. Especially if your program causes a robot with servos connected to X4/X5 to start moving immediately, you can keep the 3-position switch in position (1) while loading the program, then switch to position (2) when you are ready for the robot to start moving.</span></span>
</li>
<li value="12"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Socket for BASIC Stamp<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This socket is compatible with all 24-pin BASIC Stamp modules. It connects the BASIC Stamp to the programming connector, power, the power indicator LED, reset button, and all I/O&#160;pin headers.</span></span>
</li>
<li value="13"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Serial Programming Connector<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This is a female DB9 socket for programming and for two-way serial communication between the BASIC Stamp and your computer. You can connect directly to a serial port on your computer, or use a USB&#160;to Serial Adapter to connect to a USB&#160;port. </span></span>
</li>
</ol>
<h2>Important! Check the Revision Letter of your Board of Education</h2>
<p class="PlainText">Itll either be below the breadboard or in the upper-right corner, and might be Rev A, Rev B, Rev C, etc… Make a note of this revision because certain Stamps in Class activities will utilize different circuits, depending on which revision you use.</p>
<ul>
<li class="Checklist" value="1">If you have a Board of Education - Serial Rev C, shown above, you don't need any extra instructions. Go ahead and click the NEXT&#160;arrow.</li>
<li class="Checklist" value="2">If you have a Board of Education - Serial Rev A, the label will be in the upper right corner of the board. Read the <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="BoeSerRevApopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open topic in popup window" title="Open topic in popup window">Board of Education - Serial Rev A Special Instructions</a></span> before continuing.</li>
<li class="Checklist" value="3">If you have a Board of Education - Serial Rev B, the label will be in the upper right corner on top of the board, just below and to the right of the X5 servo header. Read the <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="BoeSerRevBpopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open topic in popup window" title="Open topic in popup window">Board of Education - Serial Rev B Special Instructions</a></span> before continuing.</li>
</ul>
<p><a href="IdBoard.htm" title="Go back to &quot;Identify Your Board&quot;" alt="Go back to &quot;Identify Your Board&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="AdapterYN_BOE.htm" title="Go on to &quot;Using a USB Adapter?&quot;" alt="Go on to &quot;Using a USB Adapter?&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,84 @@
<?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>Board of Education - USB</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<p><a href="IdBoard.htm" title="Go back to &quot;Identify Your Board&quot;" alt="Go back to &quot;Identify Your Board&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="BOEusb_setup.htm" title="Go on to &quot;Board of Education USB - Setup&quot;" alt="Go on to &quot;Board of Education USB - Setup&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>Board of Education - USB</h1>
<ul>
<li class="Checklist" value="1">Take a look at your board to get familiar with its parts.</li>
</ul>
<p>
<img src="../Resources/Images/BOE_USB_labels.png" />
</p>
<ol>
<li value="1"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">9V Battery Clip<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: You can use alkaline or rechargeable 9 volt batteries. The battery clip and barrel jack are intentionally positioned so you cannot use both at once.</span></span>
</li>
<li value="2"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Barrel Jack<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This accepts a 2.1 mm center-positive barrel plug from a 6-9 V wall-mount supply or from a battery pack. You cannot use the barrel jack and a 9 volt battery at the same time.</span></span>
</li>
<li value="3"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Voltage regulator<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: Supplies regulated 5 V (up to 1 amp of current) for sockets and pins labeled Vdd. Vdd sockets are convenient for supplying 5 V to circuits you will build on the breadboard area.</span></span>
</li>
<li value="4"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Power Indicator LED<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This LED&#160;will light up when power is supplied to your board and the power switch is in position 1 or 2. </span></span>
</li>
<li value="5"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Servo headers (X4 and X5) and Power Select Jumper<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: These each have two 3-pin connectors that bring power, ground, and I/O pin access together so you can easily plug in servos or other 3-pin devices. The power connection is pre-set to Vdd (+5 V) but you can set it to Vin (the board's supply voltage) by moving the shorting block on the jumper between the headers. Each 3-pin row is labeled with an I/O&#160;pin number above it. The 12, 13, 14, and 15 signal lines for the servo headers are also accessible as P12, P13, P14, and P15 I/O pin sockets on the X1 and X2 headers. This can be useful for building a servo signal indicator light on the breadboard as you may do in some Stamps in Class activities. For independent projects, keep these shared connections in mind, especially to avoid inadvertently connecting circuits with conflicting functions to the same I/O pin.</span></span>
</li>
<li value="6"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Power header (X3)<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The sockets labeled Vdd connect to +5 VDC, Vin connects directly to the power supplied to the board by the battery clip or barrel jack, and Vss connects to 0 V (ground).</span></span>
</li>
<li value="7"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Breadboard<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">:The breadboard has metal clips that run underneath the white plastic board in a horizontal fashion. Each strip connects a 5-socket group, with two groups to each row, separated by a center trench. Wires or legs of components plugged into the same 5-socket group will be electrically connected. Components with many legs (such as pushbuttons or ICs), are placed in the middle of the board so that half of the legs are on the left side and half are on the right side of the trench. <i>Note: Always disconnect power before building or modifying circuits!</i></span></span>
</li>
<li value="8"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">I/O Pin Access Header (X2)<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">:The BASIC Stamp module's 16 I/O pins, labeled 0 to 15, are connected to this header. Its location adjacent to the breadboard makes it convenient for connecting circuits to I/O pins. Keep in mind that I/O pin access is also brought to the X4, X5, and X1 headers, so be careful not to build conflicting breadboard circuits if you are using these other headers as well.</span></span>
</li>
<li value="9"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">AppMod header (X1)<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">:The AppMod header provides power, I/O pins, Vdd, Vin, and Vss access for any devices that are designed to use this 2x10 socket. Examples include the LCD Terminal AppMod (#29121), CMUcam (#30051), Easy Bluetooth Module (#30085), and Say It voice recognition module (#30080).</span></span>
</li>
<li value="10"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Reset Button<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The reset button can be used to restart your BASIC Stamp without having to cycle the power. This saves wear-and-tear on the power switch for simple program restarts. Some advanced programming techniques use the reset button and the BASIC Stamp EEPROM program and data storage as a way to toggle between different program functions.</span></span>
</li>
<li value="11"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">3-Position Power Switch<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The leftmost position (0) is OFF all power is disconnected. Always place the switch in this position when adding or changing components on the breadboard. The middle position (1) provides Vin (unregulated battery or power supply voltage) to the regulator, the BASIC Stamp socket, and to the connectors marked “Vin.” This switch position also makes Vdd (5 volts) available to Vdd sockets on the breadboard and AppMod connectors. The rightmost position (2) also provides power to the servo connectors X4 and X5. Especially if your program causes a robot with servos connected to X4/X5 to start moving immediately, you can keep the 3-position switch in position (1) while loading the program, then switch to position (2) when you are ready for the robot to start moving.</span></span>
</li>
<li value="12"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Socket for BASIC Stamp<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This socket is compatible with all 24-pin BASIC Stamp modules. It connects the BASIC Stamp to the programming connector, power, the power indicator LED, reset button, and all I/O&#160;pin headers.</span></span>
</li>
<li value="13"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">USB Programming Connector<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This is a USB Mini B socket and USB to serial (RS-232) circuitry for programming and for two-way serial communication between the BASIC Stamp and your computer. The required USB&#160;drivers for Windows were included in the BASIC Stamp Editor software installer; see the <a href="../FAQTopics/USBdrivers.htm" target="" title="" alt="" class="MCXref_0">USB Drivers</a> page for more information.</span></span>
</li>
</ol>
<h2>BASIC Stamp Resets when Connecting USB </h2>
<p class="PlainText">When you connect your BASIC Stamp to a PC using a USB-based development board or adapter, the PC's operating system typically resets the BASIC Stamp several times as it tries to determine if a new plug-and-play device was just connected. </p>
<p class="PlainText">Each time a BASIC Stamp is reset, all program variables are cleared, and the program starts from the beginning. For tips on writing programs that have variable values that you do not want to lose when you connect your board to the PC, see the article <a href="../FAQTopics/UsbBoardResets.htm" target="" title="" alt="" class="MCXref_0">USB Resets BASIC Stamp</a>.</p>
<p>&#160;</p>
<p><a href="IdBoard.htm" title="Go back to &quot;Identify Your Board&quot;" alt="Go back to &quot;Identify Your Board&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="BOEusb_setup.htm" title="Go on to &quot;Board of Education USB - Setup&quot;" alt="Go on to &quot;Board of Education USB - Setup&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,108 @@
<?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>Board of Education with USB to Serial Adapter - Setup</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<p><a href="AdapterYN_BOE.htm" title="Go back to &quot;Using a USB Adapter?&quot;" alt="Go back to &quot;Using a USB Adapter?&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>Board of Education with USB to Serial Adapter - Setup</h1>
<ul style="list-style-type: circle;">
<li class="Checklist" value="1">DO NOT connect power to your board until instructed to do so!</li>
</ul>
<h2>Affixing the Rubber Feet</h2>
<p class="PlainText">Your board should come with four adhesive rubber feet:</p>
<p>
<img src="../Resources/Images/feet.png" />
</p>
<ul>
<li class="Checklist" value="1">Remove each rubber foot from its adhesive, and affix it to the underside of your board. There are circles to show correct placement.</li>
</ul>
<p>
<img src="../Resources/Images/BOEfeet.png" />
</p>
<h2>Making the Board Connections</h2>
<ul>
<li class="Checklist" value="1">Use the silkscreen pictures that show the three prominent chips on the BASIC Stamp to determine how to orient it before inserting it into its socket. There is also a small semi-circular notch at in the top-center of the BASIC Stamp module that indicates which way is “up.” Match this reference notch to the notch in the socket.</li>
<li class="Checklist" value="2">After correctly orienting the 24-pin BASIC Stamp module, gently insert it into its socket as shown at (1) in the picture below.</li>
<li class="Checklist" value="3">Make sure that each pin is seated in its corresponding socket hole, then apply firm downward pressure with your thumb. The module should sink about ¼ of an inch (~0.6 mm) into the socket, and only the flared portion of each BASIC Stamp leg should be visible above the socket.</li>
<li class="Checklist" value="4">Visually inspect the legs to make sure each pin is in its socket and that no pins are folded underneath the module.</li>
<li class="Checklist" value="5">Connect the larger "A" end of the USB cable to a USB 2.0 port on your computer.</li>
</ul>
<div class="ListIndent">
<div class="ListIndent">
<div class="MCDropDown"><a class="dropDownHead_1" href="javascript:void(0);" id="MCDropDownHotSpot_132501114_0" onclick="FMCDropDown( this ); return false;"><img style="border: none;margin-right: 2px;" src="../SkinSupport/DropDownClosed.gif" MadCap:altsrc="../SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />USB 3.0 Port Caution</a>
<div class="MCDropDownBody" id="MCDropDownBody_132501114_0" style="display: none;">
<p class="PlainText">USB 2.0 ports are recommended for BASIC Stamp boards. On some computers, the internal USB hub will freeze when disconnecting a USB 2.0 device from a USB 3.0 port. This may cause all USB ports on the computer to become unresponsive, requiring a reboot of the computer to remedy the situation. System updates from your computer manufacturer may correct the problem.</p>
<p class="PlainText">USB 3.0 ports can sometimes be identified by a blue tab inside the socket.<br /></p>
<p class="PlainText">
<img src="../Resources/Images/USB_3_258x115.jpg" title="USB 3.0 ports have a blue tab inside." alt="USB 3.0 ports have a blue tab inside." style="padding-top: 5px;width: 258;height: 115;" />
</p>
</div>
</div>
</div>
</div>
<ul>
<li class="Checklist" value="1">Connect the smaller "Mini B" end of the USB cable to the USB connector on the USB&#160;to Serial Adapter, as shown in (2).</li>
<li class="Checklist" value="2">Connect the male DB9 connector on the USB to Serial Adapter to the female DB9 socket on the board (3).</li>
<li class="Checklist" value="3">Connect one of the two power sources (see <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="../FAQTopics/PwrSupplyPopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open &quot;Power Supplies&quot; in popup window" title="Open &quot;Power Supplies&quot; in popup window">Power Supplies</a></span>).</li>
</ul>
<div class="ListIndent">
<ul style="list-style-type: circle;">
<li value="1">a 6 to 9 V wall-mount power supply with a 2.1 mm center positive barrel jack (4);</li>
</ul>
<p class="PlainTextIndent">- OR -</p>
<ul style="list-style-type: circle;">
<li value="1">a 9 V alkaline or rechargeable battery (5).</li>
</ul>
</div>
<p>
<img src="../Resources/Images/BOEadapter_conn.png" />
</p>
<p>&#160;</p>
<ul>
<li class="Checklist" value="1">Set the 3 - position switch to Position 1 to turn on power to your board.</li>
</ul>
<p>
<img src="../Resources/Images/Switch1.PNG" />
</p>
<p class="PlainText">&#160;</p>
<p class="Tip" MadCap:autonum="Tip: &#160;"><span class="autonumber"><span class="TipSpan">Tip: &#160;</span></span>If you have a BASIC Stamp program running and want to take your board away from your computer, always disconnect and reconnect at the DB9 socket. Leave the USB&#160;to Serial Adapter connected to your computer. This will leave the virtual COM&#160;port open, allowing you to reconnect your board without the USB&#160;port resetting your BASIC Stamp. See the article <a href="../FAQTopics/UsbBoardResets.htm" target="" title="" alt="" class="MCXref_0">USB Resets BASIC Stamp</a> for more information.</p>
<p class="PlainText">You are ready to test your programming connection!</p>
<p><a href="AdapterYN_BOE.htm" title="Go back to &quot;Using a USB Adapter?&quot;" alt="Go back to &quot;Using a USB Adapter?&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,90 @@
<?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>Board of Education Serial - Setup</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<p><a href="AdapterYN_BOE.htm" title="Go back to &quot;Using a USB to Serial Adapter?&quot;" alt="Go back to &quot;Using a USB to Serial Adapter?&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>Board of Education Serial - Setup</h1>
<ul style="list-style-type: circle;">
<li class="Checklist" value="1">DO NOT connect power to your board until instructed to do so!</li>
</ul>
<h2>Affixing the Rubber Feet</h2>
<p class="PlainText">Your board should come with four adhesive rubber feet:</p>
<p>
<img src="../Resources/Images/feet.png" />
</p>
<ul>
<li class="Checklist" value="1">Remove each rubber foot from its adhesive, and affix it to the underside of your board. There are circles to show correct placement.</li>
</ul>
<p>
<img src="../Resources/Images/BOEfeet.png" />
</p>
<h2>Making the Board Connections</h2>
<ul>
<li class="Checklist" value="1">Use the silkscreen pictures that show the three prominent chips on the BASIC Stamp to determine how to orient it before inserting it into its socket. There is also a small semi-circular notch at in the top-center of the BASIC Stamp module that indicates which way is “up.” Match this reference notch to the notch in the socket.</li>
<li class="Checklist" value="2">After correctly orienting the 24-pin BASIC Stamp module, gently insert it into its socket as shown at (1) in the picture below.</li>
<li class="Checklist" value="3">Make sure that each pin is seated in its corresponding socket hole, then apply firm downward pressure with your thumb. The module should sink about ¼ of an inch (~0.6 mm) into the socket, and only the flared portion of each BASIC Stamp leg should be visible above the socket.</li>
<li class="Checklist" value="4">Visually inspect the legs to make sure each pin is in its socket and that no pins are folded underneath the module.</li>
<li class="Checklist" value="5">Connect the female end of the serial cable to the serial port on your computer (it is a 9-pin male port).</li>
<li class="Checklist" value="6">Connect the male end of the serial cable to the DB9 connector on the board, as shown in (2).</li>
<li class="Checklist" value="7">Connect one of the two power sources (see <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="../FAQTopics/PwrSupplyPopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open &quot;Power Supplies&quot; in popup window" title="Open &quot;Power Supplies&quot; in popup window" xrefformat="{paratext}" xrefhref="../FAQTopics/PwrSupplyPopup.htm">Power Supplies</a></span>).</li>
</ul>
<div class="ListIndent">
<ul style="list-style-type: circle;">
<li value="1">a 6 to 9 V wall-mount power supply with a 2.1 mm center positive barrel jack (3);</li>
</ul>
<p class="PlainTextIndent">- OR -</p>
<ul style="list-style-type: circle;">
<li value="1">a 9 V alkaline or rechargeable battery (4).</li>
</ul>
</div>
<p>
<img src="../Resources/Images/BOEser_conn.png" />
</p>
<ul>
<li class="Checklist" value="1">Set the 3 - position switch to Position 1 to turn on power to your board.</li>
</ul>
<p>
<img src="../Resources/Images/Switch1.PNG" />
</p>
<p>&#160;</p>
<p class="PlainText">You are ready to test your programming connection!</p>
<p><a href="AdapterYN_BOE.htm" title="Go back to &quot;Using a USB to Serial Adapter?&quot;" alt="Go back to &quot;Using a USB to Serial Adapter?&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,106 @@
<?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>Board of Education USB - Setup</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<p><a href="BOE-usb.htm" title="Go back to &quot;Board of Education - USB&quot;" alt="Go back to &quot;Board of Education - USB&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>Board of Education USB - Setup</h1>
<ul style="list-style-type: circle;">
<li class="Checklist" value="1">DO NOT connect power to your board until instructed to do so!</li>
</ul>
<h2>Affixing the Rubber Feet</h2>
<p class="PlainText">Your board should come with four adhesive rubber feet:</p>
<p>
<img src="../Resources/Images/feet.png" />
</p>
<ul>
<li class="Checklist" value="1">Remove each rubber foot from its adhesive, and affix it to the underside of your board. There are circles to show correct placement.</li>
</ul>
<p>
<img src="../Resources/Images/BOEfeet.png" />
</p>
<h2>Making the Board Connections</h2>
<ul>
<li class="Checklist" value="1">Use the silkscreen pictures that show the three prominent chips on the BASIC Stamp to determine how to orient it before inserting it into its socket. There is also a small semi-circular notch at in the top-center of the BASIC Stamp module that indicates which way is “up.” Match this reference notch to the notch in the socket.</li>
<li class="Checklist" value="2">After correctly orienting the 24-pin BASIC Stamp module, gently insert it into its socket as shown at (1) in the picture below.</li>
<li class="Checklist" value="3">Make sure that each pin is seated in its corresponding socket hole, then apply firm downward pressure with your thumb. The module should sink about ¼ of an inch (~0.6 mm) into the socket, and only the flared portion of each BASIC Stamp leg should be visible above the socket.</li>
<li class="Checklist" value="4">Visually inspect the legs to make sure each pin is in its socket and that no pins are folded underneath the module.</li>
<li class="Checklist" value="5">Connect the larger "A" end of the USB cable to a USB 2.0 port on your computer.</li>
</ul>
<div class="ListIndent">
<div class="ListIndent">
<div class="MCDropDown"><a class="dropDownHead_1" href="javascript:void(0);" id="MCDropDownHotSpot_2709628985_0" onclick="FMCDropDown( this ); return false;"><img style="border: none;margin-right: 2px;" src="../SkinSupport/DropDownClosed.gif" MadCap:altsrc="../SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />USB 3.0 Port Caution</a>
<div class="MCDropDownBody" id="MCDropDownBody_2709628985_0" style="display: none;">
<p class="PlainText">USB 2.0 ports are recommended for BASIC Stamp boards. On some computers, the internal USB hub will freeze when disconnecting a USB 2.0 device from a USB 3.0 port. This may cause all USB ports on the computer to become unresponsive, requiring a reboot of the computer to remedy the situation. System updates from your computer manufacturer may correct the problem.</p>
<p class="PlainText">USB 3.0 ports can sometimes be identified by a blue tab inside the socket.<br /></p>
<p class="PlainText">
<img src="../Resources/Images/USB_3_258x115.jpg" title="USB 3.0 ports have a blue tab inside." alt="USB 3.0 ports have a blue tab inside." style="padding-top: 5px;width: 258;height: 115;" />
</p>
</div>
</div>
</div>
</div>
<ul>
<li class="Checklist" value="1">Connect the smaller "Mini B" end of the USB cable to the USB connector on the board, as shown in (2).</li>
<li class="Checklist" value="2">Connect one of the two power sources (see <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="../FAQTopics/PwrSupplyPopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open &quot;Power Supplies&quot; in popup window" title="Open &quot;Power Supplies&quot; in popup window">Power Supplies</a></span>).</li>
</ul>
<div class="ListIndent">
<ul style="list-style-type: circle;">
<li value="1">a 6 to 9 V wall-mount power supply with a 2.1 mm center positive barrel jack (3);</li>
</ul>
<p class="PlainTextIndent">- OR -</p>
<ul style="list-style-type: circle;">
<li value="1">a 9 V alkaline or rechargeable battery (4).</li>
</ul>
</div>
<p>
<img src="../Resources/Images/BOEusb_conn.png" />
</p>
<p>&#160;</p>
<ul>
<li class="Checklist" value="1">Set the 3 - position switch to Position 1 to turn on power to your board.</li>
</ul>
<p>
<img src="../Resources/Images/Switch1.PNG" />
</p>
<p>&#160;</p>
<p class="PlainText">You are ready to test your programming connection!</p>
<p><a href="BOE-usb.htm" title="Go back to &quot;Board of Education - USB&quot;" alt="Go back to &quot;Board of Education - USB&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,18 @@
<?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="2" MadCap:lastHeight="47" MadCap:lastWidth="579" MadCap:disableMasterStylesheet="true" MadCap:tocPath="" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-us" xml:lang="en-us" class="TopicPopup" MadCap:PathToHelpSystem="../../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
<head><title>Board of Education - Serial Rev A Special Instructions</title>
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js" type="text/javascript">
</script>
</head>
<body>
<h1>Board of Education - Serial Rev A Special Instructions</h1>
<h2>Servo Ports - There Are None!</h2>
<p class="PlainText">The Board of Education Rev A does not have servo ports. However, 3-pin connections for servos and other devices can be built on the breadboard. For an example of connecting a standard servo to the Board of Education Rev A, see the instructions in the Servo Circuit Connections for Older Boards pdf at <a href="http://www.parallax.com/go/WAM" target="_blank" title="Open website in new window" alt="Open website in new window">www.parallax.com/go/WAM</a>. If you wish to supply a 3-pin device, such as a Parallax Continuous Rotation Servo, with a 6-volt power supply via a breadboard circuit, Parallax carries 4 AA cell battery holder with tinned leads (#753-00001) for this purpose.</p>
<h2>3-Position Switch - There Isnt One!</h2>
<p class="PlainText">To disable power on the Board of Education Rev A, you must disconnect the power supply or battery at its connector. </p>
<script type="text/javascript" src="../SkinSupport/MadCapBodyEnd.js">
</script>
</body>
</html>

View File

@ -0,0 +1,20 @@
<?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="2" MadCap:lastHeight="47" MadCap:lastWidth="579" MadCap:disableMasterStylesheet="true" MadCap:tocPath="" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-us" xml:lang="en-us" class="TopicPopup" MadCap:PathToHelpSystem="../../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
<head><title>Board of Education - Serial Rev B Special Instructions</title>
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js" type="text/javascript">
</script>
</head>
<body>
<h1>Board of Education - Serial Rev B Special Instructions</h1>
<h2>Servo Ports - There is no Servo Power Selection Jumper!</h2>
<p class="PlainText">The Board of Education Rev B has servo headers (labeled X4 and X5), but it does not have a Servo Power Selection Jumper. On this board, the X4 and X5 headers are permanently connected to Vin. When connecting servos or other devices to the X4 and X5 headers, be sure to use a power supply that does not exceed the voltage tolerance of the servo or device. For example, the Parallax Continuous Rotation Servo requires a 6 V (maximum) supply, so it should not be plugged into the servo headers if using a 9 V battery or a 7.5 V or 9 V wall supply, or the life of the servo could be shortened. A 4 AA cell battery pack with a compatible barrel jack connector is available from Parallax (#700-00038).</p>
<h2>3-Position Switch - There Isnt One!</h2>
<p class="PlainText">To disable power on the Board of Education Rev B, you must disconnect the power supply or battery at its connector.</p>
<h2>Vdd on AppMod Header - Limited Current Budget</h2>
<p class="PlainText">Most of the connections labeled Vdd are supplied by the Board of Education Rev Bs 5 V, 1 A voltage regulator. However, the socket labeled Vdd on the X1 AppMod header is instead supplied by the small voltage regulator on the BASIC Stamp module. The BASIC Stamp modules voltage regulator only has a 50 mA current budget for its processor, certain circuits built on the breadboard and connected to I/O pins, and any devices drawing current from its Vdd pin. The socket labeled Vdd on the X1 AppMod header draws current from the BASIC Stamp modules Vdd pin, so an AppMod or other device that draws current from this pin has to stay within the 50 mA current budget, which in many applications may turn out to be only a few milliamps. Before using an AppMod with the Board of Education Rev B, verify that it gets its power from the AppMod Headers Vin socket, and not Vdd.</p>
<script type="text/javascript" src="../SkinSupport/MadCapBodyEnd.js">
</script>
</body>
</html>

View File

@ -0,0 +1,88 @@
<?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="Getting Started" 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>First Program</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="Start.htm">Getting Started</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">First Program</span>
</div>
<p><a href="TestComm.htm" title="Go back to &quot;Testing for Communication&quot;" alt="Go back to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="LookUpAnswers.htm" title="Go on to &quot;Looking Up Answers&quot;" alt="Go on to &quot;Looking Up Answers&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>Activity: First Program</h1>
<p class="PlainText">The first program you will write and test will tell the BASIC Stamp to send a message to your computer.&#160; The figure below shows how it sends a stream of ones and zeros to communicate the text characters displayed by your computer.&#160; These ones and zeros are called <i>binary numbers</i>.&#160; The BASIC Stamp Editor software has the ability to detect and display these messages as you will soon see. </p>
<p class="PlainText">
<img src="../Resources/Images/BitStream.png" />
</p>
<h2>First Program</h2>
<p class="PlainText">In this Help tutorial, the program listings that you will type into the BASIC Stamp Editor and download to the BASIC Stamp module will be shown with a blue background like this:&#160; </p>
<h3>Example Program: FirstProgram.bs2</h3><pre class="SICcode" xml:space="preserve">' Stamps in Class - FirstProgram.bs2
' BASIC Stamp sends message to Debug Terminal.
&#160;
' {$STAMP BS2}
' {$PBASIC 2.5}
&#160;
DEBUG "Hello, it's me, your BASIC Stamp!"
END</pre>
<p class="PlainText">You will enter this program into the BASIC Stamp Editor. Some lines of the program are created automatically by clicking buttons on the toolbar.&#160; Other lines are made by typing them in from the keyboard.</p>
<ul>
<li class="Checklist" value="1">Begin by clicking the BS2 icon (the green diagonal chip) on the toolbar.&#160; If you hold your cursor over this button, its flyover help description “Stamp Mode: BS2” will appear. </li>
<li class="Checklist" value="2">Next, click on the gear icon labeled “2.5.”&#160; Its flyover help description is “PBASIC Language: 2.5”.</li>
</ul>
<p>
<img src="../Resources/Images/StampIconButton.png" />
</p>
<p class="PlainText">
<img src="../Resources/Images/PBASICicon.png" />
</p>
<p class="Tip" MadCap:autonum="Tip: &#160;"><span class="autonumber"><span class="TipSpan">Tip: &#160;</span></span>ALWAYS use these toolbar buttons to add these two lines as the beginning of every program!&#160;&#160; Compiler directives use braces {&#160; }.&#160; If you try to type in these parts of your program, you may accidentally use parentheses ( ) or square brackets [&#160; ].&#160; If you do this, your program will not work.</p>
<p>If you are using some other 24-pin BASIC Stamp model instead of a BS2, you can still follow the activities here and in any Stamps in Class text, but you will need to adjust all time-sensitive commands or they will not work properly. Read <a href="../LanguageTopics/Reference/Adapt.htm" target="" title="" alt="" class="MCXref_0">Adapt BS2 Code to Other Models</a> for instructions. (It's under PBASIC Language Reference in the Table of Contents).</p>
<ul>
<li class="Checklist" value="1">Type in the remaining lines of the program exactly as shown: </li>
</ul>
<div class="background">
<img src="../Resources/Images/FirstProgram.png" />
</div>
<ul>
<li class="Checklist" value="1">Save your work by clicking File and selecting Save. </li>
</ul>
<img src="../Resources/Images/Save.png" />
<ul>
<li class="Checklist" value="1">Enter the name "FirstProgram" into the File name field near the bottom of the Save As window.</li>
<li class="Checklist" value="2">Click the Save button.</li>
</ul>&#160;&#160;&#160;<img src="../Resources/Images/FileSave.png" />&#160;
<p>&#160;</p><p class="Tip" MadCap:autonum="Tip: &#160;"><span class="autonumber"><span class="TipSpan">Tip: &#160;</span></span>The next time you save, the BASIC Stamp Editor will automatically save to the same filename (FirstProgram.bs2) unless you tell it to save to a different filename by clicking File and selecting Save As (instead of just Save).</p><ul><li class="Checklist" value="1">Click Run, and select Run from the menu that appears. </li></ul><p><img src="../Resources/Images/RunMenu.png" /></p><p class="PlainText">A Download Progress window will appear briefly as the program is transmitted from your computer to your BASIC Stamp module.&#160; The figure below shows the Debug Terminal that should appear when the download is complete.&#160; You can prove to yourself that this is a message from the BASIC Stamp by pressing and releasing the Reset button on your board.&#160; Every time you press and release it, the program will re-run, and you will see another copy of the message displayed in the Debug Terminal.</p><ul><li class="Checklist" value="1">Press and release the Reset button.&#160; Did you see a second “Hello…” message appear in the Debug Terminal?</li></ul><p><img src="../Resources/Images/DebugFirstProgram.png" /></p><p class="PlainText">The BASIC Stamp Editor has shortcuts for most common tasks.&#160; For example, to run a program, you can press the Ctrl and R keys at the same time.&#160; You can also click the <b>Run</b> button.&#160; Its the blue triangle that looks like a music players Play button.&#160; The flyover help (the Run hint) will appear if you point at the Run button with your mouse.&#160; You can get similar hints to find out what the other buttons do by pointing at them too.</p><p><img src="../Resources/Images/RunButton.png" /></p><h3>How FirstProgram.bs2 Works</h3><p class="PlainText">The first two lines in the example are called comments.&#160; A comment is a line of text that gets ignored by the BASIC Stamp Editor, because its meant for a human reading the program, not for the BASIC Stamp module.&#160; In PBASIC, everything to the right of an apostrophe is normally considered to be a comment by the BASIC Stamp Editor.&#160; The first comment tells which book the example program is from, and the programs filename.&#160; The second comment contains a handy, one-line description that explains what the program does.</p><pre xml:space="preserve" class="snippet">
' Stamps in Class - FirstProgram.bs2
' BASIC Stamp sends message to Debug Terminal.</pre><p class="PlainText">Although comments are ignored most of the time, the BASIC Stamp Editor does search through comments for special directives.&#160; Every program in this Getting Started section of help will use these two directives:&#160; </p><pre class="snippet">' {$STAMP BS2}
' {$PBASIC 2.5}</pre><p class="PlainText">The first directive is called the $STAMP Directive, and it tells the BASIC Stamp Editor that you will be downloading the program specifically to a BASIC Stamp 2 module.&#160; The second directive is called the $PBASIC directive, and it tells the BASIC Stamp Editor that you are using version 2.5 of the PBASIC programming language.&#160; These special comments are called compiler directives, and they are enclosed in braces { } not parentheses ( ). You should always use the toolbar icons to place these compiler directives in your program to avoid typing errors. Also, entering the compiler directives by hand may not activate the syntax highlighting in the BASIC Stamp Editor. That function is what causes various letters, characters and words in your program to appear in different colors and capitalization schemes.&#160; Syntax highlighting makes your programs easier to read, understand, and correct if there are any bugs in them.</p><p class="PlainText">A command is a word you can use to tell the BASIC Stamp do a certain job.&#160; The first of the two commands in this program is called the <span class="keyword_in_text">DEBUG</span> command:</p><pre class="snippet">
DEBUG "Hello, it's me, your BASIC Stamp!"</pre><p class="PlainText">This is the command that tells the BASIC Stamp to send a message to the PC using the serial cable.&#160; </p><p class="PlainText">The second command is the <span class="keyword_in_text">END</span> command:</p><pre class="snippet">END</pre><p class="PlainText">This command is handy because it puts the BASIC Stamp into low power mode when its done running the program.&#160; In low power mode, the BASIC Stamp waits for either the Reset button to be pressed (and released), or for a new program to be loaded into it by the BASIC Stamp Editor.&#160; If the Reset button on your board is pressed (or if you disconnect and reconnect your power supply), the BASIC Stamp will re-run the program you loaded into it.&#160; If a new program is loaded into it, the old one is erased, and the new program begins to run.</p><h3>Your Turn Delays with PAUSE, DEBUG Formatters, and Control Characters</h3><p class="PlainText">In <i>Whats a Microcontroller?</i> and <i>Robotics with the Boe-Bot</i>, the first command you will likely see in the example programs that display messages in the Debug Terminal is a 1-second delay, typically with the command <span class="code_in_text">PAUSE 1000</span>. The <span class="keyword_in_text">PAUSE </span>command delays the program for a certain number of milliseconds. Milliseconds are thousandths of a second are typically abbreviated ms. So, <span class="code_in_text">PAUSE 1000 </span>delays the program for 1000 thousandths of a second, which is one second.</p><ul><li class="Checklist" value="1">Modify the program by inserting <span class="code_in_text">PAUSE 1000</span> immediately above the <span class="keyword_in_text">DEBUG </span>command. </li></ul><pre xml:space="preserve" class="snippet">PAUSE 1000</pre><ul style="list-style-type: circle;"><li class="Checklist" value="1">Your code should then look like this:</li></ul><pre class="SICcode" xml:space="preserve">' Stamps in Class - FirstProgram.bs2
' BASIC Stamp sends message to Debug Terminal.
' {$STAMP BS2}
' {$PBASIC 2.5}
PAUSE 1000
DEBUG "Hello, it's me, your BASIC Stamp!"
END</pre><ul style="list-style-type: circle;"><li class="Checklist" value="1">Run the modified program and verify that it delays for a second before displaying the Hello message.</li></ul><p class="PlainText">For comparison, you can disable the <span class="keyword_in_text">PAUSE </span>command by commenting it. In other words, add an apostrophe to its left so that it reads <span class="code_in_text">' PAUSE 1000</span>. By removing the apostrophe and re-running the program, you can then test how the program behaves without the <span class="keyword_in_text">PAUSE</span>.</p><ul style="list-style-type: circle;"><li class="Checklist" value="1">Try it.</li></ul><p class="Tip" MadCap:autonum="Tip: &#160;"><span class="autonumber"><span class="TipSpan">Tip: &#160;</span></span>Inserting a one second delay before the BASIC Stamp transmits messages to the Debug Terminal ensures that the Windows operating system cannot possibly mistake the BASIC Stamp for a plug-and play-serial device like a mouse or keyboard. This can happen if the BASIC Stamp is running a program that immediately transmits messages to the Debug Terminal when it gets connected to a USB port. It can also happen if the same program is running as the computer boots while it is connected to a serial or USB port. The <span class="code_in_text">PAUSE 1000</span> ensures that this case of "mistaken microcontroller identity" won't happen because it waits longer than the 0.7 second window that PCs give serial plug-and-play devices to identify themselves.</p><h3>DEBUG Formatters and Control Characters</h3><p class="PlainText">A <span class="keyword_in_text">DEBUG </span>formatter is a code-word you can use to make the message the BASIC Stamp sends look a certain way in the Debug Terminal. DEC is an example of a formatter that makes the Debug Terminal display a decimal value. An example of a control character is CR, which is used to send a carriage return to the Debug Terminal. The text or numbers that come after a CR will appear on the line below characters that came before it. You can modify your program so that it contains more<span class="keyword_in_text"> DEBUG</span> commands along with some formatters and control characters. Heres an example of how to do it:</p><ul><li class="Checklist" value="1">Modify the comments at the beginning of the program so they read:</li></ul><pre xml:space="preserve" class="snippet">
' Stamps in Class - FirstProgramYourTurn.bs2
' BASIC Stamp sends messages to Debug Terminal</pre><ul><li class="Checklist" value="1">Add these three lines between the first <span class="keyword_in_text">DEBUG </span>command and the <span class="keyword_in_text">END</span> command:</li></ul><pre xml:space="preserve" class="snippet">
DEBUG CR, "What's 7 X 11?"
DEBUG CR, "The answer is: "
DEBUG DEC 7 * 11</pre><ul><li class="Checklist" value="1">Save the changes you made by clicking File and selecting Save As.&#160;A good name would be FirstProgramYourTurn.bs2</li><li class="Checklist" value="2">Check your work against the example program shown here.</li><li class="Checklist" value="3">Run your modified program.&#160; You will have to either select Run from the Run menu again, or click the Run button.</li></ul><p><img src="../Resources/Images/FirstProgramYT.png" /></p><ul><li class="Checklist" value="1">Check your Debug Terminal - does it now look like this?</li><li class="Checklist" value="2">If not, correct your program and re-run it until you get the results you expect.</li></ul><p><img src="../Resources/Images/DebugFirstProgYT.png" /></p><p class="Tip" MadCap:autonum="Tip: &#160;"><span class="autonumber"><span class="TipSpan">Tip: &#160;</span></span>Sometimes the Debug Terminal gets hidden behind the BASIC Stamp Editor window.&#160; You can bring it back to the front by using the Run menu as shown, the Debug Terminal 1 shortcut button on the toolbar, or the F12 key on your keyboard.<br /><br /><img src="../Resources/Images/RefindDebugTerminal.png" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="../Resources/Images/Debug1Button.png" /><br /><br /></p><p><a href="TestComm.htm" title="Go back to &quot;Testing for Communication&quot;" alt="Go back to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="LookUpAnswers.htm" title="Go on to &quot;Looking Up Answers&quot;" alt="Go on to &quot;Looking Up Answers&quot;"><img src="../Resources/Images/Next.png" /></a></p><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>

View File

@ -0,0 +1,72 @@
<?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>HomeWork Board - Setup</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<p><a href="AdapterYN_HWB.htm" title="Go back to &quot;Using a USB to Serial Adapter?&quot;" alt="Go back to &quot;Using a USB to Serial Adapter?&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>HomeWork Board - Setup</h1>
<ul style="list-style-type: circle;">
<li class="Checklist" value="1">DO NOT connect power to your board until instructed to do so!</li>
</ul>
<h2>Affixing the Rubber Feet</h2>
<p class="PlainText">Your board should come with four adhesive rubber feet:</p>
<p>
<img src="../Resources/Images/feet.png">
</img>
</p>
<ul>
<li class="Checklist" value="1">Remove each rubber foot from its adhesive, and affix it to the underside of your board near each corner. Make sure not to cover up the plated holes, you might need these holes later for mounting your board in a project box or on a robot.</li>
</ul>
<p>
<img src="../Resources/Images/HWBfeet.png" />
</p>
<h2>Making the Board Connections</h2>
<ul>
<li class="Checklist" value="1">Connect the female end of the serial cable to the serial port on your computer (it is a 9-pin male port).</li>
<li class="Checklist" value="2">Connect the male end of the serial cable to the DB9 connector on the board, as shown in (1).</li>
<li class="Checklist" value="3">Connect a 9 V alkaline or rechargeable battery to the battery clip (2). (See <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="../FAQTopics/PwrSupplyPopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open &quot;Power Supplies&quot; in popup window" title="Open &quot;Power Supplies&quot; in popup window" xrefformat="{paratext}" xrefhref="../FAQTopics/PwrSupplyPopup.htm">Power Supplies</a></span> for more about batteries and battery replacer devices.)</li>
</ul>
<p>
<img src="../Resources/Images/HWB_conn.png" />
</p>
<p>&#160;</p>
<p class="PlainText">You are ready to test your programming connection!</p>
<p><a href="AdapterYN_HWB.htm" title="Go back to &quot;Using a USB to Serial Adapter?&quot;" alt="Go back to &quot;Using a USB to Serial Adapter?&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,72 @@
<?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>HomeWork Board - USB&#160;</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<p><a href="IdBoard.htm" title="Return to &quot;Identify your Board&quot; page" alt="Return to &quot;Identify your Board&quot; page"><img src="../Resources/Images/Prev.png" /></a> <![CDATA[ ]]><a href="HWBusb-setup.htm" title="Go on to &quot;HomeWork Board USB - Setup&quot;" alt="Go on to &quot;HomeWork Board USB - Setup&quot;"><img src="../Resources/Images/Next.png" /></a></p>
<h1>HomeWork Board - USB&#160;</h1>
<ul>
<li class="Checklist" value="1">Take a look at your board to get familiar with its parts.</li>
</ul>
<p>
<img src="../Resources/Images/HWB_USB_Labels.png" title="BASIC Stamp HomeWork Board USB with components labeled" alt="BASIC Stamp HomeWork Board USB with components labeled" />
</p>
<ol>
<li value="1"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">9V Battery Clip<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: You can use alkaline or rechargeable 9-volt batteries. Disconnect the battery to turn off power to your board.</span></span>
</li>
<li value="2"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">USB Programming Connector<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This is a USB Mini B socket and USB to serial (RS-232) circuitry for programming and for two-way serial communication between the BASIC Stamp and your computer. The required USB&#160;drivers for Windows were included in the BASIC Stamp Editor software installer; see the <a href="../FAQTopics/USBdrivers.htm" target="" title="" alt="" class="MCXref_0">USB Drivers</a> page for more information.</span></span>
</li>
<li value="3"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Voltage regulator<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: Supplies regulated 5 V, up to 500 milliamps with a 9 V battery. This supplies the BASIC Stamp and sockets labeled Vdd for circuits you will build on the breadboard area.</span></span> <![CDATA[ ]]></li>
<li value="4"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Power header (X3)<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The sockets labeled (+5)Vdd connect to +5 VDC, (+)Vin connects directly to the power supplied to the board by the battery clip (+9 VDC typical), and (-)Vss connects to 0 V (ground).</span></span>
</li>
<li value="5"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Breadboard<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">:The breadboard has metal clips that run underneath the white plastic board in a horizontal fashion. Each strip connects a 5-socket group, with two groups to each row, separated by a center trench. Wires or legs of components plugged into the same 5-socket group will be electrically connected. Components with many legs (such as pushbuttons or ICs), are placed in the middle of the board so that half of the legs are on the left side and half are on the right side of the trench. <i>Note: Always disconnect power before building or modifying circuits!</i></span></span>
</li>
<li value="6"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">I/O Pin Access Header (X4)<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">:The BASIC Stamp module's 16 I/O pins, labeled 0 to 15, are connected to this header, so you can conveniently connect to your breadboard circuits. On this board, there are 220-ohm resistors placed between the header and the BASIC Stamp I/O&#160;pins to help prevent damage in case of a wiring mistake.</span></span>
</li>
<li value="7"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Reset Button<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The reset button can be used to restart your BASIC Stamp without having to cycle the power. This saves wear-and-tear on the battery clip for simple program restarts. Some advanced programming techniques use the reset button and the BASIC Stamp EEPROM as a way to toggle between different program functions.</span></span>
</li>
<li value="8"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Running Indicator LED<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This LED&#160;will light up when a BASIC Stamp program is running. It is not a power indicator LED. </span></span>
</li>
<li value="9"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">BASIC Stamp 2 <img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The components of a BASIC Stamp 2 module are built directly onto the board. It connects the BASIC Stamp to the programming connector, power, the running indicator LED, reset button, and I/O&#160;pin header.</span></span>
</li>
</ol>
<h2>BASIC Stamp Resets when Connecting USB </h2>
<p class="PlainText">When you connect your BASIC Stamp to a PC using a USB-based development board or adapter, the PC's operating system typically resets the BASIC Stamp several times as it tries to determine if a new plug-and-play device was just connected. </p>
<p class="PlainText">Each time a BASIC Stamp is reset, all program variables are cleared, and the program starts from the beginning. For tips on writing programs that have variable values that you do not want to lose when you connect your board to the PC, see the article <a href="../FAQTopics/UsbBoardResets.htm" target="" title="" alt="" class="MCXref_0">USB Resets BASIC Stamp</a>.</p>
<p><a href="IdBoard.htm" title="Return to &quot;Identify your Board&quot; page" alt="Return to &quot;Identify your Board&quot; page"><img src="../Resources/Images/Prev.png" /></a> <![CDATA[ ]]><a href="HWBusb-setup.htm" title="Go on to &quot;HomeWork Board USB - Setup&quot;" alt="Go on to &quot;HomeWork Board USB - Setup&quot;"><img src="../Resources/Images/Next.png" /></a></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,75 @@
<?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>HomeWork Board - Serial</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<p><a href="IdBoard.htm" title="Return to &quot;Identify your Board&quot; page" alt="Return to &quot;Identify your Board&quot; page"><img src="../Resources/Images/Prev.png" /></a> <![CDATA[ ]]><a href="AdapterYN_HWB.htm" title="Go on to &quot;Are you using a USB Adapter?&quot;" alt="Go on to &quot;Are you using a USB Adapter?&quot;"><img src="../Resources/Images/Next.png" /></a></p>
<h1>HomeWork Board - Serial</h1>
<ul>
<li class="Checklist" value="1">Take a look at your board to get familiar with its parts.</li>
</ul>
<p>
<img src="../Resources/Images/HWB_labels.png" />
</p>
<ol>
<li value="1"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">9V Battery Clip<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: You can use alkaline or rechargeable 9-volt batteries. Disconnect the battery to turn off power to your board.</span></span>
</li>
<li value="2"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Serial Programming Connector<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This is a female DB9 socket for programming and for two-way serial communication between the BASIC Stamp and your computer. You can connect directly to a serial port on your computer, or use a USB&#160;to Serial Adapter to connect to a USB&#160;port. </span></span>
</li>
<li value="3"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Voltage regulator<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: Supplies regulated 5 V, up to 500 milliamps with a 9 V battery. This supplies the BASIC Stamp and sockets labeled Vdd for circuits you will build on the breadboard area.</span></span>
</li>
<li value="4"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Power header (X3)<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The sockets labeled (+5)Vdd connect to +5 VDC, (+)Vin connects directly to the power supplied to the board by the battery clip (+9 VDC typical), and (-)Vss connects to 0 V (ground).</span></span>
</li>
<li value="5"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Breadboard<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">:The breadboard has metal clips that run underneath the white plastic board in a horizontal fashion. Each strip connects a 5-socket group, with two groups to each row, separated by a center trench. Wires or legs of components plugged into the same 5-socket group will be electrically connected. Components with many legs (such as pushbuttons or ICs), are placed in the middle of the board so that half of the legs are on the left side and half are on the right side of the trench. <i>Note: Always disconnect power before building or modifying circuits!</i></span></span>
</li>
<li value="6"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">I/O Pin Access Header (X4)<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">:The BASIC Stamp module's 16 I/O pins, labeled 0 to 15, are connected to this header, so you can conveniently connect to your breadboard circuits. On this board, there are 220-ohm resistors placed between the header and the BASIC Stamp I/O&#160;pins to help prevent damage in case of a wiring mistake.</span></span>
</li>
<li value="7"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Reset Button<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The reset button can be used to restart your BASIC Stamp without having to cycle the power. This saves wear-and-tear on the battery clip for simple program restarts. Some advanced programming techniques use the reset button and the BASIC Stamp EEPROM as a way to toggle between different program functions.</span></span>
</li>
<li value="8"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">Running Indicator LED<img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: This LED&#160;will light up when a BASIC Stamp program is running. It is not a power indicator LED. </span></span>
</li>
<li value="9"><span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_0" onclick="FMCExpand( this ); return false;">BASIC Stamp 2 <img style="border: none;margin-left: 5px;" src="../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/ExpandingOpen.gif' ); }" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">: The components of a BASIC Stamp 2 module are built directly onto the board. It connects the BASIC Stamp to the programming connector, power, the running indicator LED, reset button, and I/O&#160;pin header.</span></span>.</li>
</ol>
<h2>Important! Check the Revision Letter of your Serial HomeWork Board!</h2>
<p>Look for the revision letter on your HomeWork Board:</p>
<ul>
<li class="Checklist" value="1">If you have a Serial HomeWork Board - Rev C, D, or E, you don't need any extra instructions. Go ahead and click the NEXT&#160;arrow.</li>
<li class="Checklist" value="2">If you have a Serial HomeWork Board Rev B, read the <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="HWB_RevBpopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open topic in popup window" title="Open topic in popup window">HomeWork Board Rev B Special Instructions</a></span> before continuing.</li>
</ul>
<p><a href="IdBoard.htm" title="Return to &quot;Identify your Board&quot; page" alt="Return to &quot;Identify your Board&quot; page"><img src="../Resources/Images/Prev.png" /></a> <![CDATA[ ]]><a href="AdapterYN_HWB.htm" title="Go on to &quot;Are you using a USB Adapter?&quot;" alt="Go on to &quot;Are you using a USB Adapter?&quot;"><img src="../Resources/Images/Next.png" /></a></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,16 @@
<?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="2" MadCap:lastHeight="47" MadCap:lastWidth="579" MadCap:disableMasterStylesheet="true" MadCap:tocPath="" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-us" xml:lang="en-us" class="TopicPopup" MadCap:PathToHelpSystem="../../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
<head><title>HomeWork Board Rev B Special Instructions</title>
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js" type="text/javascript">
</script>
</head>
<body>
<h1>HomeWork Board Rev B Special Instructions</h1>
<h2>Vdd - Limited Current Budget</h2>
<p class="PlainText">The BASIC Stamp HomeWork Board Rev Bs voltage regulator supplies current to the embedded BASIC Stamp, certain circuits built on the breadboard and connected to I/O pins, and any devices drawing current from the Vdd sockets. The current budget for the Board of Education Rev B boards voltage regulator is 50 mA. Most devices featured in Stamps in Class texts only draw a few extra milliamps of current and will work fine when powered by the Board of Education Rev B boards Vdd Pins. However, there are a few exceptions, including servos, pumps, and heating elements. These devices should not be connected to Vdd, or it could damage the boards voltage regulator. Instead, these higher current devices should be connected to Vin. The voltage supplied to Vin should in turn be limited to a level that is compatible with the device (servo, pump, heating element).</p>
<script type="text/javascript" src="../SkinSupport/MadCapBodyEnd.js">
</script>
</body>
</html>

View File

@ -0,0 +1,90 @@
<?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>HomeWork Board with USB to Serial Adapter - Setup</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<p><a href="AdapterYN_HWB.htm" title="Go back to &quot;Using a USB to Serial Adapter?&quot;" alt="Go back to &quot;Using a USB to Serial Adapter?&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>HomeWork Board with USB to Serial Adapter - Setup</h1>
<ul style="list-style-type: circle;">
<li class="Checklist" value="1">DO NOT connect power to your board until instructed to do so!</li>
</ul>
<h2>Affixing the Rubber Feet</h2>
<p class="PlainText">Your board should come with four adhesive rubber feet:</p>
<p>
<img src="../Resources/Images/feet.png">
</img>
</p>
<ul>
<li class="Checklist" value="1">Remove each rubber foot from its adhesive, and affix it to the underside of your board near each corner. Make sure not to cover up the plated holes, you might need these holes later for mounting your board in a project box or on a robot.</li>
</ul>
<p>
<img src="../Resources/Images/HWBfeet.png" />
</p>
<h2>Making the Board Connections</h2>
<ul>
<li class="Checklist" value="1">Connect the larger "A" end of the USB cable to a USB 2.0 port on your computer.</li>
<li class="Checklist" value="2">Connect the larger "A" end of the USB cable to a USB port on your computer.</li>
</ul>
<div class="ListIndent">
<div class="ListIndent">
<div class="MCDropDown"><a class="dropDownHead_1" href="javascript:void(0);" id="MCDropDownHotSpot_4062794509_0" onclick="FMCDropDown( this ); return false;"><img style="border: none;margin-right: 2px;" src="../SkinSupport/DropDownClosed.gif" MadCap:altsrc="../SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />USB 3.0 Port Caution</a>
<div class="MCDropDownBody" id="MCDropDownBody_4062794509_0" style="display: none;">
<p class="PlainText">USB 2.0 ports are recommended for BASIC Stamp boards. On some computers, the internal USB hub will freeze when disconnecting a USB 2.0 device from a USB 3.0 port. This may cause all USB ports on the computer to become unresponsive, requiring a reboot of the computer to remedy the situation. System updates from your computer manufacturer may correct the problem.</p>
<p class="PlainText">USB 3.0 ports can sometimes be identified by a blue tab inside the socket.<br /></p>
<p class="PlainText">
<img src="../Resources/Images/USB_3_258x115.jpg" title="USB 3.0 ports have a blue tab inside." alt="USB 3.0 ports have a blue tab inside." style="padding-top: 5px;width: 258;height: 115;" />
</p>
</div>
</div>
</div>
</div>
<ul>
<li class="Checklist" value="1">Connect the smaller "Mini B" end of the USB cable to the USB connector on the USB&#160;to Serial Adapter, as shown in (1).</li>
<li class="Checklist" value="2">Connect the male DB9 connector on the USB to Serial Adapter to the female DB9 socket on the board (2). N</li>
<li class="Checklist" value="3">Connect a 9 V alkaline or rechargeable battery to the battery clip (3). (See <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="../FAQTopics/PwrSupplyPopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open &quot;Power Supplies&quot; in popup window" title="Open &quot;Power Supplies&quot; in popup window">Power Supplies</a></span> for more about batteries and battery replacer devices.)</li>
</ul>
<p>
<img src="../Resources/Images/HWBadapter_conn.png" />
</p>
<p>&#160;</p>
<p class="Tip" MadCap:autonum="Tip: &#160;"><span class="autonumber"><span class="TipSpan">Tip: &#160;</span></span>If you have a BASIC Stamp program running and want to take your board away from your computer, always disconnect and reconnect at the DB9 socket. Leave the USB&#160;to Serial Adapter connected to your computer. This will leave the virtual COM&#160;port open, allowing you to reconnect your board without the USB&#160;port resetting your BASIC Stamp. See the article <a href="../FAQTopics/UsbBoardResets.htm" target="" title="" alt="" class="MCXref_0">USB Resets BASIC Stamp</a> for more information.</p>
<p class="PlainText">You are ready to test your programming connection!</p>
<p><a href="AdapterYN_HWB.htm" title="Go back to &quot;Using a USB to Serial Adapter?&quot;" alt="Go back to &quot;Using a USB to Serial Adapter?&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,86 @@
<?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>HomeWork Board USB - Setup</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<p><a href="HWB-usb.htm" title="Go back to &quot;HomeWork Board - USB&quot;" alt="Go back to &quot;HomeWork Board - USB&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>HomeWork Board USB - Setup</h1>
<ul style="list-style-type: circle;">
<li class="Checklist" value="1">DO NOT connect power to your board until instructed to do so!</li>
</ul>
<h2>Affixing the Rubber Feet</h2>
<p class="PlainText">Your board should come with four adhesive rubber feet:</p>
<p>
<img src="../Resources/Images/feet.png" />
</p>
<ul>
<li class="Checklist" value="1">Remove each rubber foot from its adhesive, and affix it to the underside of your board. There are circles to show correct placement.</li>
</ul>
<p>
<img src="../Resources/Images/BOEfeet.png" />
</p>
<h2>Making the Board Connections</h2>
<ul>
<li class="Checklist" value="1">Connect the larger "A" end of the USB cable to a USB 2.0 port on your computer.</li>
</ul>
<div class="ListIndent">
<div class="ListIndent">
<div class="MCDropDown"><a class="dropDownHead_1" href="javascript:void(0);" id="MCDropDownHotSpot_1198264248_0" onclick="FMCDropDown( this ); return false;"><img style="border: none;margin-right: 2px;" src="../SkinSupport/DropDownClosed.gif" MadCap:altsrc="../SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />USB 3.0 Port Caution</a>
<div class="MCDropDownBody" id="MCDropDownBody_1198264248_0" style="display: none;">
<p class="PlainText">USB 2.0 ports are recommended for BASIC Stamp boards. On some computers, the internal USB hub will freeze when disconnecting a USB 2.0 device from a USB 3.0 port. This may cause all USB ports on the computer to become unresponsive, requiring a reboot of the computer to remedy the situation. System updates from your computer manufacturer may correct the problem.</p>
<p class="PlainText">USB 3.0 ports can sometimes be identified by a blue tab inside the socket.<br /></p>
<p class="PlainText">
<img src="../Resources/Images/USB_3_258x115.jpg" title="USB 3.0 ports have a blue tab inside." alt="USB 3.0 ports have a blue tab inside." style="padding-top: 5px;width: 258;height: 115;" />
</p>
</div>
</div>
</div>
</div>
<ul>
<li class="Checklist" value="1">Connect the smaller "Mini B" end of the USB cable to the USB connector on the board, as shown in (1).</li>
<li class="Checklist" value="2">Connect a 9 V alkaline or rechargeable battery to the battery clip (2). (See <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="../FAQTopics/PwrSupplyPopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open &quot;Power Supplies&quot; in popup window" title="Open &quot;Power Supplies&quot; in popup window">Power Supplies</a></span> for more about batteries and battery replacer devices.)</li>
</ul>
<p>
<img src="../Resources/Images/HWB_USB_conn.png" />
</p>
<p>&#160;</p>
<p class="PlainText">You are ready to test your programming connection!</p>
<p><a href="HWB-usb.htm" title="Go back to &quot;HomeWork Board - USB&quot;" alt="Go back to &quot;HomeWork Board - USB&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="TestComm.htm" title="Go on to &quot;Testing for Communication&quot;" alt="Go on to &quot;Testing for Communication&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,96 @@
<?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="Getting Started" 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>Identify Your Board</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="Start.htm">Getting Started</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Identify Your Board</span>
</div>
<p><a href="Start.htm" title="Go back to &quot;Getting Started with Stamps in Class&quot;" alt="Go back to &quot;Getting Started with Stamps in Class&quot;"><img src="../Resources/Images/Prev.png" /></a>
</p>
<h1>Identify Your Board</h1>
<p class="PlainText">Let's begin by identifying the type of board you have. </p>
<ul>
<li class="Checklist" value="1">Click the NEXT arrow by the type of BASIC Stamp development board you are using:</li>
</ul>
<div class="ImagePlusCaption">
<p>
<img src="../Resources/Images/BOE_Serial_small.png" class="FloatCaptionLeft" />
</p>
<p class="PictureCaptionNoNums">&#160;</p>
<h3>Board of Education - Serial</h3>
<p class="PictureCaptionNoNums"><a href="BOE-serial.htm" title="Go to &quot;Board of Education - Serial&quot; page" alt="Go to &quot;Board of Education - Serial&quot; page"><img src="../Resources/Images/Next.png" /></a>
</p>
<p class="clear">&#160;</p>
</div>
<p>&#160;</p>
<div class="ImagePlusCaption">
<p>
<img src="../Resources/Images/BOE_USB_small.png" class="FloatCaptionLeft" style="padding-left: 15px;" />
</p>
<p class="PictureCaptionNoNums">&#160;</p>
<h3>Board of Education - USB</h3>
<p class="PictureCaptionNoNums"><a href="BOE-usb.htm" title="Go to &quot;Board of Education - USB&quot; page" alt="Go to &quot;Board of Education - USB&quot; page"><img src="../Resources/Images/Next.png" /></a>
</p>
<p class="clear">&#160;</p>
</div>
<p>&#160;</p>
<div class="ImagePlusCaption">
<p>
<img src="../Resources/Images/HWB_small.png" class="FloatCaptionLeft" style="padding-left: 15px;" />
</p>
<p class="PictureCaptionNoNums">&#160;</p>
<h3>BASIC Stamp HomeWork Board - Serial</h3>
<p class="PictureCaptionNoNums"><a href="HWB.htm" title="Go to &quot;HomeWork Board - serial&quot; page" alt="Go to &quot;HomeWork Board - serial&quot; page"><img src="../Resources/Images/Next.png" /></a>
</p>
<p class="clear">&#160;</p>
</div>
<p>&#160;</p>
<div class="ImagePlusCaption">
<p>
<img src="../Resources/Images/HWB_USB_small.png" class="FloatCaptionLeft" style="padding-left: 15px;" />
</p>
<p class="PictureCaptionNoNums">&#160;</p>
<h3>BASIC Stamp HomeWork Board - USB</h3>
<p class="PictureCaptionNoNums"><a href="HWB-usb.htm" title="Go to &quot;HomeWork Board - USB&quot; page" alt="Go to &quot;HomeWork Board - USB&quot; page"><img src="../Resources/Images/Next.png" /></a>
</p>
<p class="clear">&#160;</p>
</div>
<p>&#160;</p>
<p><a href="Start.htm" title="Go back to &quot;Getting Started with Stamps in Class&quot;" alt="Go back to &quot;Getting Started with Stamps in Class&quot;"><img src="../Resources/Images/Prev.png" /></a>
</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,86 @@
<?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="Getting Started" 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>Introducing ASCII Code</title>
<link href="../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
<script src="../SkinSupport/MadCapAll.js">
</script>
</head>
<body>
<div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">You are here: </span><a class="MCBreadcrumbsLink" href="Start.htm">Getting Started</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Introducing ASCII Code</span>
</div>
<p><a href="LookUpAnswers.htm" title="Go back to &quot;Looking Up Answers&quot;" alt="Go back to &quot;Looking Up Answers&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="WhenDone.htm" title="Go on to &quot;When You're Done&quot;" alt="Go on to &quot;When You're Done&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>Introducing ASCII Code</h1>
<p class="PlainText">In the First Program activity, you used the DEC formatter with the <span class="keyword_in_text">DEBUG </span>command to display a decimal number in the Debug Terminal.&#160; But what happens if you dont use the DEC formatter with a number?&#160; If you use the <span class="keyword_in_text">DEBUG </span>command followed by a number with no formatter, the BASIC Stamp will read that number as an ASCII code.</p>
<h2>Programming with ASCII Code</h2>
<p class="PlainText">ASCII is short for American Standard Code for Information Interchange.&#160; Most microcontrollers and PC computers use this code to assign a number to each keyboard function.&#160; Some numbers correspond to keyboard actions, such as cursor up, cursor down, space, and delete.&#160; Other numbers correspond to printed characters and symbols.&#160; The numbers 32 through 126 correspond to those characters and symbols that the BASIC Stamp can display in the Debug Terminal. The following program will use ACSII code to display the words&#160; “BASIC Stamp 2” in the Debug Terminal.</p>
<h3>Example Program ASCIIName.bs2</h3>
<ul>
<li class="Checklist" value="1">Enter and run ASCIIName.bs2.</li>
</ul>
<p class="Tip" MadCap:autonum="Tip: &#160;"><span class="autonumber"><span class="TipSpan">Tip: &#160;</span></span>Remember to use the toolbar icons to place Compiler Directives into your programs!<br />'{$STAMP BS2} - Use the diagonal green electronic chip icon.<br />'{$PBASIC 2.5} - Use the gear icon labeled 2.5. </p><pre xml:space="preserve" class="SICcode">' Stamps in Class - ASCIIName.bs2
' Use ASCII code in a DEBUG command to display the words BASIC Stamp 2.
&#160;
'{$STAMP BS2}
'{$PBASIC 2.5}&#160;
PAUSE 1000
DEBUG 66,65,83,73,67,32,83,116,97,109,112,32,50
&#160;
END</pre>
<h3>How ASCIIName.bs2 Works
</h3>
<p class="PlainText">Each number in the <span class="keyword_in_text">DEBUG</span> command corresponds to one ASCII code symbol that appeared in the Debug Terminal.
</p><pre class="snippet">DEBUG 66,65,83,73,67,32,83,116,97,109,112,32,50</pre>
<p class="PlainText">66 is the ASCII code for capital “B”, 65 is the code for capital “A” and so on.&#160; 32 is the code for a space between characters. Notice that each code number was separated with a comma.&#160; The commas allow the one instance of <span class="keyword_in_text">DEBUG </span>to transmit each symbol as a separate value.&#160; This is much easier to type than 12 separate <span class="keyword_in_text">DEBUG </span>commands.&#160; </p>
<h3>Your Turn Exploring ASCII Code</h3>
<ul>
<li class="Checklist" value="1">Save ASCIIName.bs2 as ASCIIRandom.bs2</li>
<li class="Checklist" value="2">Pick 12 random numbers between 32 and 126.</li>
<li class="Checklist" value="3">Replace the ASCII code numbers in the program with the numbers you chose.</li>
<li class="Checklist" value="4">Run your modified program to see what you get!</li>
</ul>
<p>&#160;</p>
<p>This Help file has an <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="AsciiPopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open the ASCII Chart in a popup window" title="Open the ASCII Chart in a popup window">ASCII Chart</a></span> <![CDATA[ ]]><MadCap:conditionalText MadCap:conditions="BSEconditions.BSEWebHelp (Primary)-INCLUDE,BSEconditions.BSHweb-SIC-EXCLUDE">(located in PBASIC&#160;Language Reference &gt; ASCII&#160;Chart)</MadCap:conditionalText> with the numbers and their corresponding symbols. You can look up the corresponding code numbers to spell your own name.</p>
<ul>
<li class="Checklist" value="1">Save ASCIIRandom.bs2 as YourASCIIName.bs2</li>
<li class="Checklist" value="2">Open up the <span class="MCPopup"><a href="javascript:void(0);" MadCap:src="AsciiPopup.htm" onclick="FMCPopup( event, this ); return false;" class="MCXref_0" alt="Open the ASCII chart in a popup window" title="Open the ASCII chart in a popup window">ASCII Chart</a></span>.</li>
<li class="Checklist" value="3">Using the chart as a reference, modify the program to spell your own name.</li>
<li class="Checklist" value="4">Run the program to see if you spelled your name correctly.</li>
<li class="Checklist" value="5">If you did, good job, and save your program!</li>
</ul>
<p><a href="LookUpAnswers.htm" title="Go back to &quot;Looking Up Answers&quot;" alt="Go back to &quot;Looking Up Answers&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="WhenDone.htm" title="Go on to &quot;When You're Done&quot;" alt="Go on to &quot;When You're Done&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,106 @@
<?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="Getting Started" 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>Looking Up Answers</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="Start.htm">Getting Started</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Looking Up Answers</span>
</div>
<p><a href="First Program.htm" title="Go back to &quot;First Program&quot;" alt="Go back to &quot;First Program&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="IntroAscii.htm" title="Go on to &quot;Introducing ASCII Code&quot;" alt="Go on to &quot;Introducing ASCII Code&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>Looking Up Answers</h1>
<p>The activities you just finished introduced two PBASIC commands: <span class="keyword_in_text">DEBUG</span> and <span class="keyword_in_text">END</span>.&#160; You can find out more about these commands and how they are used by looking them up. You can look up commands here in the <span class="ContactInfoProjectName">BASIC Stamp Help</span> or in the BASIC Stamp Manual.&#160; </p>
<div MadCap:conditions="BSEconditions.BSEWebHelp (Primary)-INCLUDE,BSEconditions.BSHweb-SIC-EXCLUDE">
<h2>Bookmark This Page First!</h2>
<p>First, let's add this page to your "Favorites" list so you can find your way back here easily when you're done exploring.</p>
<p>&#160;</p>
<ul style="list-style-type: circle;">
<li class="Checklist" value="1">Click on the Favorites icon on the <span class="ContactInfoProjectName">BASIC Stamp Help</span> toolbar.</li>
</ul>
<p>
<img src="../Resources/Images/FavIcon.png" />
</p>
<p class="PlainText">Later, when you want to return to this page, you can click on the Favorites menu in the lower left of the window:</p>
<p>
<img src="../Resources/Images/FaveMenu.png" />
</p>
<p class="PlainText">...and then click on "Looking Up Answers" in the Favorite Topics list to return to this page.</p>
<p>
<img src="../Resources/Images/FavesLists.png" />
</p>
<h2>Exploring the Help Resources</h2>
<p class="PlainText"> There are many ways to find resources in the Help. If you want to know the syntax and usage details of a particular PBASIC command, you can click on "PBASIC Language Reference" in the Table of Contents to see the full list. </p>
<p>
<img src="../Resources/Images/AlphaRef.png" />
</p>
<p class="PlainText">Next to each command is a set of icons representing which BASIC Stamp models support that command. All commands available to the BASIC Stamp 2 have this icon: <img src="../graphics/bs2only_inline.gif" />. The syntax showing how to use the command is given to the right of the icons. </p>
<p>
<img src="../Resources/Images/DEBUGlink.png" />
</p>
<p class="PlainText">Clicking on a command will take you to a page full of information, and a link to example programs. Here is the <span class="keyword_in_text">DEBUG</span> command's page:</p>
<p>
<img src="../Resources/Images/DebugPage.png" />
</p>
<p class="PlainText">You can also learn more about a command using the Search menu. If you enter a term in the field and hit the Search button, you will see a list of topics where the search term appears:</p>
<p>
<img src="../Resources/Images/SearchMenu.png" />
<img src="../Resources/Images/RedArrow.png" />&#160;<img src="../Resources/Images/SearchDebug.png" /></p>
<p class="PlainText">Clicking an item in the list will take you that page, and each instance of the search term on that page will be highlighted: </p>
<p>
<img src="../Resources/Images/DebugExSearch.png" />
</p>
<p class="PlainText">You can save the search string by clicking the magnifying glass icon, and then the search string will show up in your Favorites list:</p>
<p>
<img src="../Resources/Images/SaveSearch.png" />
<img src="../Resources/Images/RedArrow.png" />
<img src="../Resources/Images/FaveSearches.png" />
</p>
<h2>Additional&#160;Resources</h2>
<p class="PlainText">Some helpful books are included with the BASIC Stamp Editor software, as PDF files. You can find the Resources page link under Welcome in the Table of Contents. The Resources page contains links that will open PDF files in your computer's PDF viewer, if you have one. </p>
<p>
<img src="../Resources/Images/ResourcesPDF.png" />
</p>
</div>
<h2>Your Turn</h2>
<ul>
<li class="Checklist" MadCap:conditions="BSEconditions.BSEWebHelp (Primary)-INCLUDE,BSEconditions.BSHweb-SIC-EXCLUDE" value="1">Use the Help file's features to research the <span class="keyword_in_text">DEBUG </span>and <span class="keyword_in_text">END </span>commands.</li>
<li class="Checklist" MadCap:conditions="BSEconditions.BSEWebHelp (Primary)-INCLUDE,BSEconditions.BSHweb-SIC-EXCLUDE" value="2">If you have a PDF viewer, research <span class="keyword_in_text">DEBUG </span>and <span class="keyword_in_text">END </span>in the BASIC Stamp Manual file.</li>
<li class="Checklist" value="3">Now go on to the next activity!</li>
</ul>
<p><a href="First Program.htm" title="Go back to &quot;First Program&quot;" alt="Go back to &quot;First Program&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="IntroAscii.htm" title="Go on to &quot;Introducing ASCII Code&quot;" alt="Go on to &quot;Introducing ASCII Code&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,60 @@
<?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>Getting Started with Stamps in Class</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">Getting Started with Stamps in Class</span>
</div>
<h1>Getting Started with Stamps in Class</h1>
<p class="PlainText">This is the place to begin if you are setting up your BASIC Stamp 2 and Board of Education or BASIC&#160;Stamp HomeWork Board to prepare for the activities in any of our Stamps in Class tutorials, including <![CDATA[ ]]><i>What's a Microcontroller?</i> <![CDATA[ ]]>and <![CDATA[ ]]><i>Robotics with the Boe-Bot</i>. </p>
<p class="PlainText">The activities in this section of the Help file will guide you through the following tasks:</p>
<ul>
<li value="1">Identify what BASIC Stamp development board you are using.</li>
<li value="2">Connect your BASIC Stamp development board to your computer.</li>
<li value="3">Test the programming connection.</li>
<li value="4">Write and test your first PBASIC program for your BASIC Stamp.</li>
<li value="5">Write a PBASIC program that uses ASCII code.</li>
<li value="6">Turn off the power to your BASIC&#160;Stamp development board when you are done.</li>
</ul>
<p class="PlainText">You will navigate from one task to the next using the Next arrows. If you want to go back a step, use the Previous arrows. On each page, follow the instructions indicated by red checkmarks:</p>
<ul>
<li class="Checklist" value="1">Click the NEXT arrow to begin!</li>
</ul>
<p><a href="IdBoard.htm" title="Go to &quot;Identify your Board&quot;" alt="Go to &quot;Identify your Board&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,105 @@
<?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="Getting Started" 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>Testing the Connection</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="Start.htm">Getting Started</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Testing the Connection</span>
</div>
<p><a href="IdBoard.htm" title="Go back to &quot;Identify Your Board&quot;" alt="Go back to &quot;Identify Your Board&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="First Program.htm" title="Go on to &quot;First Program&quot;" alt="Go on to &quot;First Program&quot;"><img src="../Resources/Images/Next.png" /></a>
</p>
<h1>Testing the Connection</h1>
<p class="PlainText">At this point, you should have:</p>
<ul>
<li value="1"> your BASIC Stamp on your development board (either built-in or inserted into its socket), </li>
<li value="2">your development board connected to your computer,</li>
<li value="3">power connected to your development board (and turned on if there is a switch).</li>
</ul>
<ul>
<li class="Checklist" value="1">If not, go back to "Identify your Board" with the PREVIOUS arrow, make those connections, then return here.</li>
</ul>
<h2>The Run/Identify Test</h2>
<ul>
<li class="Checklist" value="1">To make sure your BASIC Stamp module can communicate with your computer, click the Run menu, then select Identify.</li>
</ul>
<p>
<img src="../Resources/Images/RunID.png" />
</p>
<ul>
<li class="Checklist" value="1">Or, you can use the ID icon on the toolbar:</li>
</ul>
<p>
<img src="../Resources/Images/IDbutton.png" />
</p>
<p class="PlainText">An identification window will appear similar to the one shown here. This example shows that a BASIC Stamp 2 has been detected on COM5.</p>
<p>
<img src="../Resources/Images/BS2onCOM5.png" />
</p>
<ul>
<li class="Checklist" value="1">Check the Identification window to make sure your BASIC Stamp module has been detected on one of the COM&#160;ports. If it has been detected, then you are ready to program your BASIC Stamp. </li>
</ul>
<ul>
<li class="Checklist" value="1">Click the NEXT arrow at the top or bottom of the page.</li>
</ul>
<h2>What if it didn't work? </h2>
<p>If the Run -&gt; Identify test DID&#160;NOT locate the BASIC Stamp on any COM port, you will need to go to the Troubleshooting section. </p>
<div MadCap:conditions="BSEconditions.BSEWebHelp (Primary)-INCLUDE,BSEconditions.BSHweb-SIC-EXCLUDE">
<h2>Bookmark This Page First!</h2>
<p>First, let's add this page to your "Favorites" list so you can find your way back here easily when you're done exploring.</p>
<p>&#160;</p>
<ul style="list-style-type: circle;">
<li class="Checklist" value="1">Click on the Favorites icon on the <span class="ContactInfoProjectName">BASIC Stamp Help</span> toolbar.</li>
</ul>
<p>
<img src="../Resources/Images/FavIcon.png" />
</p>
<p class="PlainText">Later, when you want to return to this page, you can click on the Favorites menu in the lower left of the window:</p>
<p>
<img src="../Resources/Images/FaveMenu.png" />
</p>
<p class="PlainText">...and then click on "Testing the Connection" in the Favorite Topics list to return to this page.</p>
<p>
<img src="../Resources/Images/FaveTest.png" />
</p>
<ul style="list-style-type: circle;">
<li class="Checklist" value="1">Now, click on this <a href="../FAQTopics/TFAQ.htm" target="" title="" alt="" class="MCXref_0">Connection Troubleshooting</a> link.</li>
</ul>
</div>
<p>&#160;</p>
<p><a href="IdBoard.htm" title="Go back to &quot;Identify Your Board&quot;" alt="Go back to &quot;Identify Your Board&quot;"><img src="../Resources/Images/Prev.png" /></a><a href="First Program.htm" title="Go on to &quot;First Program&quot;" alt="Go on to &quot;First Program&quot;"><img src="../Resources/Images/Next.png" /></a>
</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,73 @@
<?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="Getting Started" 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>When You Are Done</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="Start.htm">Getting Started</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">When You re Done</span>
</div>
<p><a href="IntroAscii.htm" title="Go back to &quot;Introducing ASCII Code&quot;" alt="Go back to &quot;Introducing ASCII Code&quot;"><img src="../Resources/Images/Prev.png" /></a>
</p>
<h1>When You Are Done</h1>
<p class="PlainText">Its important to disconnect the power from your BASIC Stamp and Board of Education (or HomeWork Board) whenever you leave it unattended or when you build or modify circuits on its breadboard.&#160; First, your batteries will last longer if the system is not drawing power when youre not using it.&#160; Second, soon you will build circuits on the Board of Education or HomeWork Board prototyping area.&#160; </p>
<p class="Caution" MadCap:autonum="Caution! &#160;"><span class="autonumber"><span class="TipSpan">Caution! &#160;</span></span>Circuit prototypes should never be left unattended with a battery or power supply connected. Always disconnect the power from your Board of Education or HomeWork Board before you walk away, even if you only plan on leaving it alone for a minute or two. </p>
<h2>Disconnecting Power</h2>
<h3>For the Board of Education</h3>
<p class="PlainText">With the Board of Education - Serial (Rev C), or Board of Education USB, disconnecting power is easy. Just move the 3-position switch to position-0 by pushing it to the left as shown below. (If you have an older Board of Education- Serial which does not have a 3-position switch, unplug the battery or power supply plug.)</p>
<p>&#160;</p>
<p>
<img src="../Resources/Images/UnplugBOE.png" />
</p>
<p>
<img src="../Resources/Images/Switch0.png" />
</p>
<p class="Caution" MadCap:autonum="Caution! &#160;"><span class="autonumber"><span class="TipSpan">Caution! &#160;</span></span>Do not remove the BASIC Stamp module from its socket, unless it needs to be replaced with another module!&#160;&#160;&#160; Every time the BASIC Stamp is removed and re-inserted into the socket, you risk damaging it.&#160; You do not need to remove it for storage.</p>
<h3>For the HomeWork Board</h3>
<p class="PlainText">Disconnecting the BASIC Stamp HomeWork Boards power is easy too.&#160; If you are using the BASIC Stamp HomeWork Board, disconnect the battery as shown below.</p>
<p>&#160;</p>
<p>
<img src="../Resources/Images/UnplugHWB.png" />
</p>
<p>&#160;</p>
<h2>Your Turn</h2>
<ul>
<li class="Checklist" value="1">Disconnect the power to your board now.</li>
<li class="Checklist" value="2">If you are following the directions in a Stamps in Class text, you are ready to return to the text now.</li>
</ul>
<p><a href="IntroAscii.htm" title="Go back to &quot;Introducing ASCII Code&quot;" alt="Go back to &quot;Introducing ASCII Code&quot;"><img src="../Resources/Images/Prev.png" /></a>
</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>