Difference between revisions of "User:Iwa"

From Evil Mad Scientist Wiki
Jump to: navigation, search
(Bill of Materials, or, "What's in the kit?")
(Blanked the page)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page walks through the process of assembling the [[Simple Relay Shield Kit|Simple Relay Shield Kit]].
 
  
== Bill of Materials, or, "What's in the kit?" ==
 
 
{| border="1" cellspacing="0" cellpadding="4" |
 
|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
 
|[http://evilmadscience.com/productsmenu/tinykitlist/544 683]
 
|1
 
|----
 
|2
 
|R1, R2
 
|LED and load resistors
 
|1k, 1/4 W
 
|Digikey
 
|[http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=1.0KQBK-ND 1.0KQBK-ND]
 
|2
 
|----
 
|3
 
|D1, D2
 
|Arduino protection and flyback diode
 
|Diode, Schottky 1N5817 20V 1A DO-41
 
|Digikey
 
|[http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=1N5817-TPCT-ND 1N5817-TPCT-ND]
 
|2
 
|----
 
|4
 
|D3
 
|Indicator LED
 
|3mm, Diffused Red
 
|Evil Mad Science
 
|[http://evilmadscience.com/productsmenu/partsmenu/336]
 
|1
 
|----
 
|5
 
|C2
 
|Electrolytic capacitor
 
|Cap, 100uF, 10V, electrolytic
 
|Digikey
 
|[http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=P963-ND P963-ND]
 
|1
 
|----
 
|6
 
|C1
 
|Ceramic capacitor
 
|Cap, 0.1uF, 25V, ceramic, radial
 
|Digikey
 
|[http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=BC1148TR-ND  BC1148TR-ND ]
 
|1
 
|----
 
|7
 
|Q1
 
|Transistor
 
|2N4401TFR
 
|Digikey
 
|[http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=2N4401D26ZCT-ND 2N4401D26ZCT-ND]
 
|1
 
|----
 
|8
 
|J1 thru J4
 
|Header set, 6-pin (2 pcs), 8-pin (2 pcs)
 
|Stacking type  header, 0.1” spacing
 
|Evil Mad Science
 
|[http://evilmadscience.com/productsmenu/partsmenu/251 633]
 
|1
 
|----
 
|9
 
|J5
 
|Terminal block
 
|3 position 5.08 mm
 
|Evil Mad Science
 
|[http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=ED2610-ND ED2610-ND]
 
|1
 
|----
 
|10
 
|Relay
 
|Relay
 
|5 V 5 A SPDT Relay
 
|Digikey
 
|[http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=Z2560-ND Z2560-ND]
 
|1
 
|----
 
|}
 
 
== 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|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 [http://www.instructables.com/id/How-to-solder/ this one].
 
 
 
 
 
=== 0.  The circuit board ===
 
Here are all the components that make up the kit:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/1.jpg
 
 
We'll be adding components to the various locations labeled on the board.
 
 
 
 
=== 1. Install the two 1k ohm resistors ===
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/2.jpg
 
 
The 1k ohm resistors will be installed in location R1 and R2. Shown here:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/3.jpg
 
 
First, bend the resistor leads as shown:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/4.jpg
 
 
Insert the first resistor in location R1 (Resistors are not directional and can be installed either way):
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/5.jpg
 
 
Bend the leads outward to keep the resistor in place while soldering:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/6.jpg
 
 
Solder both leads:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/7.jpg
 
 
Make sure you have a good solder joint from the PCB pad to the resistor lead. The solder joint should be shiny without too much excess solder.
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/9.jpg
 
 
Clip the excess leads short on the back side.
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/10.jpg
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/11.jpg
 
 
Then, install the second 1k ohm resistor at location R2, in the same manner.  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://shop.emscdn.com/wiki/relayshield/assy_v1/12.jpg
 
 
 
 
=== 2. Install the two diodes ===
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/13.jpg
 
 
The diodes will be installed in locations D1 and D2, as shown here:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/14.jpg
 
 
Bend the leads as shown:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/15.jpg
 
 
Install the diodes in positions D1 and D2. Diodes have polarity - be sure to match the stripes on the diode with the stripe on the PCB.
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/16.jpg
 
 
Just as we did with the resistors, bend the leads outward so they stay in place during soldering. Solder. Check for a good solder connection and clip the excess leads.
 
 
 
 
=== 3. The LED ===
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/17.jpg
 
 
The LED will be installed in location D3, shown here:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/18.jpg
 
 
Orientation is important: the ''long lead'' goes into the ''square hole''. 
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/19.jpg
 
 
Insert the LED but before soldering, you can bend the leads out at 45 degrees to hold an LED in place while you solder. Solder both leads and clip the leads short.
 
 
Your board should look like this:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/20.jpg
 
 
 
 
=== 4. The capacitors ===
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/21.jpg
 
 
The electrolytic capacitor will go in location C2:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/22.jpg
 
 
This capacitor has polarity. It must be installed with the minus on the cap to the minus on the PCB, as shown here:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/23.jpg
 
 
Just as before, bend the leads outward, solder, and clip.
 
 
Next, we'll add the ceramic cap to location C1:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/24.jpg
 
 
This one can be installed in either direction.
 
 
The board so far:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/25.jpg
 
 
 
=== 5. The transistor ===
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/27.jpg
 
 
The transistor will be installed in Q1, here:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/26.jpg
 
 
Match the flat of the transistor to the flat on the PCB. The transistor will not sit flat but you can still bend the two outer legs to keep in place for soldering. Once soldered, it will look like this:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/28.jpg
 
 
 
=== 6. The 'Stackable' Headers ===
 
 
The Simple Relay 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.
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/29.jpg
 
 
The headers will be installed in the outermost holes. The two 6-pin headers on one side, 8-pins on the other, as shown here:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/30.jpg
 
 
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.
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/32.jpg
 
 
Solder one end pin of each first.
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/33.jpg
 
 
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. Do not clip these leads.
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/34.jpg
 
 
The board so far:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/35.jpg
 
 
 
 
=== 11. The terminal block ===
 
 
The terminal block goes in location J5 -- with the holes facing outward, as shown:
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/36.jpg
 
 
Similar to the headers, solder 'tack' one of the pins to keep the component in place, turn the board over and check that the terminal block is straight and flush with the PCB before soldering all three pins.
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/37.jpg
 
 
 
 
=== 12. The relay ===
 
 
Finally, add the relay, solder in place and you're done!
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v1/38.jpg
 

Latest revision as of 19:22, 15 July 2012