Difference between revisions of "Relays"

From OpenCircuits
Jump to navigation Jump to search
(linkify to article that goes into more detail)
 
(95 intermediate revisions by 61 users not shown)
Line 1: Line 1:
[http://davte.info/library/html/philips-impianti.htm philips impianti hi-fi] [http://bloprofeldi.info/lib/velsen.htm velsen] [http://helmed.info/topic/zephir-condizionatore/ zephir condizionatore] [http://saibso.org/casamicciola.htm casamicciola] [http://davte.info/library/html/fan-fiction.htm fan fiction site] [http://chaba.info/sermon/ sermon] [http://bloprofeldi.info/lib/barbara-durso.htm barbara durso] [http://chaba.info/locali-hard/ locali hard] [http://ashythro.info/library/html/trittico-damore/ trittico damore] [http://ashythro.info/library/html/kodak-/ kodak - easyshare cx7330] [http://ustall.org/web/ups.htm ups 650] [http://davte.info/library/html/macchine-caffe.htm macchine caffe krups] [http://psisemiya.com/images/small/losing-my/ losing my] [http://chaba.info/tiziana-sensi/ tiziana sensi] [http://ustall.org/web/fuji-.htm fuji - finepix s5500] [http://kinunia.cn/jennifer-connelly.htm jennifer connelly nuda] [http://saibso.org/fort-washington.htm fort washington - vita da cani] [http://amohseni.info/img/styles/scarpe-lizard/ scarpe lizard] [http://bloprofeldi.info/lib/time-to.htm time to rock] [http://kinunia.cn/la-mano.htm la mano che uccide] [http://helmed.info/topic/porsche/ porsche 2003 996] [http://chaba.info/franchising-abbronzatura/ franchising abbronzatura] [http://amohseni.info/img/styles/vaio-/ vaio 17 notebook] [http://chaba.info/auto-noleggio/ auto noleggio benevento] [http://kinunia.cn/frigoriferi-incasso.htm frigoriferi incasso 320] [http://davte.info/library/html/ituiutaba.htm ituiutaba] [http://bloprofeldi.info/lib/set-posate.htm set posate] [http://chaba.info/con-origen/ con origen nel deserto della california] [http://nobinters.org/gay-e.htm gay e transex] [http://amohseni.info/img/styles/stefania-lay/ stefania lay] [http://helmed.info/topic/curriculum-vitae/ curriculum vitae europeo] [http://ashythro.info/library/html/un-medico/ un medico in famiglia. prima serie. vol. 01] [http://amohseni.info/img/styles/www-roten/ www roten com] [http://bloprofeldi.info/lib/monitor-yakumo.htm monitor yakumo 17 lcd] [http://helmed.info/topic/seit-elettronica/ seit elettronica srl] [http://nobinters.org/hard-disck.htm hard disck 80gb] [http://chaba.info/fiat-punto/ fiat punto 1.2 16v sporting] [http://chaba.info/canon-cblue/ canon cb-2lue] [http://amohseni.info/img/styles/godwin-austen/ godwin austen] [http://nobinters.org/motoraduni-.htm motoraduni 2004 vicenza] [http://nobinters.org/emma-shapplin.htm emma shapplin - carmine meo] [http://bloprofeldi.info/lib/danu.htm danu] [http://bloprofeldi.info/lib/righeira-karaoke.htm righeira karaoke] [http://amohseni.info/img/styles/calciocom/ calcio.com] [http://chaba.info/konica-minolta/ konica minolta dimage 600] [http://kinunia.cn/rebel-a.htm rebel a k a] [http://bloprofeldi.info/lib/forno-con.htm forno con piano cottura] [http://saibso.org/clipart-cobra.htm clipart cobra] [http://saibso.org/videochatgratis.htm videochatgratis] [http://bloprofeldi.info/lib/accessori-per.htm accessori per interni audi 4] [http://bloprofeldi.info/lib/miratoio.htm miratoio] [http://amohseni.info/img/styles/mac-os/ mac os 10 4 tiger] [http://chaba.info/sacrifice-by/ sacrifice by lisa gerard and peter burke] [http://ustall.org/web/von-savigny.htm von savigny] [http://bloprofeldi.info/lib/udo-samel.htm udo samel] [http://psisemiya.com/images/small/jamie-walters/ jamie walters songs] [http://ustall.org/web/top-sensation.htm top sensation] [http://ustall.org/web/dulce-maria.htm dulce maria clase 406] [http://saibso.org/posto-al.htm posto al sole rai it] [http://davte.info/library/html/bella-balilla.htm bella balilla] [http://chaba.info/platinum-wall/ platinum wall] [http://bloprofeldi.info/lib/dating-sites.htm dating sites] [http://kinunia.cn/tu-che.htm tu che] [http://davte.info/library/html/foto-arcuri.htm foto arcuri] [http://nobinters.org/totali-.htm totali  spies] [http://kinunia.cn/frigorifero-no.htm frigorifero no frost classe a silver] [http://bloprofeldi.info/lib/miguel-bose.htm miguel bose super superman] [http://saibso.org/omicidio-per.htm omicidio per vocazione] [http://davte.info/library/html/minueto.htm minueto] [http://helmed.info/topic/la-celiachia/ la celiachia] [http://amohseni.info/img/styles/notebook-schede/ notebook schede acquisizione e tv] [http://nobinters.org/lamiere-reggio.htm lamiere reggio emilia] [http://bloprofeldi.info/lib/rx-v.htm rx v2500] [http://davte.info/library/html/ragazza-ischia.htm ragazza ischia] [http://kinunia.cn/poltrona-piscina.htm poltrona piscina] [http://amohseni.info/img/styles/turn-me/ turn me on de kevin little] [http://nobinters.org/palmari-ppc.htm palmari ppc] [http://davte.info/library/html/xvid-video.htm xvid video codec windows] [http://ashythro.info/library/html/dance-live/ dance live in trento] [http://saibso.org/awz.htm awz 6516] [http://amohseni.info/img/styles/motori-di/ motori di ricrca] [http://helmed.info/topic/monica-belucci/ monica belucci sex] [http://chaba.info/charme/ charme] [http://psisemiya.com/images/small/martin-il/ martin il marziano] [http://ashythro.info/library/html/trust-wireless/ trust wireless audio video] [http://nobinters.org/ram-notebook.htm ram notebook ddr sdram hp] [http://saibso.org/marlen.htm marlen] [http://nobinters.org/hit-mania.htm hit mania dance 2000 2001] [http://davte.info/library/html/ka-sport.htm ka sport] [http://nobinters.org/driana.htm driana] [http://amohseni.info/img/styles/acer-x/ acer x700 notebook] [http://helmed.info/topic/natural-power/ natural power] [http://saibso.org/www-asharqalawsat.htm www asharqalawsat com] [http://nobinters.org/gancio-orecchino.htm gancio orecchino] [http://bloprofeldi.info/lib/eamon-test.htm eamon test] [http://saibso.org/lipsia-citta.htm lipsia citta] [http://chaba.info/amico-maria/ amico maria de filippi sito ufficiale] [http://amohseni.info/img/styles/sito-per/ sito per scaricare musica] [http://helmed.info/topic/furg/ furg] [http://psisemiya.com/images/small/una-pistola/ una pistola per un vile] [http://kinunia.cn/test-fotocamera.htm test fotocamera digitali] [http://chaba.info/mv-/ mv 750 canon] [http://kinunia.cn/fotocamera-nikon.htm fotocamera nikon 10x] [http://saibso.org/giochi-tim.htm giochi tim] [http://bloprofeldi.info/lib/sbs.htm sbs 350] [http://helmed.info/topic/night-nurse/ night nurse] [http://helmed.info/topic/decapitato-com/ decapitato com] [http://nobinters.org/villaggi-del.htm villaggi del ventaglio] [http://ustall.org/web/milano-trieste.htm milano trieste biglietti aerei] [http://bloprofeldi.info/lib/nomi-cuccioli.htm nomi cuccioli] [http://kinunia.cn/baciata.htm baciata] [http://saibso.org/john-huston.htm john huston] [http://chaba.info/lotta-per/ lotta per la vita] [http://helmed.info/topic/gico-tetris/ gico tetris per computer] [http://amohseni.info/img/styles/locandina-film/ locandina film the rock] [http://kinunia.cn/sla-gasolina.htm sla gasolina] [http://psisemiya.com/images/small/superfighetto-it/ superfighetto it] [http://kinunia.cn/uv-lampada.htm uv lampada] [http://kinunia.cn/concierto-di.htm concierto di aranjuez] [http://davte.info/library/html/watt-radio.htm watt radio] [http://nobinters.org/contax-ur.htm contax u4r] [http://helmed.info/topic/oops-sexy/ oops sexy ratis] [http://chaba.info/hornet/ hornet 2002] [http://bloprofeldi.info/lib/p.htm p4 2 4] [http://psisemiya.com/images/small/flight-sim/ flight sim] [http://nobinters.org/keyserling-eduard.htm keyserling, eduard von-] [http://helmed.info/topic/donna-orologi/ donna orologi sector] [http://nobinters.org/annuncio-affitto.htm annuncio affitto biella] [http://saibso.org/cosa.htm cosa] [http://chaba.info/dancing-with/ dancing with my] [http://helmed.info/topic/lc-pe/ lc 26p50e] [http://nobinters.org/video-cnn.htm video cnn] [http://ustall.org/web/rivelatore-gas.htm rivelatore gas] [http://ustall.org/web/novella.htm novella] [http://saibso.org/grand-hotel.htm grand hotel fleming] [http://ustall.org/web/violeta-parra.htm violeta parra] [http://kinunia.cn/microonde-combinato.htm microonde combinato vapore] [http://nobinters.org/escort-girl.htm escort girl] [http://chaba.info/frigorifero-e/ frigorifero e congelatore classe a] [http://bloprofeldi.info/lib/game-boy.htm game boy zaffiro] [http://saibso.org/significado-de.htm significado de la letra i] [http://ashythro.info/library/html/scandalo-a/ scandalo a corte] [http://davte.info/library/html/grazioli-giocattoli.htm grazioli giocattoli] [http://amohseni.info/img/styles/decapitazione-integrale/ decapitazione integrale] [http://ustall.org/web/listino-prezzi.htm listino prezzi ascensori] [http://saibso.org/boxoffice.htm boxoffice] [http://saibso.org/partituras-de.htm partituras de la ley] [http://amohseni.info/img/styles/nis-/ nis 2005 upg] [http://davte.info/library/html/foto-auto.htm foto auto elaborate tuning] [http://ashythro.info/library/html/henryson-o/ henryson o henderson, robert] [http://nobinters.org/parma-lamezia.htm parma lamezia terme biglietti aerei] [http://kinunia.cn/manowar-wheels.htm manowar wheels of fire] [http://helmed.info/topic/tutto-va/ tutto va come deve andare] [http://ustall.org/web/sono-le.htm sono le venti] [http://nobinters.org/telepiu.htm telepiu] [http://saibso.org/geometri.htm geometri] [http://saibso.org/hotel-passo.htm hotel passo del tonale] [http://kinunia.cn/tesine-chimica.htm tesine chimica] [http://bloprofeldi.info/lib/www-goole.htm www goole com ar] [http://psisemiya.com/images/small/magix-video/ magix video deluxe 2005 plus] [http://ustall.org/web/atos-auto.htm atos auto] [http://ustall.org/web/scheda-wlan.htm scheda wlan] [http://ustall.org/web/gruppo-pooh.htm gruppo pooh] [http://saibso.org/desnudo.htm desnudo] [http://bloprofeldi.info/lib/indiana-jones.htm indiana jones nella rete] [http://psisemiya.com/images/small/lampada-da/ lampada da terra illuminazione] [http://ashythro.info/library/html/moto-guzzi/ moto guzzi v11 sport] [http://saibso.org/weyrauch-wolfgang.htm weyrauch, wolfgang] [http://kinunia.cn/calendario-ragazze.htm calendario ragazze del web] [http://davte.info/library/html/giocho-calcio.htm giocho calcio] [http://nobinters.org/waterfalls-of.htm waterfalls of the philippines] [http://amohseni.info/img/styles/frigoriferi-da/ frigoriferi da incasso classe a] [http://chaba.info/san-giorgio/ san giorgio a cremano] [http://bloprofeldi.info/lib/samsung-t.htm samsung 710t] [http://helmed.info/topic/monitor-benq/ monitor benq fp71g] [http://saibso.org/colpo-grosso.htm colpo grosso (dvd)] [http://nobinters.org/generatori-di.htm generatori di trojan] [http://helmed.info/topic/photos-de/ photos de chien] [http://bloprofeldi.info/lib/donna-fotografia.htm donna fotografia] [http://amohseni.info/img/styles/symple-red/ symple red] [http://kinunia.cn/periyar.htm periyar] [http://davte.info/library/html/dvi-femmina.htm dvi femmina vga maschio] [http://ustall.org/web/pixma-ipr.htm pixma ip4000r] [http://helmed.info/topic/energy-protector/ energy protector 600] [http://helmed.info/topic/codice-penale/ codice penale] [http://davte.info/library/html/vangog.htm vangog] [http://saibso.org/hidden.htm hidden] [http://amohseni.info/img/styles/scugnizza/ scugnizza] [http://psisemiya.com/images/small/canon-eosd/ canon eos20d] [http://ustall.org/web/attrice-italiana.htm attrice italiana g] [http://saibso.org/glenn-miller.htm glenn miller - la storia di glenn miller] [http://ustall.org/web/rebecca-ferratti.htm rebecca ferratti] [http://saibso.org/popeye-vol.htm popeye. vol. 21] [http://bloprofeldi.info/lib/km-smart.htm km0 smart fortwo diesel auto km 0] [http://chaba.info/comunecusanomutri-it/ comunecusanomutri it] [http://kinunia.cn/compositor-dale.htm compositor dale don nokia] [http://ustall.org/web/gps-ipaq.htm gps ipaq 36xx] [http://bloprofeldi.info/lib/renault-laguna.htm renault laguna benzina] [http://psisemiya.com/images/small/arenaria-zoologia/ arenaria (zoologia)] [http://psisemiya.com/images/small/last-minute/ last minute it] {| 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]