Editing Simple Relay Shield Assembly v2

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
This page walks through the process of assembling the [[Simple Relay Shield|Simple Relay Shield v 2.0 Kit]].
+
This page walks through the process of assembling the [[Simple Relay Shield|Simple Relay Shield Kit]].
  
 
== Bill of Materials, or, "What's in the kit?" ==
 
== Bill of Materials, or, "What's in the kit?" ==
Line 30: Line 30:
 
|-
 
|-
 
| 10||1||Relay||G5LA-14 DC5 SPDT, 5A||Digi-Key||Z2560-ND
 
| 10||1||Relay||G5LA-14 DC5 SPDT, 5A||Digi-Key||Z2560-ND
|-
 
| 11||1||JP||Zero-ohm jumper||Digi-Key||0.0QTR-ND
 
 
|}
 
|}
  
Line 44: Line 42:
 
Here are all the components that make up the kit:
 
Here are all the components that make up the kit:
 
   
 
   
http://shop.emscdn.com/wiki/relayshield/assy_v2/1.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/1.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 50: Line 48:
 
=== 1. Install the two 1k ohm resistors ===
 
=== 1. Install the two 1k ohm resistors ===
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/2a.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/2.jpg
  
 
The 1k ohm resistors will be installed in location R1 and R2. Shown here:
 
The 1k ohm resistors will be installed in location R1 and R2. Shown here:
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/2.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/3.jpg
  
  
Line 60: Line 58:
 
First, bend the resistor leads as shown:
 
First, bend the resistor leads as shown:
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/4a.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/4.jpg
  
  
Line 66: Line 64:
 
Insert the first resistor in location R1 (Resistors are not directional and can be installed either way):
 
Insert the first resistor in location R1 (Resistors are not directional and can be installed either way):
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/5.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/5.jpg
  
  
Line 72: Line 70:
 
Bend the leads outward to keep the resistor in place while soldering:
 
Bend the leads outward to keep the resistor in place while soldering:
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/6.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/6.jpg
  
  
Line 78: Line 76:
 
Solder both leads:
 
Solder both leads:
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/7.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/7.jpg
  
  
Line 84: Line 82:
 
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.
 
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_v2/8.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/9.jpg
  
  
Line 90: Line 88:
 
Clip the excess leads short on the back side.  
 
Clip the excess leads short on the back side.  
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/9.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/10.jpg
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/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.
 
Then, install the second 1k ohm resistor at location R2, in the same manner.  Again, solder both pins and clip the excess leads short.
Line 99: Line 97:
 
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://shop.emscdn.com/wiki/relayshield/assy_v2/12.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/12.jpg
 +
 
 +
 
  
 
=== 2. Install the two diodes ===
 
=== 2. Install the two diodes ===
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/13a.jpg
+
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:
 
Bend the leads as shown:
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/15a.jpg
+
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.
 
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_v2/13.jpg
+
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.
 
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 ===  
 
=== 3. The LED ===  
  
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/17a.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/17.jpg
  
The LED will be installed in location D3, which is next to the resistors.
+
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''.   
 
Orientation is important: the ''long lead'' goes into the ''square hole''.   
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/14.jpg
+
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.
 
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.
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/15.jpg
+
Your board should look like this:
 +
 
 +
http://shop.emscdn.com/wiki/relayshield/assy_v1/20.jpg
 +
 
 +
 
  
 
=== 4. The capacitors ===
 
=== 4. The capacitors ===
  
There are two different capacitors in the kit.   This is C1, a ceramic capacitor. It has a little yellow body and two long leads:
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/21.jpg
http://shop.emscdn.com/wiki/relayshield/assy_v2/24a.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.
  
And this is C2, an electrolytic capacitor.  It has a short, cylindrical body:
 
http://shop.emscdn.com/wiki/relayshield/assy_v2/21a.jpg
 
  
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/16.jpg
+
The board so far:
  
Insert the little ceramic capacitor into C1, with either orientation.
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/25.jpg
  
C2, the electrolytic capacitor, has a polarity.  It must be installed with the "minus" side -- marked by the large white stripe on the side -- to the "-" side on PCB, as shown above.
 
  
Just as before, bend the leads outward, solder, and clip the leads of both capacitors.
 
  
 
=== 5. The transistor ===
 
=== 5. The transistor ===
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/27a.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/27.jpg
  
Install the transistor in location Q1:
 
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/17.jpg
+
The transistor will be installed in Q1, here:
  
Orientation is very important: Match the flat side of the transistor to the flat side drawn on the PCB. The transistor will not sit flush but you can still bend the two outer legs to keep in place for soldering.   Solder all three pins on the bottom side and clip the leads.
+
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 flush 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 ===
 
=== 6. The 'Stackable' Headers ===
Line 167: Line 201:
 
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.
 
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_v2/18.jpg
+
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:
 
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_v2/19.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/30.jpg
  
  
Line 178: Line 212:
 
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.  
 
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_v2/20.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/32.jpg
  
  
Line 184: Line 218:
 
Solder one end pin of each first.  
 
Solder one end pin of each first.  
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/21.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/33.jpg
  
  
Line 193: Line 227:
 
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.
 
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_v2/22.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/34.jpg
  
 
The board so far:
 
The board so far:
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/23.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/35.jpg
 +
 
 +
 
  
 
=== 11. The terminal block ===
 
=== 11. The terminal block ===
Line 203: Line 239:
 
The terminal block goes in location J5 -- with the holes facing outward, as shown:
 
The terminal block goes in location J5 -- with the holes facing outward, as shown:
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/24.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/36.jpg
  
  
Line 209: Line 245:
 
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.
 
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_v2/25.jpg
+
http://shop.emscdn.com/wiki/relayshield/assy_v1/37.jpg
  
=== 12. The relay ===
 
  
Finally, it's time to add the relay -- it can only go in one way -- and solder it in place:
 
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/26.jpg
+
=== 12. The relay ===
 
 
 
 
=== 13. Control signal ===
 
 
 
Last step! Decide how you would like to control the Simple Relay Shield, and wire a jumper to the control input.
 
 
 
 
The default configuration is to control the relay through pin Digital 4 (D4).  If you would like to control it that way, then install the zero-ohm jumper wire (which looks like a resistor with one black stripe) in the location marked JP, by the transistor:
 
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v2/28.jpg
 
 
 
If, instead, you would like to control it from a different signal line, connect the zero-ohm jumper wire (or a different wire of your choosing) from the side of location JP marked by the black diamond (♦) to the signal source.  For example, you could wire up the Simple Relay Shield to line Digital 7 (D7) by soldering the jumper as follows:
 
 
 
http://shop.emscdn.com/wiki/relayshield/assy_v2/29.jpg
 
  
 +
Finally, add the relay (It can only go in one way), and solder in place:
  
 +
http://shop.emscdn.com/wiki/relayshield/assy_v1/38.jpg
  
And, you're done!  Next, head back to the main [[Simple_Relay_Shield|Simple Relay Shield kit]] documentation page.
 
  
http://shop.emscdn.com/wiki/relayshield/assy_v2/32.jpg
+
And, you're done!  That's it!  Next, head back to the main [[Simple_Relay_Shield|Simple Relay Shield kit]] documentation page.

Please note that all contributions to Evil Mad Scientist Wiki are considered to be released under the GNU Free Documentation License 1.3 (see Evil Mad Scientist Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Template used on this page: