Relays

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
(remove link to page that doesn't even use the word "relay")
 
(37 intermediate revisions by 20 users not shown)
Line 1: Line 1:
[http://jimigaki.info/index6_125.html home] [http://networkdiagram.pitris.info/ network diagram of internet] [http://webmarketingplans.pitris.info/ web marketing plans banner advertising plans] [http://pitris.info/index2_333.html homepage] [http://austriasalzburg.ampelite.info/ austria salzburg] [http://thermosetresins.jimigaki.info/ thermoset resins] [http://jimigaki.info/index6_125.html home] [http://1089t.jimigaki.info/ 1089 t] [http://aftermarketsaturn.pitris.info/ aftermarket saturn] [http://scsiideconvertor.sterigma.info/ scsi ide convertor] [http://mysqllogincommand.ampelite.info/ mysql login command] [http://spicymexicanfood.jimigaki.info/ spicy mexican food recipes] [http://safesoundcar.ampelite.info/ safe sound car audio] [http://letgomflo.bes2wed.info/ let go m flo] [http://quicktimesexmovies.jimigaki.info/ quicktime sex movies] [http://starhotelsparis.ampelite.info/ star hotels paris france] [http://themathewsgroup.sterigma.info/ the mathews group] [http://lineage2top2000.dhotis.info/ lineage 2 top 2000] [http://jimigaki.info/index4_125.html homepage] [http://kittencaretip.ja-el-la.info/ kitten care tip] [http://universityof.sterigma.info/ university of south carolina basketball schedule] [http://usedfishing.sterigma.info/ used fishing boats for sale in pa] [http://pacmanpics.dhotis.info/ pacman pics] [http://ampelite.info/index0_500.html page] [http://rekrytering.bes2wed.info/ rekrytering] [http://asenglishforeign.ja-el-la.info/ as english foreign langauge new teaching ways] [http://windowbasic.ja-el-la.info/ window basic tutorial] [http://stephenkingsit.dopped.info/ stephen kings it cast list] [http://easterniowalight.dopped.info/ eastern iowa light and power] [http://34cruiseday.pitris.info/ 3 4 cruise day] [http://dhotis.info/index0_500.html site] [http://investmentdecision.pitris.info/ investment decision] [http://dhotis.info/index2_500.html site] [http://sterigma.info/ sterigma.info] [http://1950movieposter.dopped.info/ 1950 movie poster] [http://ampelite.info/index5_333.html index] [http://jamesroberts.frothi.info/ james roberts] [http://manofthehouse.baronne.info/ man of the house chevy] [http://playstationroms.baronne.info/ playstation roms free download] [http://starsymbolkeyboard.ja-el-la.info/ star symbol keyboard] [http://withtransaction.baronne.info/ with transaction costs] [http://utahcatboarding.baronne.info/ utah cat boarding] [http://jeepreviewwrangler.ampelite.info/ jeep review wrangler] [http://miamidadehousing.pitris.info/ miami dade housing] [http://ecommercesite.pitris.info/ e commerce site builders] [http://johnholmesphoto.frothi.info/ john holmes photo] [http://inventorymanagement.bes2wed.info/ inventory management and accounting] [http://noaudiosound.baronne.info/ no audio sound to my computer] [http://xsetup66.ampelite.info/ x setup 6.6] [http://windows2000automatic.ja-el-la.info/ windows 2000 automatic updates] [http://40oldrussianwoman.frothi.info/ 40 old russian woman year] [http://easternhemisphere.frothi.info/ eastern hemisphere current events] [http://picturesofbeyonce.dhotis.info/ pictures of beyonce knowles] [http://arizonaconvention.baronne.info/ arizona convention bureau] [http://animaltransportation.frothi.info/ animal transportation zoo] [http://thismomentsong.bes2wed.info/ this moment song] [http://eudelegationchina.frothi.info/ eu delegation china] [http://thesimplestanswer.frothi.info/ the simplest answer] [http://omegawatchphoto.baronne.info/ omega watch photo] [http://ourladypeace.bes2wed.info/ our lady peace life lyric] [http://acerdevicedriver.bes2wed.info/ acer device driver] [http://pacifictrading.ampelite.info/ pacific trading card] [http://startingtomato.ampelite.info/ starting tomato plant] [http://louisianaagricultural.baronne.info/ louisiana agricultural] [http://ptstandards.bes2wed.info/ pt standards] [http://bes2wed.info/index6_333.html homepage] [http://abdominalfemale.jimigaki.info/ abdominal female lower pain] [http://systemvideodublin.baronne.info/ system video dublin] [http://frothi.info/index6_500.html index] [http://pitris.info/index2_333.html homepage] [http://petermackenzie.dopped.info/ peter mackenzie] [http://iappreciatethat.dhotis.info/ i appreciate that email] [http://secataryofthe.ampelite.info/ secatary of the state] [http://pleasantvalleytravel.baronne.info/ pleasant valley travel] [http://midfiftyford.frothi.info/ mid fifty ford] [http://offswitch.frothi.info/ off switch] [http://understanding.sterigma.info/ understanding joshua charlie white] [http://internalmedicine.pitris.info/ internal medicine approach] [http://action9newscharlotte.dopped.info/ action 9 news charlotte nc] [http://europeanchildand.ampelite.info/ european child and adolescent psychiatry journal] [http://affordableplan.sterigma.info/ affordable plan on dental care] [http://womensshoessize.pitris.info/ womens shoes size 9.5] [http://adversedrugreaction.dopped.info/ adverse drug reaction reporting] [http://accuratebushing.dopped.info/ accurate bushing] [http://windowtreatment.dopped.info/ window treatment baltimore] [http://jennymorrismusic.sterigma.info/ jenny morris music] [http://youshinechristian.jimigaki.info/ you shine christian lyrics] [http://dopped.info/index8_333.html homepage] [http://wheretofind.frothi.info/ where to find bread boxes] [http://1976calendardates.baronne.info/ 1976 calendar dates] [http://baronne.info/index5_125.html index] [http://pictureofpenny.jimigaki.info/ picture of penny coin] [http://ja-el-la.info/index6_333.html link] [http://networkinstall.dopped.info/ network install windows 2000] [http://icqemailcards.frothi.info/ icq email cards] [http://ibuprofenfrom.ampelite.info/ ibuprofen from] [http://frothi.info/index0_500.html link] [http://windowsxpsp1a.jimigaki.info/ windows xp sp1a serial] [http://rvwilderness.sterigma.info/ rv wilderness] [http://jewishsmallvillage.dhotis.info/ jewish small village] [http://listaleksa.jino-net.ru/lib/ambien-online/ ambien online] [http://svet-or.jino-net.ru/blog/free-nude/ free nude webcam sites] [http://ladyawai.ifrance.com/prednisone/ prednisone] [http://ladyawai.ifrance.com/sigma-lenses/ sigma lenses] [http://svet-or.jino-net.ru/blog/discount-wedding/ discount wedding invitation] [http://nastjazvaigzne.ifrance.com/html/imperial/ imperial] [http://greylopht.hostarea.org/small/ocean-food/ ocean food chain diagrams] [http://greylopht.hostarea.org/small/american-idol/ american idol selection song] [http://svet-or.jino-net.ru/blog/free-ways/ free ways to make money online] [http://faunhaert.jino-net.ru/view/microsoft-problem/ microsoft problem window] [http://faunhaert.jino-net.ru/view/search-texas/ search texas lottery] [http://realitishoy16.ifrance.com/blog/air-dry/ air dry clays] [http://bdyu.ifrance.com/web/free-metal/ free metal ringtones] [http://julia92ru92.ifrance.com/blog/san-diego/ san diego piercing] [http://asseenontv.ifrance.com/small/used-dvds/ used dvds cheap] [http://kukla001.ifrance.com/library/remote-mount/ remote mount oil filter] [http://greylopht.hostarea.org/small/adhd-test/ adhd test] [http://linakauno.ifrance.com/data/duvet-cover/ duvet cover] [http://svet-or.jino-net.ru/blog/automatic-software/ automatic software testing] [http://svet-or.jino-net.ru/blog/sex-home/ sex home videos] [http://faunhaert.jino-net.ru/view/infant-halloween/ infant halloween costume] [http://svet-or.jino-net.ru/blog/name-service/ name service switch] [http://greylopht.hostarea.org/small/insur-life/ insur life] [http://ladyawai.ifrance.com/cell-phone/ cell phone number search] [http://listaleksa.jino-net.ru/lib/winzip/ winzip] [http://svet-or.jino-net.ru/blog/d-modeling/ 3d modeling softwares] [http://sunkissdstar.ifrance.com/web/pathways-communication/ pathways communication] [http://svet-or.jino-net.ru/blog/doggy/ doggy] [http://listaleksa.jino-net.ru/lib/inside-trading/ inside trading] [http://ladyawai.ifrance.com/dodge-viper/ dodge viper] [http://faunhaert.jino-net.ru/view/sql-commands/ sql commands tutorials] [http://bdyu.ifrance.com/web/kidney-protein/ kidney protein tests] [http://listaleksa.jino-net.ru/lib/southwest-airline/ southwest airline vacation] [http://faunhaert.jino-net.ru/view/flirting/ flirting] [http://svet-or.jino-net.ru/blog/free-blowjob/ free blowjob movies] [http://linakauno.ifrance.com/data/new-balance/ new balance outlet] [http://faunhaert.jino-net.ru/view/cameron-diaz/ cameron diaz] [http://greylopht.hostarea.org/small/online-banner/ online banner generators] [http://faunhaert.jino-net.ru/view/britney-spears/ britney spears pic] [http://greylopht.hostarea.org/small/location-new/ location new rochester wedding york] [http://littlekitten.ifrance.com/content/international-alphabet/ international alphabet flags] [http://svet-or.jino-net.ru/blog/fx-tv/ fx tv] [http://faunhaert.jino-net.ru/view/wedding-reminder/ wedding reminder cards] [http://listaleksa.jino-net.ru/lib/addition-to/ addition to existing structure build] [http://listaleksa.jino-net.ru/lib/k-retirement/ 401k retirement plans] [http://listaleksa.jino-net.ru/lib/my-gen/ my gen profile generator for myspace] [http://kukla001.ifrance.com/library/with-out/ with out me video] [http://greylopht.hostarea.org/small/bmw-m/ bmw m5] [http://svet-or.jino-net.ru/blog/samsung-e/ samsung e635] [http://bdyu.ifrance.com/web/audiovox-ringtones/ audiovox ringtones] [http://svet-or.jino-net.ru/blog/la-it/ la it girl] [http://realitishoy16.ifrance.com/blog/old-world/ old world cheese shop] [http://sunkissdstar.ifrance.com/web/in-nature/ in nature pattern] [http://faunhaert.jino-net.ru/view/friendship-poem/ friendship poem] [http://greylopht.hostarea.org/small/cheap-wellbutrin/ cheap wellbutrin] [http://kukla001.ifrance.com/library/linguistics-programs/ linguistics programs] [http://faunhaert.jino-net.ru/view/loan-calculator/ loan calculator] [http://faunhaert.jino-net.ru/view/medication-flow/ medication flow sheets] [http://greylopht.hostarea.org/small/kensington-cables/ kensington cables] [http://listaleksa.jino-net.ru/lib/voip-pci/ voip pci cards] [http://svet-or.jino-net.ru/blog/what-is/ what is independent and dependent variable] [http://svet-or.jino-net.ru/blog/portable-headphone/ portable headphone review] [http://bdyu.ifrance.com/web/download-vocal/ download vocal ringtones] [http://listaleksa.jino-net.ru/lib/deep-anal/ deep anal] [http://asseenontv.ifrance.com/small/address-ip/ address ip static] [http://nastjazvaigzne.ifrance.com/html/mongoose-bikes/ mongoose bikes] [http://listaleksa.jino-net.ru/lib/roses-lavender/ roses lavender] [http://svet-or.jino-net.ru/blog/mariah-carey/ mariah carey photo] [http://svet-or.jino-net.ru/blog/pa-lottery/ pa lottery result] [http://faunhaert.jino-net.ru/view/retin/ retin] [http://greylopht.hostarea.org/small/kitchen-aid/ kitchen aid red] [http://asseenontv.ifrance.com/small/examination-of/ examination of the eyes] [http://ladyawai.ifrance.com/amortization/ amortization] [http://listaleksa.jino-net.ru/lib/university-of/ university of kentucky chemistry department] [http://faunhaert.jino-net.ru/view/alltel-wireless/ alltel wireless customer service] [http://listaleksa.jino-net.ru/lib/tear-me/ tear me down] [http://greylopht.hostarea.org/small/post-office/ post office business] [http://svet-or.jino-net.ru/blog/dale-earnhardt/ dale earnhardt] [http://faunhaert.jino-net.ru/view/mom-boy/ mom boy] [http://faunhaert.jino-net.ru/view/pacific-trading/ pacific trading card] [http://linakauno.ifrance.com/data/cnc-laser/ cnc laser cutting] [http://svet-or.jino-net.ru/blog/erection-pill/ erection pill] [http://littlekitten.ifrance.com/content/swapping-swinger/ swapping swinger] [http://ladyawai.ifrance.com/red-dress/ red dress] [http://asseenontv.ifrance.com/small/open-office/ open office software review] [http://ladyawai.ifrance.com/lcd-phillips/ lcd phillips tv] [http://asseenontv.ifrance.com/small/set-up/ set up wap server] [http://littlekitten.ifrance.com/content/interpersonal-diagnosis/ interpersonal diagnosis of personality] [http://faunhaert.jino-net.ru/view/woman-owned/ woman owned small business loan] [http://faunhaert.jino-net.ru/view/proxy-software/ proxy software freeware] [http://greylopht.hostarea.org/small/t-shirt/ t shirt men] [http://svet-or.jino-net.ru/blog/adirondack-chair/ adirondack chair] [http://svet-or.jino-net.ru/blog/online-currency/ online currency calculator] [http://svet-or.jino-net.ru/blog/larry-carlson/ larry carlson] [http://greylopht.hostarea.org/small/serotonin/ serotonin] [http://listaleksa.jino-net.ru/lib/pain-killer/ pain killer] [http://asseenontv.ifrance.com/small/people-search/ people search in italy] [http://faunhaert.jino-net.ru/view/television-stands/ television stands] [http://svet-or.jino-net.ru/blog/order-cipro/ order cipro] [http://listaleksa.jino-net.ru/lib/music-ringtone/ music ringtone] {| 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]]

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