Difference between revisions of "ISP Shield 2 Assembly Instructions"

From Evil Mad Scientist Wiki
Jump to: navigation, search
Line 140: Line 140:
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/02.jpg
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/02.jpg
  
We'll be adding components to the labeled locations there.
+
We'll be adding components to the various locations labeled on the board.
  
  
  
=== 1. The 10k ohm pull-up resistor and 100 ohm auto-reset override resistor ===
+
=== 1. Install the 10k resistor and 100 ohm resistor ===
The 10,000 ohm pull-up resistor is the smallest resistor in the kit. It has a color pattern of brown-black-orange-gold. Install it in location R1, solder both pins, and clip the excess leads short.
 
  
The 100 ohm auto-reset override resistor has a color pattern of brown-black-brown-gold. Install it in location R7, solder both pins, and clip the excess leads short.
+
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/03.jpg
  
These resistors may be orientated either way; resistors are not directional.
+
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:
  
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/04.jpg
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/04.jpg
Line 155: Line 162:
  
  
=== 2. The 1k ohm resistors ===
+
=== 2. Install the 1k resistors ===
There are five 1,000 ohm resistors. They have a color pattern of brown-black-red-gold.
+
 
 +
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/05.jpg
  
These go into locations R2, R3, R4, R5, and R6.
+
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.  
  
Like the resistors above, these may be orientated either way.
+
The color code on these is Black-Brown-Red-Gold, but more importantly, these are the remaining ''five identical resistors''.
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/05.jpg
 
  
  
  
 
=== 3. The six pin right angle header ===
 
=== 3. The six pin right angle header ===
This six-pin header covers the two three-pin function select jumpers.
 
  
The angled end of the header drops into the line of holes at location J5 and J6 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://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/07.jpg
  
Carefully tack down one pin on the top of the board:
+
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/08.jpg
  
http://evilmadscience.s3.amazonaws.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.
  
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 resting on the board).
+
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!
  
If this isn't the case, carefully reheat the soldered joint and adjust the header as needed.
 
  
Once the header is lined up flip the board over and solder all the pins, starting with the pin ''farthest'' from the first pin your soldered.
 
  
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/09.jpg
 
http://evilmadscience.s3.amazonaws.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!)    The header pins on the back side are short enough that they do not need to be trimmed.
  
  
Line 192: Line 199:
  
  
=== 4. The LEDs ===
+
=== 4. The LEDs ===  
There are four LEDs to install.
+
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''. 
  
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/11.jpg
+
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/12.jpg
  
Don't worry about mixing them up, they are all the same color. The LEDs go in locations labeled PULSE, PROG, HELLO, and ERROR.
+
 
 +
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://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/14.jpg
  
Note that the orientation of the LED matters! The long lead on the LED is the positive (or anode) pin. The long pin goes in the hole with the square solder pad, like so:
+
If everything is correct, the flat faces of each LED will appear as shown above.  
 
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/12.jpg
 
  
Simply drop each LED in, bend the leads, solder, and clip off the excess.
 
  
Do this four times and your board should look like this:
+
Your board should look like this:
  
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/13.jpg
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/13.jpg
Line 214: Line 221:
  
 
=== 5. The Crystal and Capacitors ===
 
=== 5. The Crystal and Capacitors ===
The crystal is the elongated silver can, and goes in location XTL. The orientation doesn't matter.
 
  
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/15.jpg
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/15.jpg
  
The related capacitors go in locations C2 and C3, on either side of the crystal. The orientation of these doesn't matter either.
+
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.
 +
 +
 
  
Note the black stripe along the top of each capacitor! Make sure you're using the right ones.
+
=== 6. 18 pF ceramic capacitors ===
  
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/16.jpg
 
http://evilmadscience.s3.amazonaws.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.
 +
 +
 +
 +
=== 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 ===
  
=== 6. The Capacitor and The 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.
There is one more capacitor, at location C1. It will look a lot like the capacitors at location C2 and C3 but will not have a black stripe. Don't forget to clip the excess leads on the capacitors.
 
  
The reset switch goes in location RESET.
 
  
You don't need to worry about orientation for either part.
+
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://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/17.jpg
Line 237: Line 253:
  
  
=== 7. The 6-pin ISP Header ===
+
=== 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.
 
The ISP header is a two by three block of straight pins. It should drop right into location ISP6.
  
Line 248: Line 264:
  
  
=== 8. The 'Stackable' Headers ===
+
=== 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 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 variant goes in locations J2 and J4, while the eight pin variant goes in locations J1 and J3.
+
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. Also 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.
+
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.
 
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 the minimum of solder, so that solder does not wick either down into the hole (bad!) or onto the pins (also bad!).  
+
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://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/19.jpg
Line 263: Line 279:
  
  
=== 9. The ZIF Socket ===
+
=== 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."
 
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."
  
Line 272: Line 288:
  
  
=== 10. Add Function Jumpers ===
+
=== 12. Add Function Jumpers ===
 
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.
  
Line 279: Line 295:
  
  
=== 11. You're Done! ===
+
=== 13. You're Done! ===
  
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/01.jpg
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/01.jpg
Line 285: Line 301:
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/23.jpg
 
http://evilmadscience.s3.amazonaws.com/wiki/ispshield/assy_v2/23.jpg
  
Congrats!
+
Next, go take a look at the [[Using The ISP Shield 2|usage instructions]].

Revision as of 05:19, 1 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.


(Assembly instructions will be posted by June 1, 2011. Not yet!)


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!) The header pins on the back side are short enough that they do not need to be trimmed.


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

Next, go take a look at the usage instructions.