Difference between revisions of "ISP Shield 2 Assembly Instructions"

From Evil Mad Scientist Wiki
Jump to: navigation, search
m (6-pin header trimming is optional)
Line 136: Line 136:
 
Here's what the bare circuit board looks like:
 
Here's what the bare circuit board looks like:
 
   
 
   
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/02.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/02.jpg
  
 
We'll be adding components to the various locations labeled on the board.
 
We'll be adding components to the various locations labeled on the board.
Line 144: Line 144:
 
=== 1. Install the 10k resistor and 100 ohm resistor ===
 
=== 1. Install the 10k resistor and 100 ohm resistor ===
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/03.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/03.jpg
  
 
There are three types of resistor in the kit:
 
There are three types of resistor in the kit:
Line 156: Line 156:
 
When you've finished adding these two resistors, your board should look like this:
 
When you've finished adding these two resistors, your board should look like this:
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/04.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/04.jpg
  
  
Line 162: Line 162:
 
=== 2. Install the 1k resistors ===
 
=== 2. Install the 1k resistors ===
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/05.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/05.jpg
  
 
Next, install the 1k resistors.  There are five of these resistors, that go in locations R2, R3, R4, R5, R6-- the other places where resistors are visible in the photo above-- and are installed with the same technique as the last resistors.  
 
Next, install the 1k resistors.  There are five of these resistors, that go in locations R2, R3, R4, R5, R6-- the other places where resistors are visible in the photo above-- and are installed with the same technique as the last resistors.  
Line 176: Line 176:
 
This six-pin header is installed across locations J5 and J6.  The short, angled end of the connector  drops into the row of holes at location as shown:
 
This six-pin header is installed across locations J5 and J6.  The short, angled end of the connector  drops into the row of holes at location as shown:
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/07.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/07.jpg
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/08.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/08.jpg
  
 
The pins are thick and do not bend easily.  So, there is a trick that you can use to prevent the header from falling out of the board when you turn it over to solder it in place, and to make sure that it ends up squarely in place.
 
The pins are thick and do not bend easily.  So, there is a trick that you can use to prevent the header from falling out of the board when you turn it over to solder it in place, and to make sure that it ends up squarely in place.
Line 186: Line 186:
  
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/09.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/09.jpg
  
 
Once the header is lined up flip the board over and solder all the other five pins to the board.  (You can solder all six from the bottom, but remember to start with one of the holes that isn't the square-pad one!)    Trimming the header pins on the back side is optional (they may interfere with the DC barrel jack on an Arduino board and prevent the shield from laying flat).
 
Once the header is lined up flip the board over and solder all the other five pins to the board.  (You can solder all six from the bottom, but remember to start with one of the holes that isn't the square-pad one!)    Trimming the header pins on the back side is optional (they may interfere with the DC barrel jack on an Arduino board and prevent the shield from laying flat).
Line 193: Line 193:
 
Your board should look like this now:
 
Your board should look like this now:
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/10.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/10.jpg
  
  
Line 202: Line 202:
 
Orientation is important: the ''long lead'' goes into the ''square hole''.   
 
Orientation is important: the ''long lead'' goes into the ''square hole''.   
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/12.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/12.jpg
  
  
 
Solder them in place and clip the leads short.  After inserting the LEDs but before soldering, you can bend the leads out at 45 degrees to hold an LED in place while you solder.
 
Solder them in place and clip the leads short.  After inserting the LEDs but before soldering, you can bend the leads out at 45 degrees to hold an LED in place while you solder.
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/14.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/14.jpg
  
 
If everything is correct, the flat faces of each LED will appear as shown above.  
 
If everything is correct, the flat faces of each LED will appear as shown above.  
Line 214: Line 214:
 
Your board should look like this:
 
Your board should look like this:
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/13.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/13.jpg
  
  
Line 220: Line 220:
 
=== 5. The Crystal and Capacitors ===
 
=== 5. The Crystal and Capacitors ===
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/15.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/15.jpg
  
 
This quartz crystal is contained in a shiny metal can-- shaped like a stainless-steel twinkie rejected by a robot smurf -- with two prongs.    The two prongs go in the outer two holes (not the middle hole) of location XTL on the circuit board.  It is not directional; it can go in either way.  As before, solder it in place and clip the leads.
 
This quartz crystal is contained in a shiny metal can-- shaped like a stainless-steel twinkie rejected by a robot smurf -- with two prongs.    The two prongs go in the outer two holes (not the middle hole) of location XTL on the circuit board.  It is not directional; it can go in either way.  As before, solder it in place and clip the leads.
Line 228: Line 228:
 
=== 6.  18 pF ceramic capacitors ===
 
=== 6.  18 pF ceramic capacitors ===
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/16.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/16.jpg
  
 
These are two tiny yellow devices, ''marked with a black stripe'' to label them.  The go in locations C2 and C3, on either side of the crystal.    They are not directional; they can go in either way.  Solder both in place and trim their leads.
 
These are two tiny yellow devices, ''marked with a black stripe'' to label them.  The go in locations C2 and C3, on either side of the crystal.    They are not directional; they can go in either way.  Solder both in place and trim their leads.
Line 247: Line 247:
 
Having added the capacitor in the last step and now the switch, your board should look like this:
 
Having added the capacitor in the last step and now the switch, your board should look like this:
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/17.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/17.jpg
  
  
Line 258: Line 258:
 
Once you're sure the header is seated properly, solder the rest of the pins on the back.
 
Once you're sure the header is seated properly, solder the rest of the pins on the back.
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/18.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/18.jpg
  
  
Line 273: Line 273:
 
Once everything is aligned, flip the board back over and solder the rest of the pins. Try to use a minimal amount of solder, so that solder does not wick down onto the pins, as that could potentially cause difficulty inserting the shield into an otherwise receptive Arduino board.
 
Once everything is aligned, flip the board back over and solder the rest of the pins. Try to use a minimal amount of solder, so that solder does not wick down onto the pins, as that could potentially cause difficulty inserting the shield into an otherwise receptive Arduino board.
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/19.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/19.jpg
  
  
Line 282: Line 282:
 
Press the socket flush to the board. If you lower the lever, you can rest the board upside down on the ZIF socket while you solder the pins in place. The leads on the back side are short enough that they do not need to be trimmed.  
 
Press the socket flush to the board. If you lower the lever, you can rest the board upside down on the ZIF socket while you solder the pins in place. The leads on the back side are short enough that they do not need to be trimmed.  
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/21.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/21.jpg
  
  
Line 289: Line 289:
 
Push the jumpers onto the six pin header at location J5 and J6.
 
Push the jumpers onto the six pin header at location J5 and J6.
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/22.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/22.jpg
  
  
Line 295: Line 295:
 
=== 13. You're Done! ===
 
=== 13. You're Done! ===
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/01.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/01.jpg
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/23.jpg
+
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/23.jpg
  
  

Revision as of 17:00, 3 June 2011

This page walks through the basic assembly process for building the ISP Shield 2.0.

Bill of Materials, or, "What's in the kit?"

Line Ref Des Description Type Vendor Vendor Part Number Quantity
1 n/a PCB for ISP Shield 2.0 Printed circuit board Evil Mad Science 681 1
2 R1 Reset line pull-up resistor 10k, 1/6 W Digikey 10KETR-ND 1
3 R2 thru R6 Reset and LED load resistors 1000 ohm, 1/4 W Digikey 1.0KQBK-ND 5
4 R7 Auto-reset overrride resistor 100 ohm, 1/4 W Digikey 100QBK-ND 1
5 J5, J6 Target Power Enable, Auto-Reset Overrride (Header) 6 pin right-angle header, 0.1” spacing Digikey SAM1043-06-ND 1
6 PROG, ERROR, PULSE, HELLO Indicator LED 3mm, Diffused Yellow Evil Mad Science 357 4
7 XTL Crystal 16 MHz Digikey XC1721-ND 1
8 C2, C3 Capacitors for crystal 18pF, 50 V ceramic Digikey BC1004CT-ND 2
9 C1 Bypass Capacitor 0.1uF Capacitor Digikey BC1148TR-ND 1
10 S1 Reset Switch Tactile pushbutton switch Digikey 679-2452-ND 1
11 ISP6 6 pin ISP Header 2x3 pin 0.1” spaced DIL header Digikey 609-3202-ND 1
12 J1 thru J4 Header set, 6-pin (2 pcs), 8-pin (2 pcs) Stacking type header, 0.1” spacing Evil Mad Science 633 1
13 U1 ZIF DIP Socket 28 pin, 0.3" pin spacing Evil Mad Science 212 1
14 J5, J6 (jumper) Target Power Enable, Auto-Reset Override (Jumper) 2 pin jumper block, 0.1” spacing Digikey A26242-ND 2

Assembly procedure

We'll go line by line through the kit components. This guide assumes that you have had some soldering experience. If not, or it's been a while, you may also want to look at pages 2 and 5-7 of the Bulbdial clock assembly instructions, which go over basic tools and technique. And, if you really are a beginner, there are plenty of good tutorials on line, like this one.



0. The circuit board

Here's what the bare circuit board looks like:

02.jpg

We'll be adding components to the various locations labeled on the board.


1. Install the 10k resistor and 100 ohm resistor

03.jpg

There are three types of resistor in the kit:

  • The 10k "pull-up" resistor is the one resistor that is physically smaller than the others. It has a color code of brown-black-orange-gold.
  • There is also only one 100 ohm resistor. That's the "middle" one in the picture above. It has a color code of brown-black-brown-gold.
  • There are five 1k resistors. Their color code is brown-black-red-gold. Rather than reading the color codes, just note that these are the five identical resistors. In the kit, these may be taped or bagged to separate them from the other resistors.


Install the 10k "pull-up" resistor (again, the smaller one) in location R1. Solder both pins, and clip the excess leads short on the back side. (Orientation: either way; resistors are not directional.) Then, install the 100 ohm resistor at location R7. Again, solder both pins and clip the excess leads short.

When you've finished adding these two resistors, your board should look like this:

04.jpg


2. Install the 1k resistors

05.jpg

Next, install the 1k resistors. There are five of these resistors, that go in locations R2, R3, R4, R5, R6-- the other places where resistors are visible in the photo above-- and are installed with the same technique as the last resistors.

The color code on these is Black-Brown-Red-Gold, but more importantly, these are the remaining five identical resistors.



3. The six pin right angle header

This six-pin header is installed across locations J5 and J6. The short, angled end of the connector drops into the row of holes at location as shown:

07.jpg

08.jpg

The pins are thick and do not bend easily. So, there is a trick that you can use to prevent the header from falling out of the board when you turn it over to solder it in place, and to make sure that it ends up squarely in place.

First, carefully solder just one pin to the board as shown above. (We suggest the one with the square pad.) Then, make sure the long pins on the header are parallel with the board and that the header is fully seated on the board: the black plastic block should be flush to the board. If this is not the case, carefully reheat the soldered joint and adjust the header as needed. Be careful-- it will be hot!


09.jpg

Once the header is lined up flip the board over and solder all the other five pins to the board. (You can solder all six from the bottom, but remember to start with one of the holes that isn't the square-pad one!) Trimming the header pins on the back side is optional (they may interfere with the DC barrel jack on an Arduino board and prevent the shield from laying flat).


Your board should look like this now:

10.jpg


4. The LEDs

There are four identical LEDs included with the kit, that go in the locations labeled PROG, ERROR, PULSE, and HELLO.

Orientation is important: the long lead goes into the square hole.

12.jpg


Solder them in place and clip the leads short. After inserting the LEDs but before soldering, you can bend the leads out at 45 degrees to hold an LED in place while you solder.

14.jpg

If everything is correct, the flat faces of each LED will appear as shown above.


Your board should look like this:

13.jpg


5. The Crystal and Capacitors

15.jpg

This quartz crystal is contained in a shiny metal can-- shaped like a stainless-steel twinkie rejected by a robot smurf -- with two prongs. The two prongs go in the outer two holes (not the middle hole) of location XTL on the circuit board. It is not directional; it can go in either way. As before, solder it in place and clip the leads.


6. 18 pF ceramic capacitors

16.jpg

These are two tiny yellow devices, marked with a black stripe to label them. The go in locations C2 and C3, on either side of the crystal. They are not directional; they can go in either way. Solder both in place and trim their leads.


7. 0.1 uF ceramic capacitor

There is only one, and it goes in location C1. It looks just like the 18 pF capacitor, but without the black stripe. It is not directional; it can go in either way. Solder it in place and clip the leads.


8. Reset switch

There is only one, and it goes in location RESET. It snaps into the board-- make sure that it sits flush. It is not directional; it can go in either way. Solder it in place. The leads are short and do not need trimming.


Having added the capacitor in the last step and now the switch, your board should look like this:

17.jpg


9. The 6-pin ISP Header

The ISP header is a two by three block of straight pins. It should drop right into location ISP6.

Solder one pin on the back and then flip the board over. Make sure that the header is perpendicular to the board and the black plastic block is seated on the board.

Once you're sure the header is seated properly, solder the rest of the pins on the back.

18.jpg


10. The 'Stackable' Headers

The ISP Shield is intended to be used as a 'shield' with an Arduino or Arduino-compatible board, and so it comes with the appropriate 'stacking' headers.

The six pin headers go in locations J2 and J4, while the eight pin headers go in locations J1 and J3.

To add these, we recommend inserting all four headers and then resting the board-- upside down --on the four headers, so that they sit flush to the board. Solder one end pin of each first. Flip the board back over and check that the pins are perpendicular to the board. Make sure the headers aren't 'twisted' in their sockets - make sure the edges of the socket are parallel with the silkscreen outline on the board.

If any header/socket isn't aligned correctly, heat up the solder on the single soldered pin and adjust the header/socket as needed.

Once everything is aligned, flip the board back over and solder the rest of the pins. Try to use a minimal amount of solder, so that solder does not wick down onto the pins, as that could potentially cause difficulty inserting the shield into an otherwise receptive Arduino board.

19.jpg


11. The ZIF Socket

This socket goes in location U1 on the circuit board. Orientation is very important: The side with the lever sits above the end of the chip with the "half moon" indentation on the circuit board drawing. In other words, the lever is on the side closer to where it says "ISP Shield."

Press the socket flush to the board. If you lower the lever, you can rest the board upside down on the ZIF socket while you solder the pins in place. The leads on the back side are short enough that they do not need to be trimmed.

21.jpg


12. Add Function Jumpers

Push the jumpers onto the six pin header at location J5 and J6.

22.jpg


13. You're Done!

01.jpg

23.jpg


That's it! You did it!

Next, go take a look at the usage instructions.