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")
(76 intermediate revisions by 47 users not shown)
Line 1: Line 1:
[http://betchatlogon.kittiss.cn/index.html bet chat logon] [http://biografiadigabryponte.fast-road.cn/index.html biografia di gabry ponte] [http://kitmun.cn/you-switchfoot.html you switchfoot] [http://bimborock.midways.cn/index.html bimbo rock] [http://barbaneraastrologia.clung.cn/index.html barbanera astrologia] [http://snailtail.cn/ying-yan/index.html ying yan] [http://benybenassihitmyhart.kittiss.cn/index.html beny benassi hit my hart] [http://snailtail.cn/x/index.html x] [http://snailtail.cn/xd-picture/index.html xd picture card fujifilm] [http://knock-knock.cn/www-foreningssparbanken/index.html www foreningssparbanken se] [http://barbaraeramo.romanikki.cn/index.html barbara eramo] [http://snailtail.cn/yo-puta-video/index.html yo puta video] [http://bruciatoricentralitermiche.fast-road.cn/index.html bruciatori centrali termiche] [http://blackmusic.midways.cn/index.html black music] [http://kitmun.cn/zatanismo.html zatanismo] [http://kitmun.cn/you-call.html you call it love] [http://knock-knock.cn/www-capisanihotel/index.html www capisanihotel it] [http://bandieraingleseanimata.kittiss.cn/index.html bandiera inglese animata] [http://bumtikkibum.midways.cn/index.html bum tikki bum] [http://kitmun.cn/yellow-magic.html yellow magic orchestra] [http://wonted.cn/www-leaderpesca/index.html www leaderpesca it] [http://knock-knock.cn/www-deagostiniprofessionale/index.html www deagostiniprofessionale] [http://quoits.cn/agli-ordini.html agli ordini di sua altezza] [http://knock-knock.cn/www-freeslots/index.html www freeslots com] [http://bennasifeatdhitmyheart.fast-road.cn/index.html bennasi feat d hit my heart] [http://buffyscreencaptures.midways.cn/index.html buffy screen captures] [http://billyocean.kittiss.cn/index.html billy ocean] [http://bancaintesait.clung.cn/index.html bancaintesa it] [http://bromasenvideos.midways.cn/index.html bromas en videos] [http://buenosculos.fast-road.cn/index.html buenos culos] [http://quoits.cn/zuccher-zu.html zuccher zu] [http://wonted.cn/winter-love/index.html winter love song] [http://quoits.cn/amici-e-nemici.html amici e nemici] [http://biosamjakomlad.kittiss.cn/index.html bio sam jako mlad] [http://knock-knock.cn/www-monterosso/index.html www monterosso com] [http://snailtail.cn/xwave-400/index.html xwave 400] [http://wonted.cn/www-rynair-com/index.html www rynair com] [http://quoits.cn/zipgenius.html zipgenius] [http://kitmun.cn/yohho.html yohho] [http://kitmun.cn/you-have-friend.html you have friend in me] [http://blazinsquad.midways.cn/index.html blazin squad] [http://bandabardou.clung.cn/index.html banda bardou] [http://bublemoondance.clung.cn/index.html buble moondance] [http://bassottotedescoapeloduro.fast-road.cn/index.html bassotto tedesco a pelo duro] [http://bunnyblue.midways.cn/index.html bunny blue] [http://snailtail.cn/xcam-key-sky/index.html xcam key sky] [http://wonted.cn/www-cacchiate/index.html www cacchiate it] [http://blink182karaoke.romanikki.cn/index.html blink 182 karaoke] [http://bartolini.fast-road.cn/index.html bartolini] [http://snailtail.cn/www-sviluppo/index.html www sviluppo com] [http://quoits.cn/zlatne-strune.html zlatne strune] [http://boneymmybaker.midways.cn/index.html boneym my baker] [http://buoniocattivirmx.clung.cn/index.html buoni o cattivi rmx] [http://brokendiamylee.midways.cn/index.html broken di amy lee] [http://kitmun.cn/ye-ye.html ye ye] [http://quoits.cn/asilo-di-polizia.html asilo di polizia] [http://knock-knock.cn/wwwjacuzzi-it/index.html wwwjacuzzi it] [http://quoits.cn/zona-territ.html zona territ] [http://knock-knock.cn/www-monitor/index.html www monitor hr] [http://billiegetyourguns.midways.cn/index.html billie get your guns] [http://knock-knock.cn/www-videoporno/index.html www videoporno com] [http://kitmun.cn/yerba.html yerba] [http://knock-knock.cn/winmx-versione/index.html winmx versione italiana] [http://benders.fast-road.cn/index.html benders] [http://kitmun.cn/yasaripek.html yasaripek] [http://bennybennassi.midways.cn/index.html benny bennassi] [http://knock-knock.cn/www-fise-it/index.html www fise it] [http://quoits.cn/accidenti.html accidenti alla guerra] [http://knock-knock.cn/www-bbc/index.html www bbc com] [http://quoits.cn/arditi.html arditi del 7° fucilieri] [http://knock-knock.cn/www-descente/index.html www descente canyon com] [http://knock-knock.cn/www-uniro/index.html www uniro it] [http://snailtail.cn/xhemil-saliu/index.html xhemil saliu] [http://knock-knock.cn/www-zeusport/index.html www zeusport it] [http://knock-knock.cn/www-hotmail/index.html www hotmail com br] [http://kitmun.cn/zdjecie-lerek.html zdjecie lerek] [http://bobbybrown.romanikki.cn/index.html bobby brown] [http://snailtail.cn/xavier-naidoo/index.html xavier naidoo sie sieht mich nicht] [http://breatheasyu.fast-road.cn/index.html breath easyu] [http://belloabril.fast-road.cn/index.html bello abril] [http://snailtail.cn/www-hmarilinda/index.html www hmarilinda it] [http://knock-knock.cn/www-orbitz/index.html www orbitz com] [http://quoits.cn/arriva-la.html arriva la bufera] [http://snailtail.cn/www-fucile/index.html www fucile da caccia] [http://snailtail.cn/yazoo-don/index.html yazoo don t go] [http://quoits.cn/arma-segreta.html arma segreta] [http://snailtail.cn/www-iasi/index.html www iasi ro] [http://kitmun.cn/yon-puta.html yon puta] [http://wonted.cn/www-b-ticino/index.html www b ticino it] [http://snailtail.cn/www-sexy/index.html www sexy ladys com] [http://quoits.cn/all'inferno.html all'inferno e ritorno] [http://bubblebobble.midways.cn/index.html bubble bobble] [http://britneyspearssometime.midways.cn/index.html britney spears sometime] [http://bluenote.midways.cn/index.html blue note] [http://bollopatriziadietista.kittiss.cn/index.html bollo patrizia dietista] [http://kitmun.cn/zecchini-d.html zecchini d oro] [http://bregovic.midways.cn/index.html bregovic] [http://knock-knock.cn/www-omnitel/index.html www omnitel] [http://quoits.cn/zhygool.html zhygool] [http://bennatoilrockdelcapitanouncino.kittiss.cn/index.html bennato il rock del capitano uncino] [http://barbaratucker.fast-road.cn/index.html barbara tucker] [http://wonted.cn/www-fleet-com/index.html www fleet com] [http://baguttimillericordi.romanikki.cn/index.html bagutti mille ricordi] [http://snailtail.cn/yo-tomo-licor/index.html yo tomo licor yo tomo cerveza y me gusta] [http://barberaechampagne.romanikki.cn/index.html barbera e champagne] [http://quoits.cn/zozze.html zozze] [http://babaluba.romanikki.cn/index.html babaluba] [http://bancodegaia.romanikki.cn/index.html banco de gaia] [http://snailtail.cn/xxxmature/index.html xxxmature] [http://wonted.cn/www-brasile/index.html www brasile com] [http://bonnietyleretkarenantonsidemain.clung.cn/index.html bonnie tyler et karen anton si demain] [http://wonted.cn/www-tchat/index.html www tchat fr] [http://wonted.cn/www-providia/index.html www providia com] [http://snailtail.cn/xxxvogue/index.html xxxvogue] [http://wonted.cn/www-looks-com/index.html www looks com] [http://knock-knock.cn/wuassa/index.html wuassa] [http://snailtail.cn/www-institutovanguardia/index.html www institutovanguardia] [http://quoits.cn/zo.html zo] [http://wonted.cn/wolves/index.html wolves] [http://belinisambadejaneiro.romanikki.cn/index.html belini samba de janeiro] [http://brokenroads.midways.cn/index.html broken roads] [http://snailtail.cn/yaroslava/index.html yaroslava] [http://brathanki.fast-road.cn/index.html brathanki] [http://knock-knock.cn/winam/index.html winam] [http://wonted.cn/ww-libero/index.html ww libero it com] [http://bottonigratis.clung.cn/index.html bottoni gratis] [http://knock-knock.cn/wwwasroma-it/index.html wwwasroma it] [http://badelontana.clung.cn/index.html bade lontana] [http://knock-knock.cn/www-livescore/index.html www livescore cz] [http://buoniocattivo.romanikki.cn/index.html buoni o cattivo] [http://britnispears.kittiss.cn/index.html britni spears] [http://kitmun.cn/yhailandia.html yhailandia] [http://backoffice.clung.cn/index.html back office] [http://bellonci.romanikki.cn/index.html bellonci] [http://knock-knock.cn/www-urbanett/index.html www urbanett hu] [http://borrartodoesto.kittiss.cn/index.html borrar todo esto] [http://kitmun.cn/z1010-codice.html z1010 codice sblocco] [http://wonted.cn/www-carmel/index.html www carmel com] [http://quoits.cn/zorica-markovic.html zorica markovic] [http://brandnewlover.clung.cn/index.html brand new lover] [http://boomboomchayanne.midways.cn/index.html boom boom chayanne] [http://wonted.cn/www-school/index.html www school party 2004 it] [http://wonted.cn/www-exa-com/index.html www exa com mx] [http://knock-knock.cn/www-crea-rj/index.html www crea rj org br] [http://quoits.cn/apache-in.html apache in agguato] [http://bennasicalifornia.clung.cn/index.html bennasi california] [http://quoits.cn/amos-&.html amos
+
{| align=right
 +
|-
 +
|
 +
[[Image:Main-G5Q-14.jpg|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.
 +
 
 +
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.
 +
 
 +
[[Image:Relay-Example.jpg|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|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<br>
 +
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 ===
 +
 
 +
* [[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]]

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