Difference between revisions of "Relays"

From OpenCircuits
Jump to navigation Jump to search
(linkify to article that goes into more detail)
 
(36 intermediate revisions by 19 users not shown)
Line 1: Line 1:
[http://tabooboardgames.bozine.info/ taboo board games] [http://videogallerywindow.incloude.info/ video gallery window media] [http://webmarketing.daimiote.info/ web marketing business to business] [http://nursingshortage.nan-duti.info/ nursing shortage] [http://nesemulatorforthe.bozine.info/ nes emulator for the psp] [http://1968presidential.hulkage.info/ 1968 presidential elections] [http://surgicalwounddressings.jenesia.info/ surgical wound dressings] [http://stockexchange.chummies.info/ stock exchange] [http://nevercompromise.jeopards.info/ never compromise gray matter 2] [http://inkine.daimiote.info/ in kine] [http://bartendingschools.daimiote.info/ bartending schools fort worth] [http://medscalp.hulkage.info/ med scalp] [http://echoglenpark.jeopards.info/ echo glen park] [http://association.daimiote.info/ association ga realtor] [http://renaultkangoo.jenesia.info/ renault kangoo] [http://iishelp.minatare.info/ iis help] [http://russianbolsheviks.nan-duti.info/ russian bolsheviks] [http://autonapastore.incloude.info/ auto napa store] [http://onlinemarketing.incloude.info/ online marketing manager jobs] [http://listentomusic.nan-duti.info/ listen to music] [http://swedenborg.jeopards.info/ swedenborg] [http://burners.incloude.info/ burners] [http://whatisbpo.bozine.info/ what is bpo] [http://fatgirl.bozine.info/ fat girl] [http://freemathworksheets.chummies.info/ free math worksheets] [http://oldpussy.jenesia.info/ oldpussy] [http://cheapazithromycin.incloude.info/ cheap azithromycin] [http://institueofcanadian.chummies.info/ institue of canadian banker] [http://ecommercesitebuilders.incloude.info/ e commerce site builders] [http://cheapazithromycin.hulkage.info/ cheap azithromycin] [http://ultimopolvo.hulkage.info/ ultimo polvo] [http://businessphone.chummies.info/ business phone numbers] [http://retin.daimiote.info/ retin] [http://winniethepooh.daimiote.info/ winnie the pooh pictures] [http://onlinecasinocredit.daimiote.info/ online casino credit card friendly] [http://grantsforelectric.chummies.info/ grants for electric] [http://acetruevalue.jenesia.info/ ace true value hardware] [http://lovehina.daimiote.info/ love hina] [http://jelqingvideo.jeopards.info/ jelqing video] [http://ontcarrental.jeopards.info/ ont car rental] [http://thelondonfog.minatare.info/ the london fog] [http://sprintringtones.bozine.info/ sprint ringtones] [http://kickitlyrics.nan-duti.info/ kick it lyrics] [http://jeopards.info/ jeopards.info] [http://misleadingstatistics.bozine.info/ misleading statistics] [http://haylieduff.chummies.info/ haylie duff] [http://pontiacwildcat.minatare.info/ pontiac wildcat] [http://venicehotelsdiscounted.hulkage.info/ venice hotels discounted] [http://2007nissan350z.bozine.info/ 2007 nissan 350z] [http://cellphonedirectory.chummies.info/ cell phone directory] [http://solarpassive.daimiote.info/ solar passive building design] [http://thewalkietalkie.bozine.info/ the walkie talkie man] [http://lipitorsideeffects.jeopards.info/ lipitor side effects] [http://ceapairlinetickets.hulkage.info/ ceap airline tickets] [http://albin.hulkage.info/ albin] [http://dildosex.hulkage.info/ dildo sex] [http://coins.minatare.info/ coins] [http://hyundaicars.nan-duti.info/ hyundai cars] [http://northwesternuniversity.bozine.info/ northwestern university graduate school of business] [http://levothyroxine.incloude.info/ levothyroxine] [http://giftsforman.bozine.info/ gifts for man] [http://systemnotbooting.chummies.info/ system not booting up] [http://myalllyrics.chummies.info/ my all lyrics mariah carey] [http://freesymantec.nan-duti.info/ free symantec antivirus download] [http://lessonlondonontario.jenesia.info/ lesson london ontario swimming] [http://numberorder.incloude.info/ number order process] [http://animatedunder.hulkage.info/ animated under construction] [http://speakingtrumpet.nan-duti.info/ speaking trumpet] [http://thenervoussystem.jeopards.info/ the nervous system and the endocrine system] [http://mp3ringtones.minatare.info/ mp3 ringtones free] [http://zoomtext.minatare.info/ zoom text] [http://lawyerpartnerships.nan-duti.info/ lawyer partnerships] [http://pictureoffamily.daimiote.info/ picture of family coat of arms] [http://discountairline.minatare.info/ discount airline ticket] [http://matureasian.minatare.info/ mature asian] [http://lakesuperior.minatare.info/ lake superior campground] [http://symptomsoflow.daimiote.info/ symptoms of low testosterone] [http://demoral.chummies.info/ demoral] [http://selfstoragehollywood.bozine.info/ self storage hollywood] [http://fleamarket.minatare.info/ flea market] [http://animation.incloude.info/ animation] [http://nolimitpoker.daimiote.info/ no limit poker free] [http://currencyrate.woadwax.info/ currency rate] [http://numberofreligions.hulkage.info/ number of religions in india] [http://aolmusic.nan-duti.info/ aol music] [http://freewebcamchat.minatare.info/ free web cam chat room] [http://instantlingomessage.minatare.info/ instant lingo message] [http://syphilis.incloude.info/ syphilis] [http://chummies.info/index8_666.html home] [http://awomansgotthepower.nan-duti.info/ a womans got the power as] [http://tomsawyerplays.chummies.info/ tom sawyer plays] [http://nutrition.incloude.info/ nutrition] [http://michaelschwab.jeopards.info/ michael schwab] [http://bozine.info/index0_250.html page] [http://sunflowerclip.minatare.info/ sun flower clip art] [http://intellectualproperty.hulkage.info/ intellectual property in internet] [http://insuranceforfamily.nan-duti.info/ insurance for family entertainment center] [http://weirdworldrecord.daimiote.info/ weird world record] [http://lavasoftadaware.nan-duti.info/ lavasoft adaware] [http://hulkage.info/index9_666.html link] [http://ndr.hu/rhodes/qepjhk.html woman hater jokes] [http://aura.c3.hu/thumb/qqgghb.html porsche 911 turbo] [http://www.systemsupport.und.edu/cache/avatars/emo/onwuja.html latin ringtones] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/cxhjsn.html kinetic assay] [http://kristinlyseggen.com/gallery/1documentaries/7travel/bgvqwb.html urbana schools] [http://maps.my2gig.com/cache/cvntdb.html pinay big] [http://www.stillwaterhomes.com/listings/images/pic/iwtcrm.html numb3rs season premiere] [http://2001.c3.hu/mas/kxwakq.html architecture network] [http://www.easypayinfo.com/subscribe/tmp/pbugtr.html speed pro performance parts] [http://www.systemsupport.und.edu/cache/avatars/emo/villlv.html panic attack breathing exercises] [http://www.easypayinfo.com/subscribe/tmp/cphfmn.html indoor gardening seattle] [http://ndr.hu/rhodes/qofuht.html article graphs] [http://2001.c3.hu/mas/ebdwhw.html ser jobs for progress inc] [http://troniny.ovh.org/gallery/layout/bdnbwe.html earth temperature profile] [http://informer.siam.edu/themes/hm/bieqhd.html order diazepam] [http://www.plurpage.com/classifieds/cache/kfomuh.html ministry of education ontario government] [http://aura.c3.hu/thumb/rdedhs.html alcohol symptom withdrawal] [http://informer.siam.edu/themes/hm/ngiabh.html discount fioricet] [http://www.plurpage.com/classifieds/cache/wqcfpp.html master degree economics] [http://www.salona-yachts.eu/misc/pgffwc.html sheffield utd tickets] [http://2001.c3.hu/mas/mrpqwa.html edit plus software download] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/cbpwwb.html pacman pics] [http://aura.c3.hu/thumb/tkihxh.html american girl and girls inc] [http://kom-pas.de/3xcms/config/hkatuploads/images/iwrlkv.html awareness site myspace.com] [http://www.olemissfans.com/chatpro/image/wcmaca.html away message quotes] [http://kom-pas.de/3xcms/config/hkatuploads/images/rvawdd.html average factor rating weighted] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/recqoi.html service magazine] [http://maps.my2gig.com/cache/pfllrp.html plastic wrap made of] [http://www.olemissfans.com/chatpro/image/ismmue.html keith nicholls] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/qvdcuc.html voice ringtones] [http://www.olemissfans.com/chatpro/image/dglwlv.html adult character child development in] [http://kristinlyseggen.com/gallery/1documentaries/7travel/pphnbe.html 2002 breaking in news] [http://www.stillwaterhomes.com/listings/images/pic/kslbjc.html what is qcd] [http://www.easypayinfo.com/subscribe/tmp/hnfski.html port authority new york address] [http://www.housing.und.edu/reshalls/blog/wp-content/uploads/2007/04/img/pishpt.html free downloadable ringtones] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/elrurk.html aula magna] [http://kom-pas.de/3xcms/config/hkatuploads/images/rrisrv.html actress indian nude picture south] [http://aura.c3.hu/thumb/jllkwo.html aol technical help phone number] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/tuxoii.html america home cooking cook book] [http://www.systemsupport.und.edu/cache/avatars/emo/qlotpm.html ib 12] [http://www.stillwaterhomes.com/listings/images/pic/snqcee.html agency empowerment people] [http://troniny.ovh.org/gallery/layout/kjanbn.html x scale processors] [http://2001.c3.hu/mas/fpfkei.html quick snooker games] [http://2001.c3.hu/mas/gjfvlb.html work recruitment agency] [http://kom-pas.de/3xcms/config/hkatuploads/images/nflrgk.html long range wireless access points] [http://www.plurpage.com/classifieds/cache/xeikfb.html local katrina relief efforts] [http://www.plurpage.com/classifieds/cache/giimgl.html lining of heart chambers] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/hxpbcx.html free sonyericsson ringtones] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/nctdfd.html agreement confidentiality employee] [http://kristinlyseggen.com/gallery/1documentaries/7travel/cetkas.html atv accessaries] [http://www.stillwaterhomes.com/listings/images/pic/advpis.html abs pipe prices] [http://kom-pas.de/3xcms/config/hkatuploads/images/xwnugi.html usa network dead zone] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/dardoh.html whats going on in there] [http://activeimage.c3.hu/css/kvwpjq.html lebanese media links] [http://www.stillwaterhomes.com/listings/images/pic/jjvbls.html plato contributions] [http://activeimage.c3.hu/css/ruookm.html northwestern university in evanston il] [http://www.lowell.edu/styles/old_style/css/anbjme.html lightscribe dvd drives] [http://kristinlyseggen.com/gallery/1documentaries/7travel/moufug.html rainbow six 3 for gamecube] [http://kristinlyseggen.com/gallery/1documentaries/7travel/cqashg.html insurance terminology definitions] [http://ndr.hu/rhodes/ijtxgk.html james bond girls images] [http://activeimage.c3.hu/css/lvfbfc.html stools for kitchen island] [http://maps.my2gig.com/cache/wvsxgi.html united airways phone number] [http://www.salona-yachts.eu/misc/xushok.html indias hottest girls] [http://www.olemissfans.com/chatpro/image/mujjon.html million dollars picture] [http://kom-pas.de/3xcms/config/hkatuploads/images/cxdwnk.html rum cake recipe] [http://www.plurpage.com/classifieds/cache/kbpxjg.html alaska governor state time two] [http://2001.c3.hu/mas/slhaha.html sell mortgage notes] [http://2001.c3.hu/mas/rqrnnu.html rental cars cheapest] [http://www.housing.und.edu/reshalls/blog/wp-content/uploads/2007/04/img/bkeuos.html discount didrex] [http://activeimage.c3.hu/css/dlsnbs.html pet abuse laws] [http://www.salona-yachts.eu/misc/scdqss.html musician ri wedding] [http://kom-pas.de/3xcms/config/hkatuploads/images/oastfd.html iden phones motorola] [http://aura.c3.hu/thumb/gwjshj.html prepaid phone call] [http://kristinlyseggen.com/gallery/1documentaries/7travel/tcvaom.html set canceled] [http://troniny.ovh.org/gallery/layout/nedlfu.html modern rock] [http://www.easypayinfo.com/subscribe/tmp/xvlwav.html philadelphia sailing show] [http://www.farmelco.hu/test/css/ajdxxa.html world map of algeria] [http://www.lowell.edu/styles/old_style/css/wxcwbu.html lips kissing] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/ssshfu.html entry level it resume] [http://www.farmelco.hu/test/css/ebegww.html expressiveness] [http://atlas2.mirc.gatech.edu/sugar/log4php/helpers/ssh/huly.htm alcatel ringtones] [http://www.stillwaterhomes.com/listings/images/pic/nrlcoc.html airway us visa] [http://www.lowell.edu/styles/old_style/css/ivimfj.html rover north america] [http://kom-pas.de/3xcms/config/hkatuploads/images/ndlsmo.html linked with] [http://kristinlyseggen.com/gallery/1documentaries/7travel/iqhwun.html accounts accounts payable positions] [http://www.easypayinfo.com/subscribe/tmp/txtqfs.html wild bunch film distribution] [http://maps.my2gig.com/cache/tvkelq.html suggest a web site] [http://2001.c3.hu/mas/ctxebe.html pavement lyrics] [http://www.easypayinfo.com/subscribe/tmp/bxniki.html phoenix az temperatures] [http://www.stillwaterhomes.com/listings/images/pic/bfxkso.html sbs 2003 fax server] [http://www.plurpage.com/classifieds/cache/jasxsq.html map type] [http://informer.siam.edu/themes/hm/lefltk.html true ringtones] [http://www.olemissfans.com/chatpro/image/txduag.html i heard em say lyrics] [http://ndr.hu/rhodes/qhagas.html sprint car builder] [http://www.stillwaterhomes.com/listings/images/pic/atfpul.html what type of fruit is a love apple] [http://www.salona-yachts.eu/misc/fsixrv.html konie pl] [http://www.olemissfans.com/chatpro/image/cincvj.html 1979 floyd pink wall] [http://www.plurpage.com/classifieds/cache/mevjkc.html asian guy fuck] [http://troniny.ovh.org/gallery/layout/triuel.html kick boxing schools] [http://www.plurpage.com/classifieds/cache/ufggbc.html sodomy laws] {| 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]