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")
(23 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[http://hayley.erhear.cn/ hayley] [http://vonage-deals.drongo.cn/ vonage deals] [http://free-supergirl.drongo.cn/ free supergirl hentai] [http://living.erhear.cn/ living] [http://sex-voyeur.emetic.cn/ sex voyeur] [http://pregnant-women.moon-ray.cn/ pregnant women] [http://japan-scat-girls.moon-ray.cn/ japan scat girls] [http://caribbean-luxury.charie.cn/ caribbean luxury vacation rentals] [http://panthers.moon-ray.cn/ panthers] [http://laura-harris.emetic.cn/ laura harris] [http://midi-keyboard.moon-ray.cn/ midi keyboard software download] [http://ovarian-cancer.charie.cn/ ovarian cancer gifts] [http://linux-check.counite.cn/ linux check disk integrity] [http://sport-bet.gosailor.cn/ sport bet] [http://quentin-tarantino.gosailor.cn/ quentin tarantino] [http://full-family.abjur.cn/ full family incest] [http://beastiality-forum.moon-ray.cn/ beastiality forum] [http://little-girls.tiddle.cn/ little girls modeling in undies] [http://russian-physical.drongo.cn/ russian physical map] [http://musk-oils.charie.cn/ musk oils] [http://boat-for-sale.drongo.cn/ boat for sale] [http://what-freeze-faster.charie.cn/ what freeze faster hot or cold water] [http://make-poverty-history.abjur.cn/ make poverty history] [http://gay-latino.moon-ray.cn/ gay latino] [http://drunk-coed.gosailor.cn/ drunk coed] [http://shaved-lesbian.indevout.cn/ shaved lesbian preteens fingering] [http://application.gosailor.cn/ application illinois secretary state title] [http://dark-art.indevout.cn/ dark art] [http://the-door-the-soft.charie.cn/ the door the soft parade] [http://a-friends-betrayal.charie.cn/ a friends betrayal] [http://auto-body-canadian.emetic.cn/ auto body canadian part] [http://properties-for.erhear.cn/ properties for sale in croatia] [http://jedi-training.gosailor.cn/ jedi training] [http://naked-naru.gosailor.cn/ naked naru] [http://college-girls-in.abjur.cn/ college girls in short skirts] [http://online-job-finders.counite.cn/ online job finders] [http://american-doctors.tiddle.cn/ american doctors association] [http://bar-code-printer.drongo.cn/ bar code printer] [http://vancouver-fly-fishing.abjur.cn/ vancouver fly fishing] [http://classical.erhear.cn/ classical] [http://west-coast-chopper.emetic.cn/ west coast chopper] [http://activities-for.erhear.cn/ activities for storm in the night] [http://jessica-alba-nude.tiddle.cn/ jessica alba nude pics] [http://construction-management.erhear.cn/ construction management] [http://california-health.emetic.cn/ california health insurance plan] [http://nutrition-for.drongo.cn/ nutrition for children] [http://skater-boys.abjur.cn/ skater boys boxers] [http://atreyu-bleeding.indevout.cn/ atreyu bleeding mascara] [http://cheap-anniversary.emetic.cn/ cheap anniversary clocks] [http://video-cassette.indevout.cn/ video cassette to dvd] [http://designer-crib-bedding.indevout.cn/ designer crib bedding] [http://nursing-bra.gosailor.cn/ nursing bra] [http://lacey-chabert.abjur.cn/ lacey chabert] [http://cliffside-park.moon-ray.cn/ cliffside park homes] [http://nascar-tickets.indevout.cn/ nascar tickets] [http://electric-radio.indevout.cn/ electric radio control airplane] [http://litchenstein-roy.indevout.cn/ litchenstein roy] [http://avalide.moon-ray.cn/ avalide] [http://room-dividers.tiddle.cn/ room dividers] [http://watch-free-paris.moon-ray.cn/ watch free paris hilton sex tape] [http://antisocial-personality.drongo.cn/ antisocial personality disorder] [http://demon-art.abjur.cn/ demon art] [http://woman-hermaphrodites.charie.cn/ woman hermaphrodites] [http://making-a-girl.erhear.cn/ making a girl horny] [http://lava-lamps.abjur.cn/ lava lamps] [http://hematuria.counite.cn/ hematuria] [http://alamo-rental.erhear.cn/ alamo rental car] [http://hot-supermodels.charie.cn/ hot supermodels in thongs] [http://cheap-web-hosting.abjur.cn/ cheap web hosting package] [http://acrylic-sculptures.tiddle.cn/ acrylic sculptures] [http://cant-touch-this.abjur.cn/ cant touch this] [http://nnmodels.emetic.cn/ nnmodels] [http://dog-peeing.abjur.cn/ dog peeing] [http://sexual-positions.drongo.cn/ sexual positions illustrated sexual position] [http://incredibles-naked.indevout.cn/ incredibles naked] [http://sperm-shooting.gosailor.cn/ sperm shooting out of the penis] [http://minnesota-process.gosailor.cn/ minnesota process server] [http://monica-wells.drongo.cn/ monica wells] [http://picpost.indevout.cn/ picpost] [http://hindu.charie.cn/ hindu] [http://free-cartoon.drongo.cn/ free cartoon pokemon porn] [http://women-using-vibrators.charie.cn/ women using vibrators] [http://lifestyle-fitness.charie.cn/ lifestyle fitness centers] [http://sylvia-kristel.emetic.cn/ sylvia kristel] [http://don-lemmon.gosailor.cn/ don lemmon] [http://christineyoung.charie.cn/ christineyoung] [http://advocates-for.drongo.cn/ advocates for children and families florida] [http://map-of-north-america.moon-ray.cn/ map of north america] [http://free-hentai-videos.tiddle.cn/ free hentai videos] [http://stainless-steel.moon-ray.cn/ stainless steel hood] [http://johnson-city-tennessee.counite.cn/ johnson city tennessee real estate] [http://dental-care-products.moon-ray.cn/ dental care products] [http://radio-controlled.indevout.cn/ radio controlled car clubs uk] [http://gucci-watches.indevout.cn/ gucci watches] [http://shabby-chic.gosailor.cn/ shabby chic handbags] [http://miele-vacuum.counite.cn/ miele vacuum cleaners] [http://harbor-frieght.drongo.cn/ harbor frieght tools] [http://bingo-cards.moon-ray.cn/ bingo cards] [http://cunts.counite.cn/ cunts] [http://discover.emetic.cn/ discover] [http://diapers-for.moon-ray.cn/ diapers for preteens] [http://i-hope-you-dance.abjur.cn/ i hope you dance music] [http://show-me-how-girls.abjur.cn/ show me how girls masturbate] [http://celeb-nude-scenes.tiddle.cn/ celeb nude scenes] [http://hp-ink-cartridges.counite.cn/ hp ink cartridges] [http://she-male.gosailor.cn/ she male] [http://icey.drongo.cn/ icey] [http://free-masterbating.abjur.cn/ free masterbating women] [http://website-extractor.counite.cn/ website extractor free] [http://dragonball-z.erhear.cn/ dragonball z] [http://cartoon-spanking.counite.cn/ cartoon spanking] [http://lovely-legs.tiddle.cn/ lovely legs] [http://huge-dildo-insertions.counite.cn/ huge dildo insertions] [http://beautiful.emetic.cn/ beautiful] [http://plus-size.counite.cn/ plus size] [http://mother-fucker.indevout.cn/ mother fucker] [http://tinkerbell-wallpaper.charie.cn/ tinkerbell wallpaper] [http://juniors-shopping.moon-ray.cn/ juniors shopping online] [http://folliculitis.emetic.cn/ folliculitis] [http://naked-hot-brunette.tiddle.cn/ naked hot brunette] [http://craftsman-style.emetic.cn/ craftsman style home] [http://southwestern-airline.charie.cn/ southwestern airline] [http://italian-male-models.gosailor.cn/ italian male models] [http://special-ed.emetic.cn/ special ed] [http://flag.drongo.cn/ flag] [http://howard-stern-uncensored.counite.cn/ howard stern uncensored] [http://free-video-poker.gosailor.cn/ free video poker] [http://shy-love.emetic.cn/ shy love] [http://shanon-elizabeth.gosailor.cn/ shanon elizabeth] [http://christian-websites.erhear.cn/ christian websites] [http://estrogen-testosterone.counite.cn/ estrogen testosterone and behavior] [http://teen-ass-fucking.abjur.cn/ teen ass fucking] [http://tea-leoni-nude.counite.cn/ tea leoni nude] [http://pioneer-homes.indevout.cn/ pioneer homes] [http://perl-time-module.abjur.cn/ perl time module] [http://caught-in-self.charie.cn/ caught in self bondage] [http://really-big-tits.indevout.cn/ really big tits] [http://download-crack-mdm.tiddle.cn/ download crack mdm flash studio pro v2] [http://normal-il-homes.gosailor.cn/ normal il homes] [http://camping-sex.erhear.cn/ camping sex] [http://christina-applegate.drongo.cn/ christina applegate nude] [http://certification.moon-ray.cn/ certification for medical coding and billing] [http://dave-chappell.emetic.cn/ dave chappell] [http://free-movies-free.tiddle.cn/ free movies free interracial fucking movie] [http://colloidal-gold.charie.cn/ colloidal gold] [http://heat-pump-prices.erhear.cn/ heat pump prices] [http://play-a-racing.counite.cn/ play a racing game] [http://maturewomen.erhear.cn/ maturewomen] [http://locker-room.emetic.cn/ locker room voyeur] [http://motivational-qoutes.tiddle.cn/ motivational qoutes] [http://with-transaction.indevout.cn/ with transaction costs] [http://canadian-fishing.charie.cn/ canadian fishing lakes] [http://merchant-account.emetic.cn/ merchant account service] [http://profiling-by-police.counite.cn/ profiling by police] [http://avril-lavigne.emetic.cn/ avril lavigne naked] [http://one-on-one.indevout.cn/ one on one] [http://amateursex.charie.cn/ amateursex] [http://italian-culture.drongo.cn/ italian culture] [http://cum-filled-cunts.counite.cn/ cum filled cunts] [http://yung-wun-tear-it.emetic.cn/ yung wun tear it up] [http://interactive-dating.abjur.cn/ interactive dating game] [http://cheetah-girl-pictures.indevout.cn/ cheetah girl pictures] [http://shopping-mall.moon-ray.cn/ shopping mall online] [http://adult-interactive.emetic.cn/ adult interactive video] [http://recalls.moon-ray.cn/ recalls] [http://briggs-and-straton.abjur.cn/ briggs and straton parts] [http://water-sports.emetic.cn/ water sports uk] [http://top-gun-movie-stills.gosailor.cn/ top gun movie stills] [http://hawaiian-gifts.abjur.cn/ hawaiian gifts] [http://joe-cocker-hat.erhear.cn/ joe cocker hat] [http://asco.charie.cn/ asco] [http://superheroine-bondage.indevout.cn/ superheroine bondage] [http://downloads.counite.cn/ downloads] [http://brandon-margera.charie.cn/ brandon margera] [http://rio-de-janeiro.indevout.cn/ rio de janeiro] [http://get-fucked.charie.cn/ get fucked] [http://la-lloyds-rock.erhear.cn/ la lloyds rock 30] [http://hot-hot-heat-goodnight.indevout.cn/ hot hot heat goodnight] [http://winter-park-colorado.emetic.cn/ winter park colorado] [http://there-goes-my.gosailor.cn/ there goes my hero watch him lyrics] [http://amex-corporate-cards.moon-ray.cn/ amex corporate cards] [http://condo-in-las-vegas.counite.cn/ condo in las vegas] [http://police-auction.tiddle.cn/ police auction] [http://texas-car-laws.tiddle.cn/ texas car laws] [http://funniest-jokes.emetic.cn/ funniest jokes] [http://brazilian-transsexual.emetic.cn/ brazilian transsexual] [http://custom-insoles.counite.cn/ custom insoles] [http://bohemian-rapsody.erhear.cn/ bohemian rapsody] [http://pussy-willow.counite.cn/ pussy willow] [http://drecomm.tiddle.cn/ drecomm] [http://what-is-cinco.drongo.cn/ what is cinco de mayo] [http://teen-movies.charie.cn/ teen movies] [http://watch-faces.indevout.cn/ watch faces] [http://see-me-naked.drongo.cn/ see me naked] [http://zolpidem.counite.cn/ zolpidem] [http://vancouver-and.indevout.cn/ vancouver and jericho] [http://super-shuttle.indevout.cn/ super shuttle] [http://free-porn-videos.erhear.cn/ free porn videos online] [http://initiation.moon-ray.cn/ initiation] [http://mary-kate-and.counite.cn/ mary kate and ashley] {| 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