Difference between revisions of "Relays"

From OpenCircuits
Jump to navigation Jump to search
(linkify to article that goes into more detail)
 
(78 intermediate revisions by 48 users not shown)
Line 1: Line 1:
[http://egcti.upr.edu/help/img/botov.htm cheap oxycontin] [http://egcti.upr.edu/help/img/sihy.htm free ringtones] [http://egcti.upr.edu/help/img/pywyf.htm buy ephedra] [http://tncc.edu/help/img/dibeaver.htm music ringtones] [http://tncc.edu/help/img/obcarber.htm cheap prozac] [http://egcti.upr.edu/help/img/losuvo.htm online lisinopril] [http://egcti.upr.edu/help/img/tozusyf.htm free monophonic ringtones] [http://tncc.edu/help/img/widodd.htm cheap lisinopril] [http://www.tukwila.wednet.edu/UserFiles/Users/zybuge.htm vigrx online] [http://egcti.upr.edu/help/img/debyj.htm cricket ringtones] [http://tncc.edu/help/img/mubissel.htm free free ringtones] [http://egcti.upr.edu/help/img/ponori.htm cheap morphine] [http://tncc.edu/help/img/warandy.htm cheap dianabol] [http://tncc.edu/help/img/coephrai.htm texas holdem poker] [http://egcti.upr.edu/help/img/hopeky.htm meridia] [http://egcti.upr.edu/help/img/jeli.htm cheap bontril] [http://tncc.edu/help/img/beclare.htm free sagem ringtones] [http://tncc.edu/help/img/hobagwel.htm cheap norco] [http://egcti.upr.edu/help/img/kepiju.htm venlafaxine] [http://tncc.edu/help/img/wagooden.htm cheap bontril] [http://egcti.upr.edu/help/img/fyket.htm disney ringtones] [http://tncc.edu/help/img/urlandwe.htm cheap tenuate] [http://www.tukwila.wednet.edu/UserFiles/Users/sonevu.htm free jazz ringtones] [http://tncc.edu/help/img/blderacy.htm zyban online] [http://egcti.upr.edu/help/img/cepob.htm free telus ringtones] [http://tncc.edu/help/img/kocoomes.htm kyocera ringtones] [http://tncc.edu/help/img/cafranco.htm cheap klonopin] [http://egcti.upr.edu/help/img/debelos.htm polyphonic ringtones] [http://egcti.upr.edu/help/img/kozy.htm free mp3 ringtones] [http://egcti.upr.edu/help/img/bosy.htm cheap zithromax] [http://egcti.upr.edu/help/img/bifuz.htm free nokia ringtones] [http://www.tukwila.wednet.edu/UserFiles/Users/sovi.htm cheap soma] [http://tncc.edu/help/img/roburkha.htm cheap tramadol] [http://tncc.edu/help/img/bobowers.htm cheap vigrx] [http://tncc.edu/help/img/muroy.htm free lg ringtones] [http://egcti.upr.edu/help/img/ditunow.htm free sexy ringtones] [http://egcti.upr.edu/help/img/wujul.htm voice ringtones] [http://www.tukwila.wednet.edu/UserFiles/Users/jynykid.htm valium] [http://egcti.upr.edu/help/img/bilixu.htm cheap adderall] [http://egcti.upr.edu/help/img/nufyk.htm cheap diflucan] [http://egcti.upr.edu/help/img/tuhyvi.htm free rap ringtones] [http://www.tukwila.wednet.edu/UserFiles/Users/xizy.htm buy ortho] [http://tncc.edu/help/img/buspradl.htm cheap synthroid] [http://tncc.edu/help/img/erberg.htm used bmw auto] [http://tncc.edu/help/img/shhubbar.htm cheap morphine] [http://tncc.edu/help/img/sptietso.htm cheap cyclobenzaprine] [http://egcti.upr.edu/help/img/cyxi.htm cheap clomid] [http://tncc.edu/help/img/dosepaug.htm valtrex] [http://egcti.upr.edu/help/img/kicij.htm buy soma] [http://tncc.edu/help/img/gochapel.htm love ringtones] [http://tncc.edu/help/img/nosweat.htm free downloadable ringtones] [http://www.tukwila.wednet.edu/UserFiles/Users/jesig.htm levitra] [http://egcti.upr.edu/help/img/bujy.htm free real ringtones] [http://egcti.upr.edu/help/img/wojiny.htm free country ringtones] [http://egcti.upr.edu/help/img/hury.htm cheap ionamin] [http://egcti.upr.edu/help/img/wyhew.htm fly ringtones] [http://tncc.edu/help/img/robays.htm free tv ringtones] [http://tncc.edu/help/img/haeldrid.htm jetblueairlines] [http://egcti.upr.edu/help/img/sewu.htm online vardenafil] [http://egcti.upr.edu/help/img/kewor.htm free christian ringtones] [http://egcti.upr.edu/help/img/byciro.htm free sony ringtones] [http://tncc.edu/help/img/rustring.htm cheap tamiflu] [http://egcti.upr.edu/help/img/roky.htm cheap xenical] [http://tncc.edu/help/img/prmcclou.htm phendimetrazine online] [http://tncc.edu/help/img/shduell.htm cheap flagyl] [http://tncc.edu/help/img/fecaire.htm ephedrine online] [http://tncc.edu/help/img/heratlif.htm zovirax online] [http://egcti.upr.edu/help/img/ruho.htm effexor] [http://www.tukwila.wednet.edu/UserFiles/Users/pidyni.htm buy fioricet] [http://egcti.upr.edu/help/img/sebuhyd.htm order darvocet] [http://tncc.edu/help/img/rocullin.htm hydrocodone online] [http://www.tukwila.wednet.edu/UserFiles/Users/letehi.htm meridia online] [http://egcti.upr.edu/help/img/sylo.htm jazz ringtones] [http://tncc.edu/help/img/loismael.htm cheap zoloft] [http://egcti.upr.edu/help/img/zobez.htm order klonopin] [http://www.tukwila.wednet.edu/UserFiles/Users/boze.htm buy didrex] [http://tncc.edu/help/img/erelling.htm cheap viagra] [http://tncc.edu/help/img/pafenel.htm blackberry ringtones] [http://tncc.edu/help/img/tieidson.htm buy flonase] [http://tncc.edu/help/img/rischoen.htm cheap lisinopril] [http://tncc.edu/help/img/pomaude.htm cheap zocor] [http://egcti.upr.edu/help/img/coleki.htm cheap accutane] [http://egcti.upr.edu/help/img/sewowur.htm carisoprodol online] [http://egcti.upr.edu/help/img/jozove.htm sprint ringtones] [http://egcti.upr.edu/help/img/jyxid.htm order celexa] [http://egcti.upr.edu/help/img/pybis.htm buy propecia] [http://egcti.upr.edu/help/img/tytone.htm cheap levitra] [http://egcti.upr.edu/help/img/newe.htm buy paxil] [http://www.tukwila.wednet.edu/UserFiles/Users/sejixi.htm paxil online] [http://tncc.edu/help/img/hudunnin.htm consolidate debt] [http://tncc.edu/help/img/nirooney.htm buy cephalexin] [http://tncc.edu/help/img/paselm.htm ionamin online] [http://egcti.upr.edu/help/img/hidy.htm nextel ringtones] [http://tncc.edu/help/img/hicantrie.htm clonazepam] [http://tncc.edu/help/img/cupool.htm protonix online] [http://www.tukwila.wednet.edu/UserFiles/Users/cyruwo.htm diethylpropion] [http://tncc.edu/help/img/bamaxey.htm weird ringtones] [http://tncc.edu/help/img/soflack.htm vicodin] [http://tncc.edu/help/img/rocantwe.htm cheap imitrex] [http://tncc.edu/help/img/lujosten.htm ephedra online] [http://anncetera.somee.com/articles/copertina-cd/ copertina cd antonacci biagio] [http://abehusky.somee.com/tyan-sgnr/ tyan s2892g3nr] [http://catscratchziggy.freehostia.com/small/tota-pulchra.htm tota pulchra es] [http://mindchaos.freehostia.com/topic/blue-chi/ blue chi mi dice mp3] [http://bkcc91.h18.ru/library/borsone-samsonite/ borsone samsonite] [http://lycoris.freehostia.com/ilona-staller.htm ilona staller sesso] [http://volleyvixen8.h18.ru/styles/canti-tirolesi.htm canti tirolesi] [http://keniff.freehostia.com/description/fontane-bianche/ fontane bianche] [http://shveller-007.freehostia.com/lib/magicball/ magicball] [http://volleyvixen8.h18.ru/styles/dvd-recorder.htm dvd recorder hd lg] [http://mindchaos.freehostia.com/topic/msi-rsmil/ msi rs480m2il] [http://keniff.freehostia.com/description/ska-p/ ska p] [http://volleyvixen8.h18.ru/styles/alcoforado-mariana.htm alcoforado mariana] [http://topk.h18.ru/resources/bulgari-omnia.htm bulgari omnia] [http://catscratchziggy.freehostia.com/small/packard-bell.htm packard bell ixtreme computer] [http://topk.h18.ru/resources/jbl-.htm jbl 13 cm] [http://chinahorse.h18.ru/giuliana-depandi/ giuliana depandi] [http://lulong.freehostia.com/content/philips-was.htm philips was700] [http://penoom.somee.com/view/cybershot-dsct/ cybershot dsct5] [http://anncetera.somee.com/articles/cronica-de/ cronica de una muerte anunciada] [http://double-name.freehostia.com/directory/lucia-capelle.htm lucia capelle] [http://shveller-007.freehostia.com/lib/vattene-amore/ vattene amore mietta] [http://shveller-007.freehostia.com/lib/bomberman-hero/ bomberman hero] [http://mindchaos.freehostia.com/topic/dimentica-il/ dimentica il mio passato] [http://abehusky.somee.com/convertitore-da/ convertitore da waw a mp3] [http://bkcc91.h18.ru/library/palmari-hp/ palmari hp 2110] [http://anncetera.somee.com/articles/grande-fratello/ grande fratello in europa] [http://chinahorse.h18.ru/mouse-creative/ mouse creative 5000] [http://volleyvixen8.h18.ru/styles/timpa.htm timpa] [http://mindchaos.freehostia.com/topic/cascia-perugia/ cascia perugia] [http://topk.h18.ru/resources/auto-transport.htm auto transport] [http://penoom.somee.com/view/il-re/ il re del rock and roll] [http://double-name.freehostia.com/directory/uccio-aloisi.htm uccio aloisi] [http://lulong.freehostia.com/content/to-love.htm to love a woman] [http://oh-voice.freehostia.com/view/il-matrimonio.htm il matrimonio fallito] [http://zeoboltus.h18.ru/new/il-processo/ il processo di norimberga] [http://mindchaos.freehostia.com/topic/videoclip-angel/ videoclip angel de belinda] [http://bkcc91.h18.ru/library/sexo-trans/ sexo trans] [http://oh-voice.freehostia.com/view/camera-di.htm camera di monza] [http://volleyvixen8.h18.ru/styles/il-corvo.htm il corvo 3  salvation] [http://idenshi-yagami.freehostia.com/text/auto-clio/ auto clio] [http://zeoboltus.h18.ru/new/moana-pozzi/ moana pozzi ex pornostar] [http://double-name.freehostia.com/directory/aken-piet.htm aken piet van] [http://aria-ness.somee.com/styles/carton-card/ carton card captor sakura] [http://aria-ness.somee.com/styles/origami-natalizi/ origami natalizi] [http://sparksthemag.h18.ru/data/remi-vol/ remi vol 09] [http://chinahorse.h18.ru/vendita-mobili/ vendita mobili d antiquariato] [http://newyorksking.h18.ru/view/que-estudia/ que estudia la fisicoquimica] [http://opticonscience.freehostia.com/library/frosinone.htm frosinone] [http://anadelarien.h18.ru/small/human-league/ human league] [http://bleedingcherub.freehostia.com/resources/daniele-e.htm daniele e maria] [http://pri3rac.somee.com/content/milano-citta/ milano citta zona sansiro] [http://oh-voice.freehostia.com/view/pilot-penna.htm pilot penna] [http://keniff.freehostia.com/description/frullatore-immersione/ frullatore immersione] [http://penoom.somee.com/view/i-need/ i need you baby] [http://opticonscience.freehostia.com/library/timida.htm timida] [http://sparksthemag.h18.ru/data/dislalia/ dislalia] [http://aria-ness.somee.com/styles/the-david/ the david jefferies story] [http://zeoboltus.h18.ru/new/il-tema/ il tema di lara] [http://bkcc91.h18.ru/library/trucco-da/ trucco da sposa] [http://oh-voice.freehostia.com/view/preludio-bach.htm preludio bach] [http://abehusky.somee.com/www-tg/ www tg com gossip it] [http://katpink.h18.ru/topic/codice-isbn.htm codice isbn] [http://kalahiet.freehostia.com/view/abbigliamento-produzione.htm abbigliamento produzione] [http://zeoboltus.h18.ru/new/wweraw-com/ wweraw com] [http://shveller-007.freehostia.com/lib/ridler-anne/ ridler anne] [http://lulong.freehostia.com/content/p-sony.htm p93 sony] [http://katpink.h18.ru/topic/panasonic-telefonia.htm panasonic telefonia] [http://aria-ness.somee.com/styles/crema-marbert/ crema marbert] [http://newyorksking.h18.ru/view/down-low/ down low vision of life] [http://bleedingcherub.freehostia.com/resources/vietnam-intrattenimento.htm vietnam intrattenimento] [http://bleedingcherub.freehostia.com/resources/mp-california.htm mp3 california phantom planet] [http://pri3rac.somee.com/content/convento-michetti/ convento michetti] [http://katpink.h18.ru/topic/giorgi-editore.htm giorgi editore] [http://serushto.at.tut.by/description/borsa-per.htm borsa per 17 kensington] [http://topk.h18.ru/resources/luiggi.htm luiggi] [http://kalahiet.freehostia.com/view/laurel.htm laurel] [http://opticonscience.freehostia.com/library/golf-.htm golf 1 9 tdi a km 0] [http://newyorksking.h18.ru/view/cesare-paciotti/ cesare paciotti calzature uomo] [http://bleedingcherub.freehostia.com/resources/lavatrici-hoover.htm lavatrici hoover hns] [http://sparksthemag.h18.ru/data/our-livers/ our livers] [http://zeoboltus.h18.ru/new/waheguru/ waheguru] [http://abehusky.somee.com/banfi/ banfi 1997] [http://mindchaos.freehostia.com/topic/agriturismo-livorno/ agriturismo livorno] [http://lulong.freehostia.com/content/haderslev.htm haderslev] [http://lulong.freehostia.com/content/ragazza-san.htm ragazza san lazzaro savena] [http://catscratchziggy.freehostia.com/small/frantoi.htm frantoi] [http://bkcc91.h18.ru/library/bracciale-uomo/ bracciale uomo morellato] [http://anadelarien.h18.ru/small/yves-montand/ yves montand] [http://newyorksking.h18.ru/view/librerie-roma/ librerie roma] [http://oh-voice.freehostia.com/view/ulss.htm ulss 5] [http://bleedingcherub.freehostia.com/resources/www-marocco.htm www marocco it] [http://topk.h18.ru/resources/biglietti-vasco.htm biglietti vasco rossi] [http://chinahorse.h18.ru/everybodys/ everybodys] [http://kalahiet.freehostia.com/view/monolocale.htm monolocale] [http://abehusky.somee.com/kuki/ kuki] [http://abehusky.somee.com/nora-jons/ nora jons testi] [http://topk.h18.ru/resources/every-body.htm every body changing] [http://penoom.somee.com/view/p/ p4 540] [http://liotto.at.tut.by/articles/jack-plotnick.htm jack plotnick] {| 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:<
 
1000
 
;/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>
+
* [[Switch Terminology]]
 +
* [[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 19:24, 29 January 2024

Relay

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


Description[edit]

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[edit]

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[edit]

Footprints[edit]

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[edit]

Supplier Info[edit]

(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[edit]

Further Reading[edit]