Difference between revisions of "Relays"

From OpenCircuits
Jump to navigation Jump to search
(remove link to page that doesn't even use the word "relay")
(21 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[http://led-autolight.com/cache/Car_Air_Compressor/dbxjdv.html foto porn] [http://testmeter.co.uk/sitemap/data/image/dbdkwr.html motorcycle jackets] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/diqhbj.html embroidery supply] [http://www.mavis-crafts.com/highcross-old/components/image/ilbdsc.html motorola v550 accessories] [http://www.schmittziesart.de/gbook2/fonts/image/wducgr.html full games free download] [http://marzeporgohar.org/folders/folder_23/image/uusonv.html grannyporn] [http://dreadneck.com/gallery3/upgrade/image/dbsctg.html xxx video trailers] [http://telephone-booth.com/Electronic Products/electro/mgiqun.html nokia 3220] [http://eqia.com/bank/image/mitkvk.html vicerex] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/thrjoq.html free chat rooms] [http://snowclubs.com/nyssa/mojo/image/jnueqi.html sun country airline] [http://www.anime-extreme.net/images/avatar/smiles/rgtlba.html sylvania flat screen tv] [http://eqia.com/bank/image/qwurvm.html free sex video clip] [http://affectplus.com/sessions/cache/veruef.html nu] [http://mayafoods.com/shop/catalog/temp/text/lnprhv.html dolce and gabbana] [http://naturalspascanada.com/lma/templates/image/iiepbd.html estate planning] [http://rgvtechs.com/Autos/images/gif/nvaubk.html university phoenix] [http://naturalspascanada.com/lma/templates/image/qxfbvj.html machine sex] [http://eqia.com/bank/image/vvjwku.html job center plus] [http://affectplus.com/sessions/cache/eajcxp.html ohio counties] [http://eqia.com/bank/image/lbogga.html atenolol side effects] [http://mayafoods.com/shop/catalog/temp/text/ibsliw.html log cabins] [http://affectplus.com/sessions/cache/hsaknt.html crossword puzzle] [http://arrastaocountry.com.br/phpchat/chat/localization/danish/image/gkcpwu.html casino slot] [http://www.schmittziesart.de/gbook2/fonts/image/wwgsda.html alltel ringtones] [http://snowclubs.com/nyssa/mojo/image/dmlpmn.html special occasion dresses] [http://rubber-plastics-manufacturers.com/cp/avatars/guakvl.html free adult single sites] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/phgvhx.html friendship e card] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/cpnvnx.html sprint ringtones] [http://testmeter.co.uk/sitemap/data/image/pfkmxq.html mont blanc pen] [http://eqia.com/bank/image/ojmskc.html pictures of anal sex] [http://mayafoods.com/shop/catalog/temp/text/qeomtt.html mesa airline] [http://schonborn.com/log/archives/0000000001/rllxbu.html bisexual men and women] [http://flyingaggies.org/gallery/albums/oops/photo/sghwur.html mask] [http://www.schmittziesart.de/gbook2/fonts/image/iavtcr.html france map] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/fuabeq.html toyota yaris] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/alntax.html what are unit trusts] [http://f-ccc-zion.com/ExtCalendar/include/image/hloqsl.html electrical engineering careers] [http://www.n373n.net/vb/customprofilepics/image/tsmmtt.html speedy gonzales] [http://mayafoods.com/shop/catalog/temp/text/ewrdae.html yeast infection causes] [http://troop270.com/site/cache/tmp/pmepqn.html seroquel effect] [http://f-ccc-zion.com/ExtCalendar/include/image/avwotv.html cigarettes] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/ljucka.html personal debt consolidation loan] [http://cosmetic-packaging-manufacturers.com/cache/any/lbwibx.html aria giovanni] [http://cosmickaos.com/kaosguestbook/backups/cache/tkldkj.html replica movado watch] [http://affectplus.com/sessions/cache/kwpvrc.html cheapest airplane tickets] [http://dreadneck.com/gallery3/upgrade/image/sulppn.html satellite tv card] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/fmhifd.html big tit round ass] [http://www.anime-extreme.net/images/avatar/smiles/mgsena.html diapers] [http://www.mavis-crafts.com/highcross-old/components/image/ibngmj.html pinnacle sat] [http://www.anime-extreme.net/images/avatar/smiles/phisea.html driver] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/jhrica.html citalopram hydrobromide] [http://www.schmittziesart.de/gbook2/fonts/image/ntxlhp.html huns] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/rnkrpx.html wreath] [http://travelersrest.org/admin/upload/image/gsohst.html slot machine] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/efknij.html career salaries] [http://bigskyregion.org/ExtCalendar/include/image/wlaixp.html wagering] [http://affectplus.com/sessions/cache/aljwjv.html paper doll] [http://f-ccc-zion.com/ExtCalendar/include/image/onuhjj.html porn online] [http://eqia.com/bank/image/wulnbs.html disney resorts] [http://www.schmittziesart.de/gbook2/fonts/image/hxfdrp.html free black sex] [http://f-ccc-zion.com/ExtCalendar/include/image/wiaroc.html swingers video] [http://eqia.com/bank/image/odduqj.html united express airline] [http://dreadneck.com/gallery3/upgrade/image/brbpqq.html diabetes treatment] [http://schonborn.com/log/archives/0000000001/cbuxxq.html liver problems] [http://led-autolight.com/cache/Car_Air_Compressor/vouhhb.html miami international airport] [http://marzeporgohar.org/folders/folder_23/image/wceloe.html resume forms] [http://travelersrest.org/admin/upload/image/grbfwc.html bahamas cruise] [http://cosmetic-packaging-manufacturers.com/cache/any/gtivju.html dirt cheap airline tickets] [http://www.anime-extreme.net/images/avatar/smiles/kfmldq.html criminal checks] [http://arrastaocountry.com.br/phpchat/chat/localization/danish/image/kbspgw.html exterior lighting] [http://cosmetic-packaging-manufacturers.com/cache/any/cprptw.html argentina food] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/xwubln.html mohawk laminate flooring] [http://testmeter.co.uk/sitemap/data/image/wnnseh.html maps satellite] [http://cosmickaos.com/kaosguestbook/backups/cache/fhnkbo.html henri matisse painting] [http://cosmetic-packaging-manufacturers.com/cache/any/bicikn.html winx] [http://www.ro-man.com/tradeshop/images/infobox/banners/prtabk.html disney kid game] [http://mayafoods.com/shop/catalog/temp/text/btdues.html chuck e cheese coupon] [http://cosmetic-packaging-manufacturers.com/cache/any/lrbrbk.html debt relief] [http://socks-manufacturers.com/about/image/clqbpu.html treehouse tv] [http://snowclubs.com/nyssa/mojo/image/qcbmmc.html discount furniture outlet] [http://freewarecorner.com/wp-content/uploads/2006/12/cache/kqvbos.html milf anal] [http://sacapuntos.com/avatars-local/0/images/hfmdha.html natural breast] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/jclnhd.html fake fireplace] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/sdutde.html free anal sex videos] [http://cosmickaos.com/kaosguestbook/backups/cache/kidhaw.html asian blow job] [http://cosmetic-packaging-manufacturers.com/cache/any/gxtbcs.html etodolac] [http://rgvtechs.com/Autos/images/gif/vlpgep.html christina aguilera] [http://mqantiques.com/aboutchinese/contact/rjrnhq.html free porno movies] [http://led-autolight.com/cache/Car_Air_Compressor/aghfqc.html voip service] [http://testmeter.co.uk/sitemap/data/image/jdutvj.html high schools] [http://wecareforkids.org/fundraisers-2005/image/kgnjmt.html free cell phone search] [http://socks-manufacturers.com/about/image/lqeovt.html hardcore orgy] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/vomwdf.html car sales] [http://bigskyregion.org/ExtCalendar/include/image/njamgv.html remington] [http://rubber-plastics-manufacturers.com/cp/avatars/kvgwuh.html card game] [http://sacapuntos.com/avatars-local/0/images/vuvwfq.html kamagra] [http://rgvtechs.com/Autos/images/gif/kksdsg.html lesbian sexy] [http://dreadneck.com/gallery3/upgrade/image/ommbvg.html wood stove] [http://eqia.com/bank/image/vmiunp.html automobile bentley] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/xlvrvb.html artificial wedding flowers] [http://imdcsudan.org/old/gallery2/g2data/cache/image/hirktv.html online college degrees] [http://led-autolight.com/cache/Car_Air_Compressor/panvlk.html missouri newspapers] [http://marzeporgohar.org/folders/folder_23/image/kdeovp.html pearl river hilton] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/kublhk.html disabled bathrooms] [http://naturalspascanada.com/lma/templates/image/bhlueu.html phone number lookup] [http://eqia.com/bank/image/bnvsjq.html park home insurance] [http://troop270.com/site/cache/tmp/fotoni.html girlfriend] [http://cripo-ua.com/dump/backup/cache/vfwclk.html nina mercedes] [http://snowclubs.com/nyssa/mojo/image/wkmmjg.html download songs] [http://affectplus.com/sessions/cache/fnokjr.html banks briana] [http://schonborn.com/log/archives/0000000001/gcsscu.html national savings bonds] [http://cripo-ua.com/dump/backup/cache/rjlhkb.html globetrotter inn edinburgh] [http://snowclubs.com/nyssa/mojo/image/ksiewq.html fredericks of hollywood home page] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/ftdkjo.html free ringtones for cricket] [http://led-autolight.com/cache/Car_Air_Compressor/mnfwos.html free hilton paris sex video] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/iwvpsa.html kathryn macgregor] [http://troop270.com/site/cache/tmp/cogfvi.html amateur teen sex] [http://arrastaocountry.com.br/phpchat/chat/localization/danish/image/doumbx.html gaskets] [http://sacapuntos.com/avatars-local/0/images/mcimmk.html addicting game] [http://www.schmittziesart.de/gbook2/fonts/image/phmtqu.html omarion pictures] [http://dreadneck.com/gallery3/upgrade/image/gdatcb.html olympus stylus] [http://rubber-plastics-manufacturers.com/cp/avatars/rkukll.html firetrucks] [http://sacapuntos.com/avatars-local/0/images/ttfhns.html sportsbook] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/ucmvkp.html watch uncut music videos] [http://www.anime-extreme.net/images/avatar/smiles/rmqoxe.html kenalog in orabase] [http://snowclubs.com/nyssa/mojo/image/wpxlfg.html sex scenes] [http://www.schmittziesart.de/gbook2/fonts/image/jfumhw.html linen outlet] [http://snowclubs.com/nyssa/mojo/image/bcbocd.html extacy] [http://affectplus.com/sessions/cache/dvjoue.html tuning hummer] [http://www.schmittziesart.de/gbook2/fonts/image/tqenpc.html big cock] [http://marzeporgohar.org/folders/folder_23/image/kpkvsk.html buy denavir online] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/abjogw.html angelz bratz rock] [http://mqantiques.com/aboutchinese/contact/jcuwpv.html philippines news] [http://cosmickaos.com/kaosguestbook/backups/cache/lkkqxi.html protein diet] [http://naturalspascanada.com/lma/templates/image/bxnfsr.html hawaii air travel] [http://marzeporgohar.org/folders/folder_23/image/etvubt.html vtech phones] [http://www.schmittziesart.de/gbook2/fonts/image/ggqrns.html realestate] [http://wecareforkids.org/fundraisers-2005/image/dlouhj.html good sex position] [http://troop270.com/site/cache/tmp/rphniq.html t mobile sidekick 2] [http://led-autolight.com/cache/Car_Air_Compressor/sxvavo.html casting calls] [http://cripo-ua.com/dump/backup/cache/wsssru.html birkbeck university of london] [http://cripo-ua.com/dump/backup/cache/lqqkgk.html off road jeep wranglers] [http://www.mavis-crafts.com/highcross-old/components/image/krjlqf.html rack room shoes] [http://affectplus.com/sessions/cache/leksuu.html italian shoes] [http://naturalspascanada.com/lma/templates/image/vneeta.html anal] [http://www.mavis-crafts.com/highcross-old/components/image/vtipqb.html gag gift] [http://snowclubs.com/nyssa/mojo/image/kemxfo.html generator] [http://rgvtechs.com/Autos/images/gif/rnsjlm.html medical coding] [http://household-manufacturers.com/writing_board/image/xjkqhh.html anderson windows] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/ldxcsw.html ford bronco] [http://cosmickaos.com/kaosguestbook/backups/cache/wplqgu.html alltel cellular phone] [http://pfadfinder-s8.org/mailinglist/attachments/image/rtgxmw.html cake recipes] [http://testmeter.co.uk/sitemap/data/image/iwqldu.html thyroid] [http://bigskyregion.org/ExtCalendar/include/image/ucltat.html ge auto warranty] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/ltnqcb.html webcam strippers] [http://affectplus.com/sessions/cache/tqjtrh.html chanel handbag replica] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/tmmxxu.html dating internet service] [http://mayafoods.com/shop/catalog/temp/text/sdjjua.html jordan shoes collection] [http://troop270.com/site/cache/tmp/mgmkxh.html mp3 file] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/acpaxm.html pornoxxx] [http://dreadneck.com/gallery3/upgrade/image/dhjgvq.html www amr khaled] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/oqvqro.html powerrangers] [http://cripo-ua.com/dump/backup/cache/qkeuki.html cabelas 4x4 offroad] [http://f-ccc-zion.com/ExtCalendar/include/image/xfapjc.html buy vicodin] [http://led-autolight.com/cache/Car_Air_Compressor/cilfsw.html big black women] [http://dreadneck.com/gallery3/upgrade/image/kkqsix.html rack room shoes] [http://dreadneck.com/gallery3/upgrade/image/ekeqee.html free to air] [http://naturalspascanada.com/lma/templates/image/poedmw.html buy xenical uk] [http://troop270.com/site/cache/tmp/iwkibx.html free ringtones for net10 phones] [http://bigskyregion.org/ExtCalendar/include/image/epdnxb.html downloads sex] [http://dottaauction.com/photos/2006-359/image/qwtkmb.html kannada torrent] [http://snowclubs.com/nyssa/mojo/image/tjmaga.html sexy single man] [http://bigskyregion.org/ExtCalendar/include/image/fjwjug.html brianna banks] [http://eqia.com/bank/image/dftghd.html sealy mattress] [http://www.anime-extreme.net/images/avatar/smiles/pawajd.html swinger sex pictures] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/dkeuro.html disney coloring pages] [http://bigskyregion.org/ExtCalendar/include/image/emxtqq.html benicar] [http://www.n373n.net/vb/customprofilepics/image/hxcvbi.html homebuilt cnc] [http://f-ccc-zion.com/ExtCalendar/include/image/iniaop.html free funny videos] [http://travelersrest.org/admin/upload/image/bmigmd.html hydroxyzine] [http://rgvtechs.com/Autos/images/gif/elvihs.html sex comic] [http://mayafoods.com/shop/catalog/temp/text/bidluk.html nissan pathfinder review] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/shlxua.html men health] [http://cosmetic-packaging-manufacturers.com/cache/any/cvajev.html air portugal] [http://arrastaocountry.com.br/phpchat/chat/localization/danish/image/qjmpgu.html sofa] [http://led-autolight.com/cache/Car_Air_Compressor/kidgwf.html bearshare key] [http://cripo-ua.com/dump/backup/cache/nvhfxq.html free antivirus download] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/hmsadb.html hotel lancelot rome] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/bxchow.html pantoprazole] [http://socks-manufacturers.com/about/image/advqqq.html free screensaver download] [http://www.schmittziesart.de/gbook2/fonts/image/dldpqn.html gift] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/mwenge.html seadoo parts] [http://rgvtechs.com/Autos/images/gif/gjnbll.html gucci bags] [http://f-ccc-zion.com/ExtCalendar/include/image/cvipwg.html diamox] [http://bigskyregion.org/ExtCalendar/include/image/cijjxo.html pantyhose sex] [http://dottaauction.com/photos/2006-359/image/hbweno.html mobile home values] [http://cripo-ua.com/dump/backup/cache/faurtw.html country decorating idea] [http://mqantiques.com/aboutchinese/contact/gkdkvc.html birkenstock shoes] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/dcjxnb.html big black dicks] {| 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 footprints from the bottom view which can lead to mirrored and incorrect FPs.
 
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.
  
<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]]

Revision as of 14:32, 25 August 2011

Relay

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


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.

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.

Documents

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.

Manufacturer Info

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


Related Items

Further Reading