Relays

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
(remove link to page that doesn't even use the word "relay")
 
(28 intermediate revisions by 16 users not shown)
Line 1: Line 1:
[http://joshuapettigrew.com/Blog/wp-content/backup-4be0e/cache/linoqb.html screened gazebo] [http://iagsdc.net/test/main/tempimage/imaes/sgriax.html sex] [http://iagsdc.net/test/main/tempimage/imaes/ldrjdn.html motorhomes] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/qnprnk.html go cart parts] [http://iagsdc.net/test/main/tempimage/imaes/qackcd.html heartmonitor] [http://nmhswh.com/bugzilla/temp/uuvtqh.html free t mobile phone] [http://saskindekorasyon.com/sitebcx/_files/newspublish/tmp/ *3enalmp.html automobile consumer report] [http://mitcomputers.ca/bbs/templates/subSilver/images/lang_english/icons/fqisjr.html flight school] [http://saskindekorasyon.com/sitebcx/_files/newspublish/tmp/ *3smxahi.html discount bedroom furniture] [http://madisonfd.com/images/pics/small/qvdmhh.html fish taxidermy] [http://madisonfd.com/images/pics/small/apjiix.html metal roof insulation] [http://kobibankaciligi.org/image/pics/lrcsui.html motorcycle value] [http://baselkriterleri.com/sitebcx/_files/photogallery/photo/behakm.html kimber rifles] [http://blazing.ws/catalog/images/gif/esiwjl.html glider cushion] [http://notpurfect.com/guest/tmp/cache/scvmci.html cigaretts site] [http://madisonfd.com/images/pics/small/ghoxjo.html discount air fares] [http://dubaisail.com/dm/downloads/fs47280760/cache/jkiunt.html rabbit vibrator] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/pemutm.html unlock motorola phone] [http://dubaisail.com/dm/downloads/fs47280760/cache/rfnflq.html 5th wheel trailer] [http://geekphilosopher.com/catalog/images/thumbs/fkoqtf.html all tel ringtones] [http://nmhswh.com/bugzilla/temp/kmnmtm.html free norton antivirus update] [http://geekphilosopher.com/catalog/images/thumbs/edgxtl.html home alarm] [http://saskindekorasyon.com/sitebcx/_files/newspublish/tmp/ *3pgkbep.html victorian costumes] [http://iagsdc.net/test/main/tempimage/imaes/tdpnrd.html laptop case] [http://www.webmeester.com/hhgchat/chat/localization/argentinian_spanish/cache/ieloob.html hartz chicken] [http://engelmania.com/ploggerb3/images/pics/gqecgh.html dining room furniture for sale] [http://nmhswh.com/bugzilla/temp/redhqt.html buy discount xenical] [http://geekphilosopher.com/catalog/images/thumbs/abgveg.html crm customer relationship management] [http://kobibankaciligi.org/image/pics/prsaid.html austin homes] [http://notpurfect.com/guest/tmp/cache/popgjg.html free online super mario bros game] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/mwblha.html bridesmaid dresses] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/eultgf.html free tracfone airtime code] [http://kobibankaciligi.org/image/pics/ppfbak.html job searches] [http://geekphilosopher.com/catalog/images/thumbs/ntbmdo.html nextel cell phone] [http://engelmania.com/ploggerb3/images/pics/adikej.html old porno] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/wwuvqg.html cheap airline tickets london] [http://derzulya.com/gizli/Themes/default/images/brazilian/baners/cjsmcj.html waverly curtain] [http://notpurfect.com/guest/tmp/cache/namgov.html model] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/llnmvq.html pussy virgin] [http://blazing.ws/catalog/images/gif/qfmmth.html gina wild] [http://www.zoemargo.com/phpbb2/images/smiles/icon/uuetog.html a girls first menstrual period] [http://rsinfocon.com/forum/chat/localization/spanish/cache/rksrra.html mircette] [http://engelmania.com/ploggerb3/images/pics/xghuqt.html associate degree] [http://kobibankaciligi.org/image/pics/cjhlad.html banana] [http://engelmania.com/ploggerb3/images/pics/uhevmv.html furnace parts] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/qnvwpx.html pussy young] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/oxctfr.html mazda rx8] [http://iagsdc.net/test/main/tempimage/imaes/nmwguh.html plendil] [http://baselkriterleri.com/sitebcx/_files/photogallery/photo/nphtoc.html aggrenox] [http://mitcomputers.ca/bbs/templates/subSilver/images/lang_english/icons/issarm.html bad credit personal loans] [http://geekphilosopher.com/catalog/images/thumbs/leggtg.html sta travel] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/gftpfx.html treatment of rosacea] [http://blazing.ws/catalog/images/gif/fvjtde.html florida loan] [http://rsinfocon.com/forum/chat/localization/spanish/cache/nhxxck.html michel viet] [http://joshuapettigrew.com/Blog/wp-content/backup-4be0e/cache/hjwvfu.html us immigration] [http://geekphilosopher.com/catalog/images/thumbs/rvnvud.html alaska air lines] [http://kobibankaciligi.org/image/pics/eijbms.html online cialis] [http://kobibankaciligi.org/image/pics/onhmog.html sextoon] [http://kobibankaciligi.org/image/pics/iehekr.html adalat] [http://joshuapettigrew.com/Blog/wp-content/backup-4be0e/cache/guwuem.html national cash advance] [http://notpurfect.com/guest/tmp/cache/earcba.html sexy chat room] [http://iagsdc.net/test/main/tempimage/imaes/nvkswk.html background] [http://www.zoemargo.com/phpbb2/images/smiles/icon/fdwmll.html evinrude outboards] [http://geekphilosopher.com/catalog/images/thumbs/achpta.html phentermine prescriptions] [http://madisonfd.com/images/pics/small/vxmqfw.html cheerleading] [http://www.webmeester.com/hhgchat/chat/localization/argentinian_spanish/cache/wgdbkl.html google earth] [http://notpurfect.com/guest/tmp/cache/stcrpw.html antique wedding rings] [http://geekphilosopher.com/catalog/images/thumbs/slmbxi.html free plastic canvas patterns] [http://iagsdc.net/test/main/tempimage/imaes/arhkxh.html freegayporn] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/seivaj.html flower tattoo design] [http://baselkriterleri.com/sitebcx/_files/photogallery/photo/wcwtxn.html creative zen mp3 players] [http://www.zoemargo.com/phpbb2/images/smiles/icon/ojatwb.html sex amatuer] [http://baselkriterleri.com/sitebcx/_files/photogallery/photo/nmnsrv.html sprintpcs ringtones] [http://baselkriterleri.com/sitebcx/_files/photogallery/photo/coxbwg.html gas pump] [http://blazing.ws/catalog/images/gif/tqxaoa.html beautiful asian girl] [http://nmhswh.com/bugzilla/temp/sljmxm.html crayola crayons colors] [http://substantiel.net/forum/tmp/cache/ctneid.html cartagena] [http://engelmania.com/ploggerb3/images/pics/lilkfm.html prudential realty] [http://blazing.ws/catalog/images/gif/rhldii.html diane von furstenberg dresses] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/bhnqij.html movies xxx] [http://saskindekorasyon.com/sitebcx/_files/newspublish/tmp/ *3nqkkqr.html chase bank employment] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/nijkeq.html selling your home littleton] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/tfdquq.html seminars] [http://engelmania.com/ploggerb3/images/pics/opwsah.html aa meetings in my area] [http://notpurfect.com/guest/tmp/cache/rkvaca.html online discount coupon] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/rvjeej.html jenifer lopez] [http://blazing.ws/catalog/images/gif/xrtlua.html bdsm drawing] [http://www.webmeester.com/hhgchat/chat/localization/argentinian_spanish/cache/mlxgnn.html lcd television] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/wrkclq.html dozer] [http://www.webmeester.com/hhgchat/chat/localization/argentinian_spanish/cache/ltajwf.html free screensaver download] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/gajgct.html georgia lottery] [http://baselkriterleri.com/sitebcx/_files/photogallery/photo/naipnq.html free email search] [http://madisonfd.com/images/pics/small/tqhdja.html job search] [http://geekphilosopher.com/catalog/images/thumbs/bvwipi.html geritol vitamins] [http://kobibankaciligi.org/image/pics/mhawpg.html double wide mobile home] [http://notpurfect.com/guest/tmp/cache/kaqeks.html strawberry shortcake] [http://notpurfect.com/guest/tmp/cache/vfheuq.html beef cut diagram] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/emxswc.html capricorn horoscopes] [http://www.terauto.com/phpmychat/chat/localization/czech/tmp/cwsxxc.html postal service jobs] [http://baselkriterleri.com/sitebcx/_files/photogallery/photo/luupdg.html coat] {| align=right
+
{| align=right
 
|-
 
|-
 
|  
 
|  
 
[[Image:Main-G5Q-14.jpg|Relay]]
 
[[Image:Main-G5Q-14.jpg|Relay]]
 
|}
 
|}
<b>Description:</b><br> A PIC can't source more than 25mA, so how do I turn on/off a light bulb? With a relay!  
+
{{mergeto|switches}}
 +
 
 +
=== Description ===
 +
A PIC can't source more than 25mA, so how do I turn on/off a light bulb? With a relay!
 +
 
 +
A PIC can't source more than 25mA, so how do I turn on/off a relay? With a transistor!
  
 
Relays are those large black boxes that go 'click'. There is a coil inside. When current flows through the coil a magnetic field causes the the internal paddle to move postions. This paddle usually carrys large currents or large voltages.
 
Relays are those large black boxes that go 'click'. There is a coil inside. When current flows through the coil a magnetic field causes the the internal paddle to move postions. This paddle usually carrys large currents or large voltages.
Line 14: Line 19:
 
There are many configurations based on the circuit you need to control. DPDT (double pull double throw), SPDT (single pull double throw) are two of the most common. View the equivalent circuits in the mfg's datasheets to get an idea of how they work.
 
There are many configurations based on the circuit you need to control. DPDT (double pull double throw), SPDT (single pull double throw) are two of the most common. View the equivalent circuits in the mfg's datasheets to get an idea of how they work.
  
<b>Relay circuit setup:</b><br>
+
=== Relay circuit setup ===
When switching large loads, you can get something call ''fly-back current''. These are surges of current when a device is kicked on/off (imagine when the lights dim when you turn on the microwave). Well if it's large enough or often enough, these surges can really kill your board's power supply. The fly
+
 
 +
Many microcontrollers cannot source enough current to feed the control coil. So Q1 is any old BJT (2N3904 is a good one) to turn on/off the relay.
 +
 
 +
When switching large loads, you can get something call ''fly-back current''. The fly-back current can cause surges of voltage when a device is kicked on/off (imagine when the lights dim when you turn on the microwave).
 +
These surges can arc and destroy nearby components.
  
 
[[Image:Relay-Example.jpg|Example Relay Circuit]]
 
[[Image:Relay-Example.jpg|Example Relay Circuit]]
  
Many microcontrollers cannot source enough current to feed the control coil. So Q1 is any old BJT (2N3904 is a good one) to turn on/off the relay. The diode 1N4148 (simple, cheap, can handle ~200mA current) is there to supress any fly-back current from entering the main power supply. Be sure to watch how you polarize your diode.
+
The diode 1N4148 (simple, cheap, can handle ~200mA current) is there to direct the fly-back current to a safe path. Without that diode, the flyback current could arc and destroy some nearby component.
 +
Be sure to watch how you polarize your diode.
  
<b>Documents:</b><br>
+
=== Documents ===
 +
 
 +
=== Footprints ===
  
<b>Footprints:</b><br>
 
 
[[SFE_Footprint_Library|SFE Footprint Library]]
 
[[SFE_Footprint_Library|SFE Footprint Library]]
  
There are various footprints available. Always be sure to do a 1:1 printout of your board and matchup the physical relay to the printout before PCB fab. Sometime the manufacturers list recommended footpr
+
There are various footprints available. Always be sure to do a 1:1 printout of your board and matchup the physical relay to the printout before PCB fab. Sometime the manufacturers list recommended footprints from the bottom view which can lead to mirrored and incorrect FPs.
1000
+
ints from the bottom view which can lead to mirrored and incorrect FPs.
+
  
<b>Manufacturer Info:</b><br>
+
=== Manufacturer Info ===
 +
 
 +
=== Supplier Info ===
 +
 
 +
''(Is there anything special about these particular relays?)''
  
<b>Supplier Info:</b><br>
 
 
Digikey part # : G5Q-1-DC12<br>
 
Digikey part # : G5Q-1-DC12<br>
Single Piece Price : $2.25
+
Single Piece Price : $2.25<br>
 +
12 VDC SPDT
 +
 
 +
All Electronics part # : [http://www.allelectronics.com/make-a-store/item/RLY-275/24-VDC-SPDT-PC-MOUNT-POWER-RELAY/-/1.html RLY-275]<br>
 +
Single Piece Price: $0.50<br>
 +
24 VDC SPDT
 +
 
 +
 
 +
=== Related Items ===
 +
 
 +
=== Further Reading ===
  
<b>Related Items:</b><br>
+
* [[Basic_Circuits_and_Circuit_Building_Blocks#Relay_with_Diode_Snubber | Relay with Diode Snubber]]
 +
* [[Basic_Circuits_and_Circuit_Building_Blocks#Transistor_Low_Side_Switch]]
 +
* [[relay CPU]]
 +
* [http://en.wikipedia.org/wiki/flyback_diode Wikipedia: flyback diode]
 +
* [http://www.dnatechindia.com/index.php/Tutorials/8051-Tutorial/Relay-Interfacing.html Interfacing Relay To Micro controller]
  
 
[[Category:Components]]
 
[[Category:Components]]

Latest revision as of 13:32, 25 August 2011

Relay

It has been suggested that this page or section be merged into switches. (Discuss)


Contents

[edit] Description

A PIC can't source more than 25mA, so how do I turn on/off a light bulb? With a relay!

A PIC can't source more than 25mA, so how do I turn on/off a relay? With a transistor!

Relays are those large black boxes that go 'click'. There is a coil inside. When current flows through the coil a magnetic field causes the the internal paddle to move postions. This paddle usually carrys large currents or large voltages.

Most relays have various ratings. We'll start with the coil voltage. '12VDC' for example means that the control coil requires 12V DC for the unit to switch the paddle. The other rating you'll see is '10A'. This refers to the amount of current you can run through the control paddle contact (not the current through the coil). So a 10A relay can handle a load of up to 10A- less than 10A is no problem. What happens if you try to run more current than the max? Well, it will probably work, but at higher currents the internal sparking will tend to burn the contacts. The paddle can potentially spot-weld itself to the contacts in extreme cases.

There are sealed and vented relays. Vented relays tend to run a bit cooler, but are more suceptible to gunk getting into the moving parts.

There are many configurations based on the circuit you need to control. DPDT (double pull double throw), SPDT (single pull double throw) are two of the most common. View the equivalent circuits in the mfg's datasheets to get an idea of how they work.

[edit] Relay circuit setup

Many microcontrollers cannot source enough current to feed the control coil. So Q1 is any old BJT (2N3904 is a good one) to turn on/off the relay.

When switching large loads, you can get something call fly-back current. The fly-back current can cause surges of voltage when a device is kicked on/off (imagine when the lights dim when you turn on the microwave). These surges can arc and destroy nearby components.

Example Relay Circuit

The diode 1N4148 (simple, cheap, can handle ~200mA current) is there to direct the fly-back current to a safe path. Without that diode, the flyback current could arc and destroy some nearby component. Be sure to watch how you polarize your diode.

[edit] Documents

[edit] Footprints

SFE Footprint Library

There are various footprints available. Always be sure to do a 1:1 printout of your board and matchup the physical relay to the printout before PCB fab. Sometime the manufacturers list recommended footprints from the bottom view which can lead to mirrored and incorrect FPs.

[edit] Manufacturer Info

[edit] Supplier Info

(Is there anything special about these particular relays?)

Digikey part # : G5Q-1-DC12
Single Piece Price : $2.25
12 VDC SPDT

All Electronics part # : RLY-275
Single Piece Price: $0.50
24 VDC SPDT


[edit] Related Items

[edit] Further Reading

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox