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")
(18 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[http://ingeborgmace.ifrance.com/kick-boxing-class.html kick boxing class in nj] [http://betsyharwood.w8w.pl/wood-restaurant.html wood restaurant tables] [http://desiraeuren.ifrance.com/pages/hydrangea.html hydrangea] [http://tonitasmythe.ifrance.com/small/701-diesel-levan.html 701 diesel levan] [http://tonitasmythe.ifrance.com/small/make-silkscreen.html make silkscreen] [http://cheryshowman.w8w.pl/blog/back-up-cameras.html back up cameras for car] [http://tonitasmythe.ifrance.com/small/nhra-drag-racing.html nhra drag racing pc] [http://mollyschippers.w8w.pl/weight-loss-drugs.html weight loss drugs] [http://desiraeuren.ifrance.com/pages/touching-words.html touching words] [http://anamariasavard.w8w.pl/skystone.html skystone] [http://desiraeuren.ifrance.com/pages/addison-go-fish.html addison go fish] [http://anamariasavard.w8w.pl/sql-server-system.html sql server system stored procedures] [http://chandaspalding.w8w.pl/blog/things-to-do.html things to do in oxford city] [http://betsyharwood.w8w.pl/wwwamsouthcom.html www.amsouth.com] [http://tonitasmythe.ifrance.com/small/preschools-tucson.html preschools tucson arizona] [http://danimcreynolds.ifrance.com/web/the-cause-of-death.html the cause of death is not known] [http://devorasievert.w8w.pl/ned-flanders.html ned flanders] [http://georgieseaman.ifrance.com/small/pooped-my-pants.html pooped my pants] [http://cheryshowman.w8w.pl/blog/bd-company-gallery.html bd company gallery] [http://chandaspalding.w8w.pl/blog/free-hardcore-sex.html free hardcore sex blonde] [http://ingeborgmace.ifrance.com/voluptuos.html voluptuos] [http://anamariasavard.w8w.pl/wheat-alergies.html wheat alergies] [http://mollyschippers.w8w.pl/gocarts.html gocarts] [http://devorasievert.w8w.pl/late-goodbye.html late goodbye] [http://tanyahale.w8w.pl/blog/affordable-house.html affordable house for sale] [http://anamariasavard.w8w.pl/american-air-lines.html american air lines] [http://chandaspalding.w8w.pl/blog/ray1.html ray1] [http://cheryshowman.w8w.pl/blog/jewels-crown.html jewels crown] [http://beataraasch.ifrance.com/switchplates.html switchplates] [http://tonitasmythe.ifrance.com/small/agency-empowerment.html agency empowerment people] [http://larascheid.ifrance.com/angebauter-biologisch.html angebauter biologisch tee] [http://chandaspalding.w8w.pl/blog/public-pants-wetting.html public pants wetting] [http://beataraasch.ifrance.com/marines-nude.html marines nude men] [http://lucillacarreno.ifrance.com/article/austin-homes.html austin homes] [http://lorettamcglade.w8w.pl/russian-leaders.html russian leaders] [http://cheryshowman.w8w.pl/blog/traditional-marketing.html traditional marketing system] [http://larascheid.ifrance.com/sustainability.html sustainability reporting] [http://betsyharwood.w8w.pl/stratford-homes.html stratford homes] [http://georgieseaman.ifrance.com/small/shelley-long.html shelley long] [http://tanyahale.w8w.pl/blog/rock-lee.html rock lee] [http://chandaspalding.w8w.pl/blog/diamonds-from.html diamonds from sierra leone] [http://tonitasmythe.ifrance.com/small/zarwin-baum.html zarwin baum devito kaplan schaer toddy] [http://marissaalbro.ifrance.com/after-cortisone.html after cortisone pain shot] [http://georgieseaman.ifrance.com/small/floetry.html floetry] [http://larascheid.ifrance.com/rifle-stocks.html rifle stocks] [http://lulawork.w8w.pl/article/team-work.html team work] [http://danimcreynolds.ifrance.com/web/walt-disney-world.html walt disney world florida] [http://lulawork.w8w.pl/article/adobe-photo-shop.html adobe photo shop elements 40 download] [http://beataraasch.ifrance.com/acadian-lines.html acadian lines schedule] [http://larascheid.ifrance.com/jack-lord-hawaii.html jack lord hawaii 50] [http://kerriecrook.w8w.pl/data/los-angeles-real.html los angeles real estate] [http://tanyahale.w8w.pl/blog/firepay.html firepay] [http://cheryshowman.w8w.pl/blog/trailer-axle.html trailer axle] [http://danimcreynolds.ifrance.com/web/jackson-bass-guitars.html jackson bass guitars] [http://tonitasmythe.ifrance.com/small/miniature-golf-course.html miniature golf course math project] [http://desiraeuren.ifrance.com/pages/studio-theater.html studio theater dc] [http://mollyschippers.w8w.pl/download-hentai.html download hentai games] [http://tonitasmythe.ifrance.com/small/son-goten.html son goten] [http://cheryshowman.w8w.pl/blog/free-gun-catalogs.html free gun catalogs] [http://cheryshowman.w8w.pl/blog/toyota-landcruiser.html toyota landcruiser] [http://devorasievert.w8w.pl/boating-equipment.html boating equipment] [http://cheryshowman.w8w.pl/blog/ktul.html ktul] [http://lorettamcglade.w8w.pl/xr8-falcon-ute.html xr8 falcon ute] [http://mollyschippers.w8w.pl/sony-t630-software.html sony t630 software] [http://lorettamcglade.w8w.pl/w4-form.html w4 form] [http://ingeborgmace.ifrance.com/rumble-roses.html rumble roses candy cane] [http://devorasievert.w8w.pl/tyan-s2895ua2nrf.html tyan s2895ua2nrf] [http://beataraasch.ifrance.com/wine-rack.html wine rack] [http://chandaspalding.w8w.pl/blog/anatomy-ulnar.html anatomy ulnar] [http://marissaalbro.ifrance.com/construction-home.html construction home loan] [http://chandaspalding.w8w.pl/blog/administratif.html administratif] [http://desiraeuren.ifrance.com/pages/pretty-blondes.html pretty blondes] [http://chandaspalding.w8w.pl/blog/las-vegas-weekend.html las vegas weekend] [http://kerriecrook.w8w.pl/data/silicone-swim-caps.html silicone swim caps] [http://ingeborgmace.ifrance.com/laurell-k-hamilton.html laurell k hamilton] [http://lorettamcglade.w8w.pl/avenge-sevenfold.html avenge sevenfold band] [http://ingeborgmace.ifrance.com/leesville-louisiana.html leesville louisiana real estate] [http://larascheid.ifrance.com/shih-tzu-puppies.html shih tzu puppies] [http://danimcreynolds.ifrance.com/web/scott-credit-union.html scott credit union il] [http://georgieseaman.ifrance.com/small/whyville.html whyville] [http://marissaalbro.ifrance.com/ace-ventura.html ace ventura] [http://kerriecrook.w8w.pl/data/cheat-codes-for.html cheat codes for grand theft auto san andreas] [http://kerriecrook.w8w.pl/data/prisoners-and.html prisoners and organ transplants] [http://desiraeuren.ifrance.com/pages/watching-wife.html watching wife get fucked] [http://tonitasmythe.ifrance.com/small/rune-scape.html rune scape] [http://betsyharwood.w8w.pl/alexis-malone.html alexis malone] [http://tonitasmythe.ifrance.com/small/college-rings.html college rings] [http://devorasievert.w8w.pl/new-topics-for.html new topics for paper presentation] [http://danimcreynolds.ifrance.com/web/aircraft-instrument.html aircraft instrument overhaul repair exchange] [http://guadalupemcquad.ifrance.com/html/avalon-boston.html avalon boston] [http://desiraeuren.ifrance.com/pages/meaning-proverbs.html meaning proverbs] [http://larascheid.ifrance.com/housing.html housing] [http://georgieseaman.ifrance.com/small/teens-painful.html teens painful sex] [http://marissaalbro.ifrance.com/naked-men-fucking.html naked men fucking] [http://danimcreynolds.ifrance.com/web/domination-submission.html domination submission] [http://tanyahale.w8w.pl/blog/thinning-hair.html thinning hair in women] [http://guadalupemcquad.ifrance.com/html/underage-asian.html underage asian girl] [http://lucillacarreno.ifrance.com/article/satelitski-forum.html satelitski forum] [http://kerriecrook.w8w.pl/data/lake-michigan.html lake michigan charter] [http://cheryshowman.w8w.pl/blog/all-looney-toons.html all looney toons characters] [http://kerriecrook.w8w.pl/data/kiteboarding.html kiteboarding] [http://georgieseaman.ifrance.com/small/bananarepubliccom.html bananarepublic.com] [http://danimcreynolds.ifrance.com/web/super-natural-boob.html super natural boob] [http://kerriecrook.w8w.pl/data/applied-cataloguing.html applied cataloguing data here in publication sanctioned] [http://tonitasmythe.ifrance.com/small/syenite-rocks.html syenite rocks] [http://danimcreynolds.ifrance.com/web/leland-chapman.html leland chapman pictures] [http://lulawork.w8w.pl/article/johannes-gutenberg.html johannes gutenberg] [http://devorasievert.w8w.pl/massey-energy.html massey energy company] [http://cheryshowman.w8w.pl/blog/loose-stones-diamonds.html loose stones diamonds] [http://ingeborgmace.ifrance.com/harrods.html harrods] [http://beataraasch.ifrance.com/chillis.html chillis] [http://tonitasmythe.ifrance.com/small/zakelijke-brieven.html zakelijke brieven] [http://tonitasmythe.ifrance.com/small/jenny.html jenny] [http://guadalupemcquad.ifrance.com/html/gallery-of-male.html gallery of male penises] [http://tonitasmythe.ifrance.com/small/irish-dance-shirts.html irish dance shirts] [http://cheryshowman.w8w.pl/blog/chromium-picolinate.html chromium picolinate] [http://chandaspalding.w8w.pl/blog/morning-dove.html morning dove nest] [http://anamariasavard.w8w.pl/female-models.html female models] [http://lucillacarreno.ifrance.com/article/tirage-photos.html tirage photos numeriques] [http://ingeborgmace.ifrance.com/used-surveying-equipment.html used surveying equipment] [http://guadalupemcquad.ifrance.com/html/egerton-capital.html egerton capital ltd] [http://kerriecrook.w8w.pl/data/social-security.html social security administration office ca] [http://danimcreynolds.ifrance.com/web/ballads.html ballads] [http://tonitasmythe.ifrance.com/small/stripping-videos.html stripping videos] [http://lulawork.w8w.pl/article/ivf.html ivf] [http://lorettamcglade.w8w.pl/sperm.html sperm] [http://lulawork.w8w.pl/article/boston-terrier.html boston terrier dog] [http://betsyharwood.w8w.pl/st-rose-of-lima.html st rose of lima north wales] [http://chandaspalding.w8w.pl/blog/manassas-real-estate.html manassas real estate] [http://guadalupemcquad.ifrance.com/html/mark-10-27.html mark 10 27] [http://chandaspalding.w8w.pl/blog/xslt-change-attribute.html xslt change attribute value] [http://marissaalbro.ifrance.com/symptom-checker.html symptom checker] [http://desiraeuren.ifrance.com/pages/body-parts.html body parts] [http://desiraeuren.ifrance.com/pages/lost-woman-song.html lost woman song lyrics] [http://beataraasch.ifrance.com/touch-me.html touch me] [http://betsyharwood.w8w.pl/travel-velocity.html travel velocity airline ticket] [http://georgieseaman.ifrance.com/small/shell32exe-windows.html shell32.exe windows xp] [http://lulawork.w8w.pl/article/condition-zero.html condition zero servers] [http://mollyschippers.w8w.pl/auto-clickbank.html auto clickbank directory go2clickbank.com marketplace] [http://danimcreynolds.ifrance.com/web/electrical-wiring.html electrical wiring] [http://georgieseaman.ifrance.com/small/morriston-florida.html morriston florida real estate] [http://devorasievert.w8w.pl/okc-news-channel.html okc news channel 4] [http://mollyschippers.w8w.pl/economy-pie-chart.html economy pie chart] [http://anamariasavard.w8w.pl/jennifer-convy.html jennifer convy] [http://georgieseaman.ifrance.com/small/retirement-invitations.html retirement invitations] [http://tanyahale.w8w.pl/blog/rtl8201bl-xp-driver.html rtl8201bl xp driver] [http://lucillacarreno.ifrance.com/article/trip-hop.html trip hop] [http://chandaspalding.w8w.pl/blog/winnow-grain.html winnow grain] [http://larascheid.ifrance.com/st-augustine.html st augustine real estate] [http://lorettamcglade.w8w.pl/tom-lehrer.html tom lehrer] {| 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]]

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