Difference between revisions of "Relays"

From OpenCircuits
Jump to navigation Jump to search
(linkify to article that goes into more detail)
 
(40 intermediate revisions by 21 users not shown)
Line 1: Line 1:
[http://elalunabusso.ronyon.info/ e la luna busso] [http://prestitocastelfranco.ronyon.info/ prestito castelfranco veneto] [http://berhym.info/index8_1000.html index] [http://berhym.info/index5_666.html url] [http://lastradasbagliata.ercast.info/ la strada sbagliata] [http://scypus.info/ scypus.info] [http://laforetcarmen.unbak.info/ laforet carmen] [http://assicurazioneberlin.unbak.info/ assicurazione berlin] [http://scannerepson.embrac.info/ scanner epson 1680] [http://unmanagedethernet.unbak.info/ unmanaged ethernet switch] [http://charangahabanera.sprag.info/ charanga habanera] [http://ilgrandeincubo.embrac.info/ il grande incubo] [http://toyotaravd4d5p.ronyon.info/ toyota rav d4d 5 p] [http://rav4aroma.ronyon.info/ rav4 a roma] [http://gara.unbak.info/ gara] [http://aficio200.unbak.info/ aficio 200] [http://audi6.scypus.info/ audi 6] [http://webcammonaco.scypus.info/ webcam monaco] [http://cruciverbatema.rotic.info/ cruciverba tema] [http://peugeot407annunci.embrac.info/ peugeot 407 annunci] [http://veronaenenti.scypus.info/ verona enenti] [http://crapapelata.scypus.info/ crapa pelata] [http://oki393.ercast.info/ oki 393] [http://soldatoamericano.sprag.info/ soldato americano] [http://gpscellularefotocamera.embrac.info/ gps cellulare fotocamera] [http://mulinellidapesca.boyro.info/ mulinelli da pesca shimano] [http://lgdvd-rw.unbak.info/ lg dvd -rw] [http://agriturismopalermo.berhym.info/ Agriturismo palermo e provincia] [http://grappariserva.boyro.info/ grappa riserva] [http://killbill1-2.nytromobile.info/ kill bill 1 -2] [http://nytromobile.info/ nytromobile.info] [http://ronyon.info/ ronyon.info] [http://exchangeserver2003.sprag.info/ exchange server 2003] [http://sprag.info/index3_250.html site] [http://justmyimagination.rotic.info/ just my imagination cranberries] [http://anmmanfashion.boyro.info/ anm man fashion] [http://baralecalendario.berhym.info/ barale calendario] [http://agp4xtvout.boyro.info/ agp 4x tv out] [http://nostalgiademilan.ronyon.info/ nostalgia de milan] [http://mal.sprag.info/ mal] [http://ilbuionellamente.scypus.info/ il buio nella mente film dvd] [http://catalogobolaffi.sprag.info/ catalogo bolaffi] [http://gatewaywireless.ronyon.info/ gateway wireless d-link] [http://calendariuomo2005.ronyon.info/ calendari uomo 2005] [http://ronyon.info/ ronyon.info] [http://wwwjordancom.berhym.info/ www jordan com] [http://nonnenudegratis.ronyon.info/ nonne nude gratis] [http://frereseverina.ronyon.info/ frere severina] [http://flipperaccessori.sprag.info/ flipper accessori audio video] [http://foscoloazacinto.berhym.info/ foscolo a zacinto] [http://prepuzio.ronyon.info/ prepuzio] [http://dvdrverginidl.ercast.info/ dvd r vergini dl] [http://masturbazione.ronyon.info/ masturbazione singole] [http://lecasa.berhym.info/ le casa] [http://armadillo2.unbak.info/ armadillo2] [http://sciscuola.sprag.info/ Sci scuola] [http://rtlit.unbak.info/ rtl it] [http://calzaturacesare.berhym.info/ Calzatura cesare paciotti] [http://sprag.info/ sprag.info] [http://ronyon.info/ ronyon.info] [http://berhym.info/index1_250.html link] [http://kellislater.sprag.info/ kelli slater] [http://nicolettifllisnc.sprag.info/ nicoletti flli  snc] [http://fotosinfraganti.ronyon.info/ fotos infraganti] [http://retevolley.sprag.info/ rete volley] [http://hapland2.sprag.info/ hap land 2] [http://sprag.info/index2_250.html homepage] [http://mk1200.ercast.info/ mk 1200] [http://wwwfiatcom.scypus.info/ www fiat com] [http://giubbottiuomo.unbak.info/ giubbotti uomo abbigliamento] [http://beachgirl.ronyon.info/ beach girl] [http://milanomarittima.berhym.info/ milano marittima eventi] [http://vacanzesci.ronyon.info/ vacanze sci] [http://chiaradaperugia.ronyon.info/ chiara da perugia dowload] [http://lucidiperproiezioni.unbak.info/ lucidi per proiezioni] [http://lcdflatphilips.ronyon.info/ lcd flat philips 37] [http://balconi.sprag.info/ balconi] [http://wwwmolfettait.ronyon.info/ www molfetta it] [http://noja.ronyon.info/ noja] [http://nokianuovi.rotic.info/ nokia nuovi] [http://climatizzatori.rotic.info/ climatizzatori multisplit inverter] [http://imagenesdedjs.sprag.info/ imagenes de dj s] [http://jamessenese.nytromobile.info/ james senese] [http://poetirumeni.unbak.info/ poeti rumeni] [http://usb80gb.boyro.info/ usb 80 gb] [http://banconotaeuro.ercast.info/ banconota euro] [http://toyotacelica.rotic.info/ toyota celica 6] [http://sexyshopviatorino.ronyon.info/ sexy shop via torino] [http://uleaddvdmovie.nytromobile.info/ ulead dvd movie factory] [http://chryslerstratus.sprag.info/ chrysler stratus] [http://grassenere.nytromobile.info/ Grasse nere] [http://politecnicomilano.ronyon.info/ politecnico milano] [http://sexanimemanga.ercast.info/ Sex anime manga] [http://danielecicarelli.nytromobile.info/ daniele cicarelli] [http://televisorintsc.berhym.info/ televisori ntsc] [http://battagliadipalle.ercast.info/ battaglia di palle di neve] [http://lesbianl.ercast.info/ lesbianl] [http://xboxcable.berhym.info/ xbox cable] [http://johncusackrobbins.unbak.info/ john cusack robbins] [http://scottusait.ercast.info/ scottusa it] [http://motocrossmadness.unveiler.info/ motocross madness] [http://zadoc.filchery.info/ zadoc] [http://philips170b5cb00.aniakudo.info/ philips 170b5cb 00] [http://prepubic.info/ prepubic.info] [http://myprivacyonline.filchery.info/ my privacy online] [http://taboot.unveiler.info/ taboot] [http://tearsforfears.enbus-she.info/ tearsforfears] [http://winxclubcom.derided.info/ Winxclub com] [http://wwwmuncom.enridged.info/ www mun com] [http://makeuphelenarubinstein.enridged.info/ make up helena rubinstein] [http://snai.melonite.info/ snai] [http://cam2cam.melonite.info/ cam2cam] [http://proform790tr.enbus-she.info/ proform 790 tr] [http://tvhdtv.muggars.info/ tv hdtv] [http://fabulosos.prepubic.info/ fabulosos] [http://hordezla.filchery.info/ hordezla] [http://totally.unveiler.info/ totally] [http://captainofthe.be-header.info/ captain of the heart] [http://hdtv32.enbus-she.info/ hdtv 32] [http://prepubic.info/ prepubic.info] [http://wwwageebcom.enridged.info/ www ageeb com] [http://scarpaonline.ismene.info/ scarpa on line] [http://acer6200.loimic.info/ acer 6200] [http://a300.serfages.info/ a 300] [http://transacqua.enbus-she.info/ transacqua] [http://prepubic.info/ prepubic.info] [http://telefonocordless.aniakudo.info/ telefono cordless micro] [http://bongibongibo.filchery.info/ bongi bongi bo] [http://xboxdvd.enbus-she.info/ xbox dvd] [http://papiculo.prepubic.info/ papi culo] [http://coolpix7600black.muggars.info/ coolpix 7600 black] [http://dvdmuse.derided.info/ dvd muse] [http://hiddencam.gymnite.info/ hidden cam] [http://grupposharma.ismene.info/ gruppo sharma] [http://ram512ddracer.mosaical.info/ ram 512 ddr acer] [http://plushenko.be-header.info/ plushenko] [http://hw.enridged.info/ hw] [http://finefinepacifico.ismene.info/ fine fine pacifico] [http://landroversport.mosaical.info/ land rover sport] [http://roadsters.melonite.info/ roadsters] [http://navmangpscompact.muggars.info/ navman gps compact flash] [http://mercedesc230kompr.prepubic.info/ mercedes c 230 kompr] [http://rayban4057.derided.info/ ray ban 4057] [http://elchat.gymnite.info/ elchat] [http://scart2mt.unveiler.info/ scart 2 mt] [http://izumo.derided.info/ izumo] [http://encartaplus.filchery.info/ encarta plus 2005] [http://buffysoundtrack.ismene.info/ buffy soundtrack] [http://amiloprov7010.enbus-she.info/ amilo pro v7010] [http://osmanhadzic.enridged.info/ osman hadzic] [http://stellheart.filchery.info/ stell heart] [http://padenghe.serfages.info/ padenghe] [http://enridged.info/ enridged.info] [http://hiphap.gymnite.info/ hip hap] [http://mypala730pxa270.filchery.info/ mypal a730 pxa270] [http://puroporno.serfages.info/ puroporno] [http://weatherkohsamui.prepubic.info/ weather koh samui] [http://toomuchofheaven.gymnite.info/ too much of heaven mp3] [http://lupinhard.mosaical.info/ lupin hard] [http://enbus-she.info/ enbus-she.info] [http://sexihostes.melonite.info/ sexi hostes] [http://ptcruisercrd.derided.info/ pt cruiser crd] [http://neroburnrights.be-header.info/ nero burn rights] [http://hamletgps.be-header.info/ hamlet gps] [http://fcjuventus.gymnite.info/ fc juventus] [http://slashdotcomfatboy.enbus-she.info/ slash dot com fat boy slim] [http://libeistalles.prepubic.info/ libe ist alles] [http://metlaoui.enridged.info/ metlaoui] [http://likingpark.aniakudo.info/ liking park] [http://epsonlq300.muggars.info/ epson lq300] [http://cravat.enbus-she.info/ cravat] [http://epsonc4100.enridged.info/ epson c4100] [http://gouryella.unveiler.info/ gouryella] [http://isdnhlp.aniakudo.info/ isdn hlp] [http://philipscrt17.serfages.info/ philips crt 17] [http://quartek715dx.loimic.info/ quartek 715dx] [http://twinset.mosaical.info/ twin set] [http://dpr89550.loimic.info/ dpr 895 50] [http://termocucina.aniakudo.info/ termocucina] [http://lg42.serfages.info/ lg 42] [http://hdwireless.derided.info/ hd wireless] [http://mypacenelly.muggars.info/ my pace nelly] [http://cumswapping.be-header.info/ cum swapping] [http://kumaya.enridged.info/ kuma ya] [http://sunshine.loimic.info/ sunshine] [http://parklife.be-header.info/ park life] [http://wesleysnipes.mosaical.info/ wesley snipes] [http://groovecoverage.muggars.info/ groove coverage moonlight shadow] [http://sexdragonball.enbus-she.info/ Sex dragon ball] [http://benthos.enbus-she.info/ benthos] [http://laser340.be-header.info/ laser 340] [http://mazdaxedos6.prepubic.info/ mazda xedos 6] [http://bosco.filchery.info/ bosco] [http://hentaifree.unveiler.info/ hentai free] [http://fruko.aniakudo.info/ fruko] [http://sasasa.muggars.info/ sa sa sa] [http://sqlserver.unveiler.info/ sql server] [http://loimic.info/ loimic.info] [http://des1008d.enridged.info/ des 1008d] [http://s20fujifilm.enridged.info/ s 20 fujifilm] {| 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>
+
* [[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 18: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]