<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="en">
<title>atomicsalad</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/" />
<modified>2010-02-19T11:05:54Z</modified>
<tagline>technology : art : life</tagline>
<id>tag:WWW.atomicsalad.com,2010:/1</id>
<generator url="http://www.movabletype.org/" version="4.32-en">Movable Type</generator>
<copyright>Copyright (c) 2010, jabber</copyright>

<entry>
<title>Scroll Relief for Apple&apos;s Magic Mouse</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2010/02/19/scroll_relief_for_apples_magic_mouse.php" />
<modified>2010-02-19T11:05:54Z</modified>
<issued>2010-02-19T10:20:12Z</issued>
<id>tag:WWW.atomicsalad.com,2010:/1.65</id>
<created>2010-02-19T10:20:12Z</created>
<summary type="text/plain">Ever since I got Apple&apos;s wireless magic mouse, I&apos;ve been conflicted about the touch-sensitive scrolling. It really works great, but horizontal scrolling can be a problem. In Design applications I use (e.g. Adobe Illustrator), the canvas twitches everytime I click....</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Design</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[<p>Ever since I got Apple's wireless magic mouse, I've been conflicted about the touch-sensitive scrolling. It really works great, but horizontal scrolling can be a problem. In Design applications I use (e.g. Adobe Illustrator), the canvas twitches everytime I click. I'd turn scrolling off in mouse preferences, but that affects both horizontal and vertical scrolling (I *like* vertical scrolling.) Thus, the conflict.</p>

<p>Tonight, I was trolling the internet and finally found the solution. There's a post <a href="http://discussions.apple.com/thread.jspa?threadID=2292349&tstart=0" target="_blank">here</a> that explains how to use a Terminal window to disable horizontal scrolling only. Turns out it works great!</p>

<p>For those less command-line comfortable, I wrote a small Applescript application that does the same thing. All you do is run the application; click the preferred setting; then restart your computer (or, turn your mouse off/on) and, viola!,  settings changed.</p>

<p>Maybe there will be an official solution to twitchy scrolling, but in the meantime this workaround has made me a happy camper!</p>

<p><a href="http://WWW.atomicsalad.com/other_files/MagicMouse%20Scroll%20Utility.dmg">Click here</a> to download the application for OS X. It's in a .dmg, so when you double-click it, it will open to show the application within. Drag the app to your desktop and run it.</p>

<p> Note: not to damper any enthusiasm, but I have to say the application works fine for me, but, of course, is supplied as-is without any warranty of any kind.</p>]]>

</content>
</entry>

<entry>
<title>Tutorial: Assembling the SparkFun MegaShield</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2010/02/07/tutorial_assembling_the_sparkfun_megashield.php" />
<modified>2010-02-08T17:05:06Z</modified>
<issued>2010-02-07T18:15:00Z</issued>
<id>tag:WWW.atomicsalad.com,2010:/1.64</id>
<created>2010-02-07T18:15:00Z</created>
<summary type="text/plain">The Arduino is a popular, in-expensive, open-source microcontroller board and software development enviroment. Arduino boards come in a variety of styles and are available from numerous suppliers including SparkFun Electronics. One recent version of the Arduino is the ArduinoMega. The...</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Arduino</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_28-148.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_28-148.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_28-thumb-320x240-148.jpg" width="320" height="240" alt="t-megaShield_28.jpg" class="mt-image-none" style="" /></a></p><p>The <a href="http://www.arduino.cc/" target="_blank">Arduino</a>  is a popular, in-expensive, open-source microcontroller board and software development enviroment. Arduino boards come in a variety of styles and are available from numerous suppliers including <a href="http://www.sparkfun.com" title="SparkFun Electronics" target="_blank">SparkFun Electronics</a><a href="http://www.sparkfun.com" target="_blank"></a>. One recent version of the Arduino is the <a href="http://arduino.cc/en/Main/ArduinoBoardMega" target="_blank">ArduinoMega</a>. The "Mega", just as it's name suggests, is an Arduino, supersized. More digital I/O pins. More PWM outputs. More Analog inputs. and 4 UARTS (hardware serial ports). And, if that wasn't enough, more memory.</p>
<p>Despite the Mega's larger size, it actually still fits Shields designed for the smaller <a href="http://arduino.cc/en/Main/ArduinoBoardDiecimila" target="_blank">Diecimila</a> and <a href="http://arduino.cc/en/Main/ArduinoBoardDuemilanove" target="_blank">Duemilanove</a> Arduino board. However, if you've got the expanded Mega, why limit yourself to a standard shield? SparkFun sells a <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9346" target="_blank">MegaShield</a> that's deisgned specifically for the Mega which provides access to all of the Mega's pins and makes for a handy prototyping platform (SparkFun also sells the <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9152" target="_blank">Arduino Mega</a> if you need one). Unlike the standard ProtoShield, however, it is bare-bones. It includes a dedicated reset switch and power LED, and only a single LED hard-wired to digital pin #13 to use in experiments. But, that also makes for a board that's easier to assemble and more flexible. Even though assembling the MegaShield is pretty straight forward, there are a few things that might not be totally obvious, so here's a short tutorial to help you through the process.</p>]]>
<![CDATA[<h2>First Stage: Planning</h2><p>Here's the kit looks as it comes from SparkFun:</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_01-121.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_01-121.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_01-thumb-320x240-121.jpg" width="320" height="240" alt="t-megaShield_01.JPG" class="mt-image-none" /></a></p><p>And, here's the exploded, annotated version (click on a picture to see it big in a popup):</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_02-122.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_02-122.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_02-thumb-320x240-122.jpg" width="320" height="240" alt="t-megaShield_02.JPG" class="mt-image-none" /></a></p><p>Included in the kit are:</p><ul><li type="disc">(1) Printed Circuit Board (PCB)</li><li type="disc">(1) momentary switch</li><li type="disc">(2) LEDs (one green, one red)</li><li type="disc">(2) 330 ohm resitors (orange, orange, brown)</li><li type="disc">(1) 10k ohm resistor (brown, black, orange)</li><li type="disc">(11) 8-pin stacking headers</li></ul><p>Make sure you can identify all the parts.</p><p>In addition to the standard parts, if you want to use the MegaShield for solderless breadboarding, you can add a couple of mini-breadboards (there are several colors available from SparkFun,&nbsp;<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8803" target="_blank">here</a>). Two of the small breadboard end-to-end fit nicely. Also, handy for breadboarding are some jumper wires. I'm writing an&nbsp;<a href="http://www.instructable.com" target="_blank">instructable</a>&nbsp;about how to make your own quality jumper wires, but you can also purchase them from SparkFun, just search on jumper wire.</p><p>I'm assuming you can solder. If that's not a valid assumption, or if you want a refresher, check out the short instructional videos on the&nbsp;<a href="http://radiojove.gsfc.nasa.gov/telescope/soldering.htm" target="_blank">NASA radiojove project site</a>. There are also numerous other soldering tutorials around if you search. You should also have basic tools like some clippers that allow you to clip leads close to the board, and some small needle-nosed pliers. Also, not essential, but helpful, is some kind of vise to hold the board while you work on it.</p><p>Before we get started, I recommend skimming through all the steps first, just so you get the big picture.</p><h2>Second Stage: Preparation</h2><p>OK. Now that you've got the lay of the land, let's go.</p><p>There are a few preparations you can make that will expedite the assembly process:</p><p>First, you can identify the resistors and bend the leds for inserting into the board. You can use your fingers (I usually do), or pliers if you want to be precise.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_03-123.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_03-123.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_03-thumb-320x240-123.jpg" width="320" height="240" alt="t-megaShield_03.jpg" class="mt-image-none" /></a></p><p>Next, you're going to need to modify a couple of the stacking headers. SparkFun supplies 11 8-pin headers. Turns out one of the blocks of holes (closest to the switch) is only 6-pins long. Also, At the end of the board there is a 36-pin block(2x18). For that, you have to make 2 2-pin sections to fit the additional holes when you use the 8-pin headers for the others (2x8 + 2 = 18).</p><p>The following picture shows cutting an 8-pin header down to size. Note that when you break apart a female header, you lose a pin in the process. This can make cutting in the right place a little counter-intuitive. For example, if you think you need to cut off two pins from the 8-pin header to make 6 pins, you might be tempted to put the cutter next to the two pins and clip. Unfortunately, this will remove 3 pins (2 + the one destroyed in cutting), leaving you with a 5-pin header -- doh! SO, make sure you count the number of pins you&nbsp;<u>want</u>&nbsp;and cut the at the pin next to that.</p><p>Ok. We need to make two 2-pin sections. Take one of the headers and snip off two pins from one end (see the picture). Then, snip off a second 2-pin section from the other end. This will result in sections with one finished end and one end you may have to neaten-up with your clippers and a file or sandpaper (see the pictures below)</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_04-124.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_04-124.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_04-thumb-320x240-124.jpg" width="320" height="240" alt="t-megaShield_04.jpg" class="mt-image-none" /></a></p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_05-125.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_05-125.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_05-thumb-320x240-125.jpg" width="320" height="240" alt="t-megaShield_05.jpg" class="mt-image-none" /></a></p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_06-126.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_06-126.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_06-thumb-320x240-126.jpg" width="320" height="240" alt="t-megaShield_06.jpg" class="mt-image-none" /></a></p><p>Next, we need to make a 6-pin section from another 8-pin header. Count out 6 pins and clip at the location next to the 6th pin leaving 6 pins intact (see picture). Check your count at least three times before clipping! Clean up the clipped end as before.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_07-127.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_07-127.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_07-thumb-320x240-127.jpg" width="320" height="240" alt="t-megaShield_07.jpg" class="mt-image-none" /></a></p><p>Finally, the kit comes with two LEDs, one green and one red. The red one is ostensibly for the power LED. The green LED is for status. However, it turns out the LEDs are clear, so it's a challenge to tell them apart without lighting them. There are an infinite number of ways to light an LED, but if you have your MegaArduino around, you can load up the blink sketch and insert an LED into the D13/Gnd connectors to do the trick. LEDs won't work unless they're inserted correctly, so make sure that the short lead goes to GND and the long lead goes into the D13 connector. Once you've discovered which LED is which, mark them with tape or something so you remember. Note: if you get the LEDs in the wrong place (i.e. green for the power LED), no worries. The board will work just fine, you'll just end up a "special" one that has the colors reversed.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_08-128.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_08-128.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_08-thumb-320x240-128.jpg" width="320" height="240" alt="t-megaShield_08.jpg" class="mt-image-none" /></a></p><p>OK. Now that you've identified the LEDs and prepared the modified headers, assembly is really straight forward.</p><h2>Third Stage: Assembly</h2><p>Assembly involves putting components on the board and soldering them. The parts for the ProtoShield are inserted from the stenciled side of the board and soldered on the opposite side. It's generally best to start with the shorter parts close to the board and work towards the taller parts. So, the first parts to go in are the resistors.</p><h3>Resistors</h3><p>There are two 330 ohm resistors and a 10k ohm resistor. Locate the spots for them on the board. Next, identify the 10k resistor --the color rings are brown, black, orange -- or, another way to identify it is that it's the one that's different from the others and insert the leads into the correct holes. It doesn't matter which direction you put it in, resistors work fine no matter what orientation you use. Repeat with the 330 ohm resistors.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_09-129.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_09-129.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_09-thumb-320x240-129.jpg" width="320" height="240" alt="t-megaShield_09.jpg" class="mt-image-none" /></a></p><p>Next, turn the board over and spread the leads while you're pressing on the resistors from the other side to hold them in place.&nbsp;Finally, solder all the leads. Turn the board over and check that the resistors are still laying flat on the surface of the board. If not, you can carefully reheat the offending lead while you press and hold the resistor while the solder cools. Make sure not to do that with your bare finger, however, or you'll definitely feel the heat.</p><p><img src="http://www.atomicsalad.com/assets_c/2010/02/t-megaShield_10-thumb-320x240-130.jpg" width="320" height="240" alt="t-megaShield_10.jpg" class="mt-image-none" /></p><p>Now, clip the leads close to the board with flat sided wire clippers.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_11-131.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_11-131.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_11-thumb-320x240-131.jpg" width="320" height="240" alt="t-megaShield_11.jpg" class="mt-image-none" /></a></p><h3>Switch</h3><p>The next component to add is the switch. The orientation doesn't matter as long as it fits properly in the associated holes. It should clip solidly in place (press on it until it's flush with the board). Turn the board over and solder and clip the four leads.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_12-132.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_12-132.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_12-thumb-320x240-132.jpg" width="320" height="240" alt="t-megaShield_12.jpg" class="mt-image-none" /></a></p><h3>LEDs</h3><p>Next, insert the LEDs. The LEDs are different than the previous components in that direction&nbsp;<b>does</b>&nbsp;matter. The LEDs have one shorter lead and one longer one. Also, if you look at the base of the LED lense, you'll notice that one edge is flat. This should be the edge adjacent to the shorter lead and is called the cathode (the other lead is referred to as the anode). The symbol silkscreened on the PCB shows what orientation to use for the LED. Make sure the flat side of the LED (i.e. the shorter lead) matches the flat side on the board symbol. Note that the two LEDs here are mounted so the flat edges are adjacent to each other.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_13-133.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_13-133.html','popup','width=1155,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_13-thumb-320x212-133.jpg" width="320" height="212" alt="t-megaShield_13.jpg" class="mt-image-none" /></a></p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_14-134.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_14-134.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_14-thumb-320x240-134.jpg" width="320" height="240" alt="t-megaShield_14.jpg" class="mt-image-none" /></a></p><p>Let's start with the green status LED.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_15-135.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_15-135.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_15-thumb-320x240-135.jpg" width="320" height="240" alt="t-megaShield_15.jpg" class="mt-image-none" /></a></p><p>Insert the green LED in the location labelled 'STAT". Again, make sure the short lead and straight edge line up with the silkscreen. To make sure the LED sits firmly against the board (more for aesthetics than performance), I'll often use a bit of tape to hold the LED in place while I solder. After placing the LED, turn the board and solder one lead. Then, while you're gently pressing the LED from the other side,&nbsp;<b>reheat</b>&nbsp;the connection. The LED may shift a little. This will make sure the LED is sitting squarely on the board. Make sure you reheat gently and quickly. Excess heat can damage the LED. After reheating the first connection, solder the remaining lead and clip the leads as before.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_16-136.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_16-136.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_16-thumb-320x240-136.jpg" width="320" height="240" alt="t-megaShield_16.jpg" class="mt-image-none" /></a></p><p>Repeat with the red power LED.</p><h3>Stackable Headers</h3><p>Now, we're down to installing the headers -- unfortunately, they require most of the soldering.</p><p>Insert the headers along the side (see picture). They'll wobble around a bit and you can secure them with tape if you want, or just hold them while you turn the board over and place it on a flat surface.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_17-137.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_17-137.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_17-thumb-320x240-137.jpg" width="320" height="240" alt="t-megaShield_17.jpg" class="mt-image-none" /></a></p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_18-138.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_18-138.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_18-thumb-320x240-138.jpg" width="320" height="240" alt="t-megaShield_18.jpg" class="mt-image-none" /></a></p><p>Now, there are many ways to approach this, I'm sure, but the way I decided to do it was to start by soldering just a single lead from each header (see picture). Do not solder the intervening pins.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_19-139.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_19-139.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_19-thumb-320x240-139.jpg" width="320" height="240" alt="t-megaShield_19.jpg" class="mt-image-none" /></a></p><p>Now, reheat each connection and press the header gently from the other side to make sure the header is properly seated and aligned. Repeat this procedure with the second header and so on. When you're done, turn the board over to make sure the headers are aligned and even. If not, reheat and reposition until they are correct.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_20-140.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_20-140.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_20-thumb-320x240-140.jpg" width="320" height="240" alt="t-megaShield_20.jpg" class="mt-image-none" /></a></p><p>Once the headers are aligned, carefully solder the remaining connections.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_21-141.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_21-141.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_21-thumb-320x240-141.jpg" width="320" height="240" alt="t-megaShield_21.jpg" class="mt-image-none" /></a></p><p>Once all the side headers are installed, its time to tackle the 36-pin connector at the end of the board. Look at the photo to see the layout I used.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_22-142.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_22-142.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_22-thumb-320x240-142.jpg" width="320" height="240" alt="t-megaShield_22.jpg" class="mt-image-none" /></a></p><p>An alternate layout that might make the end pins set a little better is to push the 8-pin headers to one side and use the 2-pin headers on the same end, one for each row with the finished end towards the other headers. The layout I chose reinforces the fact that one end of the header block connects to 5V and the other to GND. But, it's your choice.</p><p>As before, secure the headers with tape, if necessary. Then, turn the board over and solder one pin from each connector. Actually, in the picture, I soldered on pin at each end of the connector to give them a little additional stability as I positioned them while reheating later.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_23-143.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_23-143.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_23-thumb-320x240-143.jpg" width="320" height="240" alt="t-megaShield_23.jpg" class="mt-image-none" /></a></p><p>Reheat and align the headers, then finish soldering as before.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_24-144.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_24-144.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_24-thumb-320x240-144.jpg" width="320" height="240" alt="t-megaShield_24.jpg" class="mt-image-none" /></a></p><p>One thing that be a bit of a challenge if you use the layout in the photos is that the end 2-pin headers tend to flare out a little. I was able to hold them together while I soldered their pins which helped straighten them, but you could also use a small drop of glue to help hold them as well. If you do use glue, make sure not to get any inside the connector.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_25-145.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_25-145.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_25-thumb-320x240-145.jpg" width="320" height="240" alt="t-megaShield_25.jpg" class="mt-image-none" /></a></p><h3>Finishing</h3><p>If you've gotten this far, your board should be complete. Before you plug the ProtoShield board into the Arduino, you might want to put a small piece of tape to protect the underside of the MegaShield from the casing on the USB port on the ArduinoMega. This will only really be an issue if you try to put components in that part of the board.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_26-146.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_26-146.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_26-thumb-320x240-146.jpg" width="320" height="240" alt="t-megaShield_26.jpg" class="mt-image-none" /></a></p><h2>Using the ProtoShield</h2><p>OK, now that you've finished the ProtoShield, it's time to carefully mate it with the ArduinoMega. The operative word here is "carefully". The stackable header pins are a little fragile so you should take care that they are aligned with their matching sockets before you apply any pressure. I usually start with the 36-pin connector, and once that's aligned work on the others. When everything is lined up, apply gentle, but determined pressure until the board is firmly seated.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_27-147.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_27-147.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_27-thumb-320x240-147.jpg" width="320" height="240" alt="t-megaShield_27.jpg" class="mt-image-none" /></a></p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_28-148.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_28-148.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_28-thumb-320x240-148.jpg" width="320" height="240" alt="t-megaShield_28.jpg" class="mt-image-none" /></a></p><p>To separate the boards again, again the key is "carefully". Pull and rock the board until the headers separate from the sockets. If there's too much friction, you might consider using a small screwdriver to help pry them apart. If you pull too hard with your fingers there might be an explosive release when the boards pull apart and some pins might bend in the process. If this happens, straighten the pins carefully with small pliers, but carefully (again) or they'll break.</p><h3>Solderless Breadboarding</h3><p>If you want to use the MegaShield for solderless breadboarding, you can add a couple of&nbsp;<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8803" target="_blank">mini breadboards</a>&nbsp;mentioned before from SparkFun. They're backed with foam tape and very easy to attach.</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_29-149.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_29-149.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_29-thumb-320x240-149.jpg" width="320" height="240" alt="t-megaShield_29.jpg" class="mt-image-none" /></a></p><p>You can see from the following picture that they're placed a bit to one side to clear the resistors on the other. It's probably a good idea to place them on the board before uncovering the tape to make sure you understand how they will fit</p><p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_30-150.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_30-150.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-megaShield_30-thumb-320x240-150.jpg" width="320" height="240" alt="t-megaShield_30.jpg" class="mt-image-none" /></a>.</p><p>And, there you have it. Happy prototyping!</p><div></div>]]>
</content>
</entry>

<entry>
<title>Tutorial: SparkFun ProtoShield for Arduino Assembly, Updated</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2010/02/02/tutorial_sparkfun_protoshield_for_arduino_assembly_updated.php" />
<modified>2010-02-05T16:56:38Z</modified>
<issued>2010-02-03T07:37:43Z</issued>
<id>tag:WWW.atomicsalad.com,2010:/1.63</id>
<created>2010-02-03T07:37:43Z</created>
<summary type="text/plain"> The Arduino is a popular, inexpensive, open-source microcontroller board. The software development enviroment is also open-source and freely downloadable. Arduino boards come in a variety of styles and are available from numerous suppliers including SparkFun Electronics. Shields are extension...</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Technology</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_30-5.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_30-5.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_30-thumb-320x240-5.jpg" width="320" height="240" alt="t-protoshield_30.jpg" class="mt-image-none" style=""></a></p>
<p>The <a href="http://www.arduino.cc/" target="_blank">Arduino</a>  is a popular, inexpensive, open-source microcontroller board. The software development enviroment is also open-source and freely downloadable. Arduino boards come in a variety of styles and are available from numerous suppliers including <a href="http://www.sparkfun.com" title="SparkFun Electronics" target="_blank">SparkFun Electronics</a><a href="http://www.sparkfun.com" target="_blank"></a>.</p>
<p>Shields are extension boards that attach to a standard Arduino  board to extend it's capabilities. The <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=7914" target="_blank">ProtoShield kit</a> from SparkFun is such a shield designed to facilitate prototyping and breadboarding projects. It includes a grid for components along with two LEDs and a switch. An optional solderless breadboard makes the ProtoShield a very handy prototyping tool.</p>
<p>When the V1 ProtoShield was released by SparkFun, I created a tutorial showing how to assemble and use the board. Since then, an updated shield has been released. Some of the differences between the two shields are:</p>
<ul>
  <li type="disc">Stacking headers are used rather than separate sets of male/female headers. This reduces the number of parts and means you can stack multiple ProtoShields on top of each other if you want.</li>
  <li type="disc">The reset button on the V2 board is now connected to the reset pin exposed by newer Arduino Diecimila boards. Again, this makes for easier assembly, but  means that the reset button won't work with the older NG boards (making it impossible to upload sketches). The trick to making it work with NG boards is easy, though, and described in this tutorial.</li>
  <li type="disc">The data pins from the <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=582" title="BlueSMiRF Bluetooth Module" target="_blank">BlueSMiRF</a> socket (for an optional BlueSMiRF bluetooth module) are routed to the TX/RX pins on the Arduino (in V1 they were rounted to pins 2/3, I think) which makes it easier to manage communication.</li>
</ul>
<p>All said, the V2 board is a nice update that's easier to assemble, and is really an excellent experimenting/prototyping tool for the Arduino, well worth an updated tutorial.</p>

<div class="zemanta-pixie" style="margin-top:10px;height:15px"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/35ab9deb-51f8-4aa6-a6d1-e4bb22bb9646/" title="Reblog this post [with Zemanta]"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=35ab9deb-51f8-4aa6-a6d1-e4bb22bb9646" alt="Reblog this post [with Zemanta]" style="border:none;float:right"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>]]>
<![CDATA[<p>So, here goes.</p>
<h2>First Stage: Planning</h2>
		<p>OK. Let's get started. Here's what the kit looks like as it comes from SparkFun:</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/01/t-protoshield_01-1.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/01/t-protoshield_01-1.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/01/t-protoshield_01-thumb-320x240-1.jpg" width="320" height="240" alt="t-protoshield_01.jpg" class="mt-image-none" style=""></a></p>
		<p>Here're all the pieces laid out (BTW, clicking on any image will pop up a hires version):</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_02-4.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_02-4.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_02-thumb-320x240-4.jpg" width="320" height="240" alt="t-protoshield_02.jpg" class="mt-image-none" style=""></a></p>
		<p>Included in the kit are:</p>
		<ul>
			<li type="disc">(1) Printed Circuit Board (PCB)
			</li><li type="disc">(2) momentary switches
			</li><li type="disc">(2) LEDs (light emitting diodes)
			</li><li type="disc">(2) capacitors (.1uF)
			</li><li type="disc">(2) 330 ohm resitors (orange, orange, brown)
		  </li><li type="disc">(1) 10k ohm resistor (brown, black, orange)
			</li><li type="disc">(2) 8-pin  stacking headers
		  </li><li type="disc">(2) 6-pin  stacking headers
</li></ul>
<p>Look at the picture and make sure you can identify all the parts.</p>
<p>In addition to the standard parts, if you want to use the ProtoShield for solderless breadboarding, you can add the following parts:</p>
<ul>
  <li>Solderless mini-breadboard (there are several colors available from SparkFun, <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8803" target="_blank">here</a>)</li>
  <li>Male headers for connecting to the switch and LEDs (you only need three pins -- I don't see then on the SparkFun or Radio Shack sites, but you can find them from Jameco, part #<a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=160882" target="_blank">160882</a>)</li>
  <li>Finally, not pictured here, but handy for breadboarding are some patch cables. I'm writing an <a href="http://www.instructable.com" target="_blank">instructable</a> about how to make your own quality breadboard jumper wires, but you can also purchase them from SparkFun, just search on jumper wire. You'll probably want some male/male ones as well as female/female ones. By combining the two types of jumpers, you can connect between any combination of jumper terminations (e.g. male to female, male to male, etc.).</li>
</ul>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_03-8.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_03-8.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_03-thumb-320x240-8.jpg" width="320" height="240" alt="t-protoshield_03.jpg" class="mt-image-none" style=""></a></p>
<p>I'm assuming here that you can solder (or, are willing to experiment on this project.) If you want some instruction in that regard, the short instructional videos on the <a href="http://radiojove.gsfc.nasa.gov/telescope/soldering.htm" target="_blank">NASA radiojove project site</a> are a good start. And, there are numerous other tutorials around if you search.</p>
<p>I'm going to provide step-by-step instructions, but skim down the pictures and look at all the parts and try to get a general understanding of what's going on. It'll make it a lot easier when you're sorting things out later.</p>
		<h2>Second Stage: Preparation</h2>
		<p>Unlike the V1 ProtoShield, there's little preparation required before you assemble the V2 kit. Basically,  just bend the leads of the three resistors so you can insert them into the board.</p>
		<p>If you have small needle-nose pliers, you can use them to space the bends close to the resistor body. If not, or you just want to get on with it, you can use your fingers to bend the leads down near the body (which is what I usually do).</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_04-9.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_04-9.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_04-thumb-320x240-9.jpg" width="320" height="240" alt="t-protoshield_04.jpg" class="mt-image-none" style=""></a></p>
<h2>Third Stage: Assembly</h2>
		Now, it's time to start putting parts in the board and soldering them. It's generally best to start with the "shorter" parts close to the board and work towards the taller parts. So, the first parts to go in are the resistors. The parts for the ProtoShield are inserted from the stenciled side of the board  and soldered on the opposite side. There are two 330 ohm resistors and a 10k ohm resistor. Locate the spot for the  10k resistor (and, identify the 10k resistor -- the one that's different from the others). Insert the leads into the holes. It doesn't matter which direction you put it in, resistors work fine no matter what orientation you use.
        <p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_05-10.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_05-10.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_05-thumb-320x240-10.jpg" width="320" height="240" alt="t-protoshield_05.jpg" class="mt-image-none" style=""></a></p>
		<p>Now, turn the board over and spread the leads while you're pressing on the resistor from the other side to hold it in place.</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_06-11.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_06-11.html','popup','width=1024,height=767,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_06-thumb-320x239-11.jpg" width="320" height="239" alt="t-protoshield_06.jpg" class="mt-image-none" style=""></a></p>
		<p>Repeat for the two 330 ohm, resistors.</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_07-12.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_07-12.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_07-thumb-320x240-12.jpg" width="320" height="240" alt="t-protoshield_07.jpg" class="mt-image-none" style=""></a></p>
		<p>Now, solder all the leads. Turn the board over and check that the resistors are still laying flat on the surface of the board. If not, you can carefully reheat the offending lead while you press and hold the resistor while the solder cools. Make sure not to do that with your bare finger, or you'll definitely feel the heat.</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_08-13.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_08-13.html','popup','width=1024,height=764,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_08-thumb-320x238-13.jpg" width="320" height="238" alt="t-protoshield_08.jpg" class="mt-image-none" style=""></a></p>
		<p>Now, clip the leads close to the board with  flat sided wire clippers.</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_09-14.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_09-14.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_09-thumb-320x240-14.jpg" width="320" height="240" alt="t-protoshield_09.jpg" class="mt-image-none" style=""></a></p>
		<h3>Capacitors</h3>
		<p>Next place the two capacitors (see the picture below) spreading the leads as before. Again, it doesn't make a difference which direction you put the capacitors in. Solder and clip the leads as with the resistors.</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_10-15.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_10-15.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_10-thumb-320x240-15.jpg" width="320" height="240" alt="t-protoshield_10.jpg" class="mt-image-none" style=""></a></p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_11-16.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_11-16.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_11-thumb-320x240-16.jpg" width="320" height="240" alt="t-protoshield_11.jpg" class="mt-image-none" style=""></a>;</p>
<h3>Switches</h3>
<p>The next components to add to the board are the switches. The orientation doesn't matter as long as they fit properly in the associated holes. They should clip solidly in place (press on them until they're flush with the board). Turn the board over and solder and clip the eight leads.</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_12-17.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_12-17.html','popup','width=1155,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_12-thumb-320x212-17.jpg" width="320" height="212" alt="t-protoshield_12.jpg" class="mt-image-none" style=""></a></p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_13-18.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_13-18.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_13-thumb-320x240-18.jpg" width="320" height="240" alt="t-protoshield_13.jpg" class="mt-image-none" style=""></a></p>
<h3>LEDs</h3>
<p>Next, insert the LEDs. The LEDs are different than the previous components in that direction <b>does</b> matter. The LEDs have one shorter lead and one longer one. Also, if you look at the LED lense from the top, you'll notice that one edge at the bottom is flat. This should be the edge adjacent to the shorter lead. This is the cathode (the other lead is referred to as the anode). The symbol silkscreened on the PCB shows what orientation to use for the LED. Make sure the flat side of the LED (i.e. the shorter lead) matches the flat side on the board symbol.</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_14-19.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_14-19.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_14-thumb-320x240-19.jpg" width="320" height="240" alt="t-protoshield_14.jpg" class="mt-image-none" style=""></a></p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_15-20.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_15-20.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_15-thumb-320x240-20.jpg" width="320" height="240" alt="t-protoshield_15.jpg" class="mt-image-none" style=""></a></p>
<p>To make sure the LEDs sit firmly against the board (more for aesthetics than performance), I'll often use a bit of tape to hold the LED in place while I solder.</p>
		<p>After placing the LEDs, turn the board and solder one lead of each one. Then, while you're gently pressing the LED from the other side, <b>reheat</b> the connection. The LED may shift a little. This will make sure the LED is sitting squarely on the board. After reheating the first connection, solder the remaining lead of each LED and clip all the leads as before.</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_16-21.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_16-21.html','popup','width=1024,height=767,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_16-thumb-320x239-21.jpg" width="320" height="239" alt="t-protoshield_16.jpg" class="mt-image-none" style=""></a></p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_17-22.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_17-22.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_17-thumb-320x240-22.jpg" width="320" height="240" alt="t-protoshield_17.jpg" class="mt-image-none" style=""></a></p>
<h3>Male Connectors for LEDs/Switch</h3>
<p>If you're not going to be using the ProtoShield for solderless breadboarding (i.e. you're going to solder wires where you need them) you can skip this next step.</p>
<p>For this step, prepare three single-pin male headers by snipping them off the row of remaining pins. Using tape to hold them, insert the short end of a pin in the board for each of JC1, JC2, and JC3. These are a little tricky being so small, but take your time to make sure they're positioned correctly. Turn the board and solder each connection. You can reheat and reposition if necessary.</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_18-23.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_18-23.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_18-thumb-320x240-23.jpg" width="320" height="240" alt="t-protoshield_18.jpg" class="mt-image-none" style=""></a></p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_19-24.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_19-24.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_19-thumb-320x240-24.jpg" width="320" height="240" alt="t-protoshield_19.jpg" class="mt-image-none" style=""></a></p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_20-25.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_20-25.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_20-thumb-320x240-25.jpg" width="320" height="240" alt="t-protoshield_20.jpg" class="mt-image-none" style=""></a></p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_21-34.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_21-34.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_21-thumb-320x240-34.jpg" width="320" height="240" alt="t-protoshield_21.jpg" class="mt-image-none" style=""></a></p>
<p>You probably won't need to clip the lead after soldering since these pins are designed to be the right length.</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_22-35.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_22-35.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_22-thumb-320x240-35.jpg" width="320" height="240" alt="t-protoshield_22.jpg" class="mt-image-none" style=""></a></p>
<h3>Stackable Headers</h3>
<p>Now, we're down to the last few parts -- unfortunately, they require most of the soldering. The remaining parts are the stackable headers that connect to the Arduino board and pass the signals through to other boards, or for use in prototyping.</p>
<p>Insert a header into the board. It doesn't make any difference whether you choose an 8-pin or a 6-pin one, just make sure you match it with right set of holes on the board (this won't be a problem with the 8-pin socket, but you might mistakenly put a 6-pin socket in an 8-pin location). Also, make sure to insert the header in holes closest to the the outside of the board, and not in the inside row of holes. If you do this incorrectly, the board will not mate properly with the Arduino.</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_23-36.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_23-36.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_23-thumb-320x240-36.jpg" width="320" height="240" alt="t-protoshield_23.jpg" class="mt-image-none" style=""></a></p>
<p>Use a bit of tape to hold the header in place and turn the board over.</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_24-37.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_24-37.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_24-thumb-320x240-37.jpg" width="320" height="240" alt="t-protoshield_24.jpg" class="mt-image-none" style=""></a></p>
<p>To solder the header in, solder just one connection at each end of each header. Do not solder the intervening pins. Now, reheat the connection at one end and press the header gently from the other side to make sure it's properly seated and aligned. Now, reheat the connection at the other end while pressing  it to make sure it also is seated correctly. Repeat this procedure with the second header. Now, remove the tape and turn the board over and check to make sure the header is aligned and even. If not, reheat and reposition the leads until it is correct. Once the headers are aligned, solder the remaining   connections.</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_25-38.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_25-38.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_25-thumb-320x240-38.jpg" width="320" height="240" alt="t-protoshield_25.jpg" class="mt-image-none" style=""></a></p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_26-39.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_26-39.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_26-thumb-320x240-39.jpg" width="320" height="240" alt="t-protoshield_26.jpg" class="mt-image-none" style=""></a></p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_27-40.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_27-40.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_27-thumb-320x240-40.jpg" width="320" height="240" alt="t-protoshield_27.jpg" class="mt-image-none" style=""></a></p>
<p>Repeat the procedure for the  headers located  on the other side of the breadboard grid. Again, make sure to place the headers in the outer row of holes.</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_28-41.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_28-41.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_28-thumb-320x240-41.jpg" width="320" height="240" alt="t-protoshield_28.jpg" class="mt-image-none" style=""></a></p>
		<h3>Finishing</h3>
		<p>Before you plug the ProtoShield board into the Arduino, there's one small precaution I recommend you take. It turns out that the reset switch is right over the casing for the USB cable on the Arduino and could short out if it's not insulated. To remedy this, first make sure the leads from the switches are trimmed close to the board. Then, cover the bottom of the board with some electrical tape (I used two layers) so the switch doesn't contact the USB casing. Another option would be to cover the USB case with tape instead of the circuit board. Either should work fine.</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_29-42.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_29-42.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_29-thumb-320x240-42.jpg" width="320" height="240" alt="t-protoshield_29.jpg" class="mt-image-none" style=""></a></p>
<p>If you're going to use your ProtoShield on a Diecimila Arduino, you're ready to roll and can skip the following step. However, if you plan to user the board with an NG or earlier Arduino, the following modification will allow the reset switch on the ProtoShield to work properly (and, on earlier boards, the reset switch is necessary for uploading sketches):</p>
<p>The following picture shows a V2 ProtoShield plugged into an Arduino NG board.</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32a-47.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32a-47.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32a-thumb-320x240-47.jpg" width="320" height="240" alt="t-protoshield_32a.jpg" class="mt-image-none" style=""></a></p>
Notice that two pins are unconnected. One of these is the reset pin -- ergo the reset switch is unconnected. On an NG board, which requires that you press the reset button whenever you upload a sketch, that means you can't upload sketches without somehow connecting the reset switch. However, it turns out that the reset pin is also connected to a pin on the 6-pin connector which has mounting holes at the other end of the board.<p></p>
<p>To connect the reset button, you have to attach a short female header in the pictured location on the <strong>bottom</strong> of the board. This involves finding a 3-pin female header, or cutting one down;  inserting it through the bottom of the board; then, soldering it to the <strong>top</strong>. In the V1 tutorial, there's a little more information on how to adapt a 4-pin header for this use. A 16-pin female header can be purchased from Jameco, Part <a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=308592">#30859</a>., or other suppliers. You can cut a 3-pin section from this for use.</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32b-48.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32b-48.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32b-thumb-320x240-48.jpg" width="320" height="240" alt="t-protoshield_32b.jpg" class="mt-image-none" style=""></a></p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32c-49.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32c-49.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32c-thumb-320x240-49.jpg" width="320" height="240" alt="t-protoshield_32c.jpg" class="mt-image-none" style=""></a></p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32d-50.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32d-50.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_32d-thumb-320x240-50.jpg" width="320" height="240" alt="t-protoshield_32d.jpg" class="mt-image-none" style=""></a></p>
<p>That's it. You're done assembling the ProtoShield. If you're going to use the Shield for non-permanent breadboarding, I highly recommend that you get the <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=7916" target="_blank">small solderless breadboard</a> that SparkFun also sells (multiple colors are available). It has foam tape backing and can be attached to the top of the finished ProtoShield as shown in this photo:</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_30-5.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_30-5.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_30-thumb-320x240-5.jpg" width="320" height="240" alt="t-protoshield_30.jpg" class="mt-image-none" style=""></a></p>
<h2>Using the ProtoShield</h2>
		<p>SO, now that you've finished the ProtoShield, you might be asking, "So, what?" Here are a couple of quick examples using the blink and button sketches (programs) from the Arduino web site. These examples assume you've <a href="http://www.arduino.cc/en/Main/Software" target="_blank">installed the necessary drivers and the IDE from the Arduino site</a>. There's extensive documentation there, so I won't duplicate instructions here.</p>
		<p>To set up the Arduino to run those sketches, first, mate the ProtoShield and the Arduino board. To do this, line the headers and pins up carefully (I usually get one side properly placed, then the other) and apply pressure until they are firmly seated.</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31-43.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31-43.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31-thumb-320x240-43.jpg" width="320" height="240" alt="t-protoshield_31.jpg" class="mt-image-none" style=""></a></p>
		<p>For making a connection between the breadboard and a pin, I personally use custom jumper cables with a male pin on one end and a female connector on the other. But you can also use a jumper with an alligator clip at one end, or the jumper wires I mentioned before from SparkFun, for connecting between things. If you purchase premade jumpers, make sure to get some male and female ones. Combining the two allows you to connect the female connector from the ProtoShield to one of the male pins attached to an LED or switch. Note: if you're industrious and have female headers around, you can cut single-pin versions of those and use them when you assemble the ProtoShield rather than the male headers I used. Then, you can just use male jumper cables for all of your patching.</p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31a-44.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31a-44.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31a-thumb-320x240-44.jpg" width="320" height="240" alt="t-protoshield_31a.jpg" class="mt-image-none" style=""></a></p>
<p>&nbsp;</p>
<h3>Blink</h3>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/BlinkScreen-113.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/BlinkScreen-113.html','popup','width=754,height=477,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/BlinkScreen-thumb-320x202-113.png" width="320" height="202" alt="BlinkScreen.PNG" class="mt-image-none" style=""></a></p>
<p>So, for the <a href="http://www.arduino.cc/en/Tutorial/Blink" target="_blank">blink</a> sketch, all you have to do is connect an LED on the ProtoShield to the digital output pin from the Arduino using a jumper. Insert the bare end into #D13 and attach the other end to JC3 (or JC2). Then load and run the sketch according to the instructions on the <a href="http://www.arduino.cc" target="_blank">Arduino site</a>. If all works well, the LED should begin blinking after a few seconds (if you're using the NG board, you'll have to press Reset to upload the sketch). </p>
		<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31b-45.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31b-45.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31b-thumb-320x240-45.jpg" width="320" height="240" alt="t-protoshield_31b.jpg" class="mt-image-none" style=""></a></p>

<p>&nbsp;</p>
<h3>Button</h3>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/ButtonScreen-114.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/ButtonScreen-114.html','popup','width=754,height=476,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/ButtonScreen-thumb-320x202-114.png" width="320" height="202" alt="ButtonScreen.PNG" class="mt-image-none" style=""></a></p>
		<p>The second example, <a href="http://www.arduino.cc/en/Tutorial/Button" target="_blank">button</a>, uses the switch and an LED. The switch is wired to pin #D7. To do this on the ProtoShield, connect a jumper between #D7 and JC1. For the LED, use the same wiring as before between pin #D13 and JC3 (or, JC2). As with the LEDs, the ProtoShield has already wired the switch correctly with the 10k resistor so that you don't need to duplicate this wiring when using it. Loading and running the <a href="http://arduino.cc/en/Tutorial/Button" title="Arduino button example" target="_blank">button</a> example should work. (Note: the ProtoShield button is wired with a pullup resistor so the signal from the button is normally high -- when the button is pressed, the signal changes to low. As a result, in the Button sketch, the LED is normally on and goes off when the button is pressed.)</p>
<p><a href="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31c-46.html" onclick="window.open('http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31c-46.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://WWW.atomicsalad.com/assets_c/2010/02/t-protoshield_31c-thumb-320x240-46.jpg" width="320" height="240" alt="t-protoshield_31c.jpg" class="mt-image-none" style=""></a></p>
		<p>And, there you have  it. I hope this not-so-brief guide to assembly and use of the updated ProtoShield has been helpful. Happy experimenting!</p>
		<p></p>


<div class="zemanta-pixie" style="margin-top:10px;height:15px"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/35ab9deb-51f8-4aa6-a6d1-e4bb22bb9646/" title="Reblog this post [with Zemanta]"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=35ab9deb-51f8-4aa6-a6d1-e4bb22bb9646" alt="Reblog this post [with Zemanta]" style="border:none;float:right"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>]]>
</content>
</entry>

<entry>
<title>DiggX, Hacked Firmware for the Digg Button (youTube and Instructables)</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2007/06/02/diggx_hacked_firmware_for_the_digg_button_youtube_and_instructables.php" />
<modified>2010-01-27T17:48:31Z</modified>
<issued>2007-06-02T21:58:40Z</issued>
<id>tag:WWW.atomicsalad.com,2007:/1.62</id>
<created>2007-06-02T21:58:40Z</created>
<summary type="text/plain">adafruit industries makes a very cool and simple electronics kit called the Digg Button. It&apos;s an offshoot of the Digg.com social filtering news site. The Digg Button just counts the number of times it&apos;s pressed, or dug. A measure of...</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Technology</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[<p><a href="http://www.adafruit.com" target="_blank">adafruit industries</a> makes a very cool and simple electronics kit called the Digg Button. It's an offshoot of the <a href="http://www.digg.com" target="_blank">Digg.com</a> social filtering news site. The Digg Button just counts the number of times it's pressed, or dug. A measure of esteem. It's based on an Atmel AVR2313 microprocessor and the original firmware was published on the <a href="http://www.ladyada.net/make/digg" target="_blank">ladyada</a> support site for adafruit. DiggX is my hacked version, available <a href="http://www.atomicsalad.com/download/diggx.zip" target="_blank">here</a>. The .zip file has the "hex" file which can be downloaded to the Digg Button. It also contains the source files (in C) so you can mod my mod if you want. Opensource, of course.</p>

<p>It changes some behaviors and adds some features:</p>

<ul>
<li>Longer scrolling and selfish message ("digg me" rather than "digg")</li>
<li>A short button press increments the counter and plays the "dug" animation</li>
<li>A long button press resets the counter to zero and returns to scrolling</li>
<li>A timeout after 2 minutes of no presses returns the Digg Button to scrolling (but doesn't reset the count) ... kind of a screensaver mode that helps attract diggers</li>
<li>A long timeout after 5 minutes of no presses puts the Digg Button into sleep mode to conserve power. Pressing the button wakes it up again</li>
</ul>

<p>I've posted a short youTube demo at:</p>

<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/-b02rMC-vGg"></param><embed src="http://www.youtube.com/v/-b02rMC-vGg" type="application/x-shockwave-flash" width="425" height="350"></embed></object></p>

<p>And, finally, I also created an <a href="http://www.instructables.com/id/EA4X6NOF23Z38LS/" target="_blank">Instructable</a> (at instructables.com) that shows how to create a removable interface cable for the Digg Button.</p>

<p>Check 'em out.</p>]]>

</content>
</entry>

<entry>
<title>YouTube and Proxies</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2007/06/02/youtube_and_proxies.php" />
<modified>2007-06-02T21:58:13Z</modified>
<issued>2007-06-02T21:54:15Z</issued>
<id>tag:WWW.atomicsalad.com,2007:/1.61</id>
<created>2007-06-02T21:54:15Z</created>
<summary type="text/plain">Another of many insights I&apos;ve gained only after long hours of confusion was that I needed to enable proxy access on my firewall before I could upload videos to youTube. Without this, it would appear to work, but hang after...</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Technology</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[<p>Another of many insights I've gained only after long hours of confusion was that I needed to enable proxy access on my firewall before I could upload videos to youTube. Without this, it would appear to work, but hang after some random percentage has been sent. I finally changed this setting for no other reason than it was something I hadn't tried (i.e. act of desparation).</p>

<p>There was no word of this ANYWHERE I searched.</p>]]>

</content>
</entry>

<entry>
<title>iMovie and Fat32 Don&apos;t Mix!</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2007/06/02/imovie_and_fat32_dont_mix.php" />
<modified>2007-06-02T21:53:52Z</modified>
<issued>2007-06-02T21:48:43Z</issued>
<id>tag:WWW.atomicsalad.com,2007:/1.60</id>
<created>2007-06-02T21:48:43Z</created>
<summary type="text/plain">So, I spent many hours trying to figure out why the fast/slow/reverse effect wouldn&apos;t work for me in iMovie. It would preview OK and seem to work when I applied the effect to a clip, but the resulting clip would...</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Technology</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[<p>So, I spent many hours trying to figure out why the fast/slow/reverse effect wouldn't work for me in iMovie. It would preview OK and seem to work when I applied the effect to a clip, but the resulting clip would be all black and the movie would begin behaving very strangely. I upgraded iLife from 5 to 6 thinking that might fix the problem. No luck! Finally, after exhausting many theories I Googled and found an obscure comment in a forum about Fat32 and iMovie. Bingo!</p>

<p>I have a couple of hard drives I use for media projects. Since I have both Mac/PC computers around, I thought I'd just format them as Fat32 so I could get to them from my PC if I needed. That turned out to be the problem. Once I moved things around and reformatted the drives as OS X Extended (Journaled) everything worked like a charm. Sigh.</p>]]>

</content>
</entry>

<entry>
<title>Tutorial: SparkFun ProtoShield Assembly + Use</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2007/03/11/tutorial_sparkfun_protoshield_assembly_use.php" />
<modified>2010-02-23T22:22:08Z</modified>
<issued>2007-03-11T09:18:17Z</issued>
<id>tag:WWW.atomicsalad.com,2007:/1.59</id>
<created>2007-03-11T09:18:17Z</created>
<summary type="text/plain"> Note: This tutorial is for the original version of the SparkFun ProtoShield. An updated tutorial for the most recent version of the ProtoShield is available here. The Arduino board is an inexpensive, open-source microcontroller board. The development environment is...</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Technology</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[		<br /><hr><p><b>Note:</b> This tutorial is for the original version of the SparkFun ProtoShield. An updated tutorial for the most recent version of the ProtoShield is available <a href="http://www.atomicsalad.com/archive/2010/02/02/tutorial_sparkfun_protoshield_for_arduino_assembly_updated.php">here.</a></p><hr /><br />
<p>The <a href="http://www.arduino.cc/" target="_blank">Arduino</a> board is an inexpensive, open-source microcontroller board. The development environment is also open-source and freely downloadable.</p>
		<p>The Arduino board is sold in the United States by <a href="http://www.sparkfun.com" target="_blank">sparkfun.com</a>. Shields are extension boards that can combine with the Arduino main board to extend it's capabilities. That gets us to the main point here. The <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=7914" target="_blank">ProtoShield kit</a> from SparkFun adds a couple of LEDs, switches, and an optional solderless breadboard making prototyping that much simpler.</p>
		<p>I recently purchased an Arduino board and ProtoShield, but wasn't able to find much information about assembly and use of the ProtoShield. So, I decided a short tutorial showing how I put together the ProtoShield might be useful to others. Here goes.</p>
		<h2>First Stage: Planning</h2>
		<p>Here's what the kit looks like: (note: clicking on any image will popup a larger, legible version)</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_0102.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_0102.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_010-thumb.jpg" width="320" height="240" alt="" /></a></p>

		<p>Here're all the pieces:</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_020.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_020.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_020-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Included in the kit are:</p>
		<ul>
			<li type="disc">(1) Printed Circuit Board (PCB)
			<li type="disc">(2) momentary switches
			<li type="disc">(2) LEDs (light emitting diodes)
			<li type="disc">(2) capacitors (.1uF)
			<li type="disc">(2) 330 ohm resitors (orange, orange, brown)
			<li type="disc">(1) 10k ohm resistor (brown, black, orange)
			<li type="disc">(1) 40-pin male header strip
			<li type="disc">(2) 8-pin female header blocks
			<li type="disc">(2) 6-pin female header blocks
			<li type="disc">(2) 4-pin female header blocks
		</ul>
		<p>Look at the picture and make sure you can identify all the parts.</p>
		<p>I'm assuming here that you can solder (or, are willing to experiment on this project.) If you want some instruction in that regard, the short instructional videos on the <a href="http://radiojove.gsfc.nasa.gov/telescope/soldering.htm" target="_blank">NASA radiojove project site</a> are a good start.</p>
		<p>The way this board works is that the male headers are attached to the bottom of the board (along with one narrow female one). These fit onto the Arduino USB board to connect the ProtoShield. Components on top of the ProtoShield board add a switch and LEDs you can use for inputs and outputs. Also, female headers on top of the board provide access to the same connections that were originally available on the Arduino board. With the Arduino, the ProtoShield creates a powerful and compact protyping setup.</p>
		<p>I'm going to provide step-by-step instructions, but skim down the pictures and look at all the parts and try to get a general understanding of what's going on. It'll make it a lot easier when you're sorting things out later.</p>
		<h2>Second Stage: Preparation</h2>
		<p>There are a few things it's probably easiest to do up front so you can just focus on placement and soldering later.</p>
		<ul>
			<li type="disc">Remove one pin from one of the 4-pin female headers
			<li type="disc">Break up the 40-pin male header into sections of the correct length
			<li type="disc">Bend the resistor leads to fit into the board
                </ul>
		<p>First, if you look at the short side of the PCB that has the little tab on it, there're three holes right next to the breadboard grid. These are used to connect the reset switch on ProtoShield to the main board. A female header block fits here. But, the shortest block has four pins. So, you have to remove one of the pins so it'll fit. This is easily done with a pair of pliers. Just take hold of the pin on one end and pull it out. Should come easily.</p>

<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_030.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_030.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_030-thumb.jpg" width="320" height="240" alt="" /></a></p>

		<p>Next, break the long male header into two 8-pin sections, a 6-pin section, and a 4-pin section. Three of the remaining pins will be used later. And, the others can be used as spares. You can use some clippers to cut the header in appropriate spots (there are indents between each pin that make it easy). If you're careful, you can also just use your fingers to snap the header.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_035.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_035.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_035-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Last, bend the leads on the three resistors. If you have small needle-nose pliers, you can use then right next to the resistor body to space the bend (see picture). If not, you can use your fingers to bend the leads down near the body.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_040.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_040.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_040-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Here's a picture of the prepared parts:</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_050.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_050.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_050-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<h2>Third Stage: Assembly</h2>
		Now, it's time to start putting parts in the board and soldering them. I generally start with the &quot;shorter&quot; parts close to the board and work towards the taller parts. So, the first parts to go in are the resistors. For now, the parts are inserted from the side of the board with the stenciling on it and soldered on the reverse side. Locate the spot for the 2 330 ohm resistors and the 10k resistor. Insert the leads into the holes. It doesn't matter which direction you put them in, they'll work fine both ways.
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_070.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_070.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_070-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Now, turn the board over and spread the leads while you're pressing on the resistors from the other side to hold them in place.</p>
<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_080.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_080.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_080-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
<p>Solder the six connections and clip off the excess leads close to the board.</p>
<p></p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_090.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_090.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_090-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Next place the two capacitors (see the picture below) spreading the leads as before. Again, it doesn't make a difference which direction you put the capacitors in. Solder and clip the leads.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_100.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_100.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_100-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Next, insert the LEDs. The LEDs are different than the previous components in that direction <b>does</b> matter. The LEDs have one shorter lead and one longer one. Also, if you look at the LED lense from the top, you'll notice that one edge at the bottom is flat. This should be the edge right next to the shorter lead. This is the cathode (the other lead is referred to as the anode). The symbol silkscreened on the PCB shows what orientation to use for the LED. Make sure the flat side of the LED matches the flat side on the board symbol.</p>
<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_110.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_110.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_110-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>To make sure the LEDs sit firmly against the board (more for aesthetics than performance), I'll often use a bit of tape to hold the LED in place.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_120.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_120.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_120-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>After placing the LEDs, turn the board and solder one lead of each one. Then, while you're gently pressing the LED from the other side, <b>reheat</b> the connection. The LED may shift a little. This will make sure the LED is sitting squarely on the board. After reheating the first connection, solder the remaining lead of each LED and clip all the leads as before.</p>
		<p>The last of the components to add to the board are the switches. The orientation doesn't matter as long as they fit properly in the associated holes. They should clip solidly in place (press on them until they're flush with the board). Turn the board over and solder the eight leads.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_130.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_130.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_130-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Now, come the male headers placed on the bottom of the board to connect to the Arduino. Locate the two 8-pin sections of the male headers. Turn the board over so you're looking at the bottom. Insert the shorter side of the pins in the two 8-hole sections as shown in the picture. Make sure to insert the headers towards the outside of the board, and not in the inside row of holes. If you do this incorrectly, the board will not mate properly with the Arduino board. Use a bit of tape to hold the pins in place and turn the board over.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_140.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_140.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_140-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>To solder these in, solder the connection at the end of each header. Do not solder the intervening pins. Now, reheat the connection at one end and press the header gently from the other side to make sure it's properly seated (watch your fingers, the pin will get hot). Now, reheat the connection at the other end while pressing on it to make sure it is seated correctly. Repeat this procedure with the second header. Now, remove the tape and turn the board over and check to make sure both headers are aligned and even. If not, reheat and reposition the leads until it is correct. Once the headers are in place, solder the remaining 12 connections.</p>
<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_150.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_150.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_150-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Repeat the procedure for the four and six-pin male headers located across the board on the other side of the breadboard grid.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_160.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_160.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_160-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>The last connector to solder on the bottom of the board is the female header from which you removed a pin. Look at the picture for  placement. Make sure the missing pin is located on the correct side. If it is reversed, it may not fit next to the processor on the Arduino board. Tape the header down and solder as before making sure it is flush to the board and aligned before soldering the center connection.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_170.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_170.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_170-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Now, all that's left is to install the female headers to the top of the board and three pins to connect to the LEDs and input switch. Turn the board over so you're looking at the top. Insert the two 8-pin female headers in the proper holes next to the 8-pin male headers (on the other side of the board). Use tape to hold them in, and use the same method of tacking down the opposing ends, then reheating to make sure the connectors are flush and square with the board. When you're satisfied with the positioning, solder the remaining 12 connections.</p>
		<p>Repeat for the six and four-pin connectors as well as the 6-pin connector at the end of the board for bluetooth.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_180.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_180.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_180-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>We're down to the last three connections. Prepare three single-pin male headers by snipping them off the row of remaining pins.</p>
<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_190.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_190.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_190-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
<p>Using tape to hold them, insert the short end of a pin in the board for each of JC1, JC2, and JC3. These are a little tricky being so small, but take your time to make sure they're positioned correctly. Turn the board and solder each connection. You can reheat and reposition if necessary.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_200.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_200.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_200-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Before you plug the ProtoShield board into the Arduino, there's one final thing to do. It turns out that the switch labelled "s2" is right over the casing for the USB cable on the Arduino and will short out if it's not insulated. First make sure the leads from the switches are trimmed close to the board.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_210.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_210.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_210-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>Then, cover the bottom of the board with some electrical tape (I used two layers) so the switch doesn't contact the USB casing. Another option would be to cover the USB case with tape instead of the circuit board. Either should work fine.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_230.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_230.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_230-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>That's it. You're done assembling the ProtoShield. If you're going to use the Shield for experimenting, I highly recommend that you get the <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=7916" target="_blank">small solderless breadboard</a> that SparkFun also sells. It has foam tape backing and can be attached to the top of the finished ProtoShield as shown in this photo:</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_240.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_240.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_240-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<h2>Using the ProtoShield</h2>
		<p>So, now that you've finished the ProtoShield, you might be asking yourself &quot;now, what?&quot; Here are a couple of quick examples using the blink_led and digital_read_and_blink sketches (programs) from the Arduino web site. These examples assume you've <a href="http://www.arduino.cc/en/Main/Software" target="_blank">installed the necessary drivers and the IDE from the Arduino site</a>. There's extensive documentation there, so I won't duplicate it here.</p>
		<p>First, mate the ProtoShield and the Arduino board. To do this, line the headers and pins up carefully and apply pressure until they are firmly seated.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_250.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_250.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_250-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_build_260.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_build_260.html','popup','width=1024,height=741,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_build_260-thumb.jpg" width="320" height="231" alt="" /></a>
</p>
		<p>I made several simple jumpers from solid copper wire (#22, I think). On one end I soldered a small alligator clip and on the other I removed about 1/4&quot; of insulation. These allow me to easily connect an i/o pin or breadboard location to either of the LEDs or the switch on the ProtoShield.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_use_010.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_use_010.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_use_010-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>When you install the development environment for the Arduino (IDE), numerous example sketches are included. You can find them in the File>Sketchbook>Examples menu. "led_blink" is a very simple sketch to hook up (with or without the ProtoShield).</p>
<p><a class="img" href="http://WWW.atomicsalad.com/images/led_blink.html" onclick="window.open('http://WWW.atomicsalad.com/images/led_blink.html','popup','width=541,height=406,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/led_blink-thumb.gif" width="320" height="240" alt="" /></a>
</p>
<p>Here's one way to do it with the shield. All you have to do to connect an LED on the ProtoShield to the digital output pin using one of alligator jumpers. Insert the bare end into #D13 and attach the clip to JC3 (or JC2). Then load and run the sketch according to the instructions on the <a href="http://www.arduino.cc" target="_blank">Arduino site</a>. Since the ProtoShield extends the reset button from the Arduino board to the Shield, it's easy to press it just before uploading the sketch from the IDE as required. If all works well, the LED should begin blinking after a few seconds.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_use_020.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_use_020.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_use_020-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>The second example, digital_read_and_blink, uses the switch and an LED.</p>
<p><a class="img" href="http://WWW.atomicsalad.com/images/digital_read_and_blink.html" onclick="window.open('http://WWW.atomicsalad.com/images/digital_read_and_blink.html','popup','width=631,height=473,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/digital_read_and_blink-thumb.gif" width="320" height="239" alt="" /></a>
</p>
<p> The switch is wired to pin #D7. To do this, connect a jumper between #D7 and JC1. For the LED, use the same wiring as before between pin #D13 and JC3 (or, JC2). As with the LEDs, the ProtoShield has already wired the switch correctly with the 10k resistor so that you don't need to duplicate this wiring when using it. Loading and running the digital_read_and_blink example should work.</p>
		<p><a class="img" href="http://WWW.atomicsalad.com/images/ps_use_030.html" onclick="window.open('http://WWW.atomicsalad.com/images/ps_use_030.html','popup','width=1024,height=768,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img class="inline" src="http://WWW.atomicsalad.com/images/ps_use_030-thumb.jpg" width="320" height="240" alt="" /></a>
</p>
		<p>That's it. I hope this guide to assembly and use of the ProtoShield has been helpful. Happy processing!</p>
		<p></p>
]]>

</content>
</entry>

<entry>
<title>Just Curious ...</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2005/10/19/just_curious_.php" />
<modified>2010-01-26T07:33:27Z</modified>
<issued>2005-10-20T00:10:50Z</issued>
<id>tag:WWW.atomicsalad.com,2005:/1.46</id>
<created>2005-10-20T00:10:50Z</created>
<summary type="text/plain">Looking for something to do other than clicking &apos;refresh&apos; on your browser? This web site (http://justcurio.us) should fill the bill. If you want to know the meaning of life, just ask. But be prepared to answer someone else&apos;s question first....</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Culture</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[<p>Looking for something to do other than clicking 'refresh' on your browser? This web site (<a href="http://justcurio.us" target=_blank>http://justcurio.us</a>) should fill the bill. If you want to know the meaning of life, just ask. But be prepared to answer someone else's question first. The questions run the gamut (good and bad) but, the experience is addicting.</p>]]>

</content>
</entry>

<entry>
<title>Cell Phones in Africa</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2005/10/19/cell_phones_in_africa.php" />
<modified>2005-10-20T00:15:07Z</modified>
<issued>2005-10-19T21:16:10Z</issued>
<id>tag:WWW.atomicsalad.com,2005:/1.45</id>
<created>2005-10-19T21:16:10Z</created>
<summary type="text/plain">An article from CNN describes how the use of cell phones in Africa greatly outpaces the use of land lines. It&apos;s easier to build-out a mobile network than an wired one. And, what&apos;s most intersting to me is how people...</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Culture</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[<p>An article from CNN describes how the use of cell phones in Africa greatly outpaces the use of land lines. It's easier to build-out a mobile network than an wired one. And, what's most intersting to me is how people creatively adapt this technology to their needs. Among many other creative uses of phones, I was particularly delighted by the use of phone minutes as a form of "currency." It's expensive to wire small amounts of money in Africa, but easy to txt minute credits from one phone to another.</p>
<p><a href=http://www.cnn.com/2005/TECH/ptech/10/17/africa.goes.cellular.ap/index.html target=_blank>Link to CNN article</a></p>]]>

</content>
</entry>

<entry>
<title>Teenagers Online</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2005/07/28/teenagers_online.php" />
<modified>2005-10-20T00:45:01Z</modified>
<issued>2005-07-29T00:04:14Z</issued>
<id>tag:WWW.atomicsalad.com,2005:/1.43</id>
<created>2005-07-29T00:04:14Z</created>
<summary type="text/plain">&quot;The number of teenagers using the internet has grown 24% in the past four years and 87% of those between the ages of 12 and 17 are online.&quot; This is from a report released today by the Pew Internet &amp;...</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Culture</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[<p>"The number of teenagers using the internet has grown 24% in the past four years and 87% of those between the ages of 12 and 17 are online." This is from a report released today by the Pew Internet & American Life Project. According to the report, American teens live in a world enveloped by communications technologies.</p>

<p>About 21 million teens use the internet and half of them say they go online every day. Instant messaging is more common amongst this group than email. Personal "avatars" and "I'm away" messages provide markers in their virtual world even when they're not directly connected. Their social life has become hinged on ubiquitous access to their virtual world from many physical locations.</p>

<p>An interesting social fabric being woven by the next generation. The full report can be viewed on the <a href="http://www.pewinternet.org/PPF/r/162/report_display.asp alt="Teens and Technology">Pew Internet web site</a>.</p>]]>

</content>
</entry>

<entry>
<title>Konfabulation: Widgets or Browsers?</title>
<link rel="alternate" type="text/html" href="http://WWW.atomicsalad.com/archive/2005/07/25/konfabulation_widgets_or_browsers.php" />
<modified>2005-09-29T19:22:21Z</modified>
<issued>2005-07-25T20:45:52Z</issued>
<id>tag:WWW.atomicsalad.com,2005:/1.21</id>
<created>2005-07-25T20:45:52Z</created>
<summary type="text/plain">An article from eweek by Peter Coffee discusses a shift from viewing web content via browser, to the more focused view of a Widget. Yahoo&apos;s recent acquisition of Pixoria, Inc., creators of Konfafulator and Apple&apos;s new Dashboard technology are clear...</summary>
<author>
<name>jabber</name>
<url>http://www.robertgallup.com</url>
<email>bob@robertgallup.com</email>
</author>
<dc:subject>Technology</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://WWW.atomicsalad.com/">
<![CDATA[<p>An <a href="http://www.eweek.com/article2/0,1895,1840473,00.asp" alt="Article from eweek">article from eweek</a> by Peter Coffee discusses a shift from viewing web content via browser, to the more focused view of a Widget. Yahoo's recent acquisition of <a href="http://www.konfabulator.com/">Pixoria</a>, Inc., creators of Konfafulator and <a href="http://www.apple.com/macosx/features/dashboard/">Apple's new Dashboard</a> technology are clear examples of this.</p>

<p>Good? Howard Rheingold in his book, <a href="www.smartmobs.com">Smart Mobs</a>, makes the point that highways won out over railways by making the "channel" available for everyone. If widgets follow open standards, they could be a powerful addition to the web. If not, they could serve to build walls to divide it.</p>]]>

</content>
</entry>

</feed>
