Skill level:     Intermediate
 

Controllable Power Outlet

by Nate  |  
December 2, 2008  |  

Controlling Big, Mean, Devices


Microcontrollers are a ton of fun. Once I got hooked, there was no turning back. Initially playing with sensors and LCDs, I quickly discovered the limits to what a microcontroller could control. A microcontroller's GPIO (general purpose input/output) pins cannot handle higher power requirements. An LED was easy enough, but large power items such as light bulbs, toaster ovens, and blenders required more sneaky circuitry. Something sneaky called a relay:

http://www.sparkfun.com/tutorial/Outlet/Outlet-1.jpg
In this tutorial we will discuss a small relay board to control the power to a normal AC outlet using 5VDC control.

All the usual warnings apply: Main voltage (120VAC or 220VAC) can kill you. This project, done incorrectly, could certainly burn down your house. Have your pet spayed or neutered. Shampoo is better. Do not work on or solder to any part of a project while it is plugged into the wall - just unplug it!

You can get the Eagle files for the control board here. The control board is composed of a relay along with a NPN transistor and LED.



What's a relay?
I admit, I really just wanted to build my own Blender Defender (I don't even have a cat!). However, building a 5V controllable outlet can be handy for many applications. For these power hogs, a relay is the perfect fit.

A relay is a large mechanical switch. That switch is toggled on or off by energizing a coil.


In this example we are going to talk about the simplest version of a relay. Inside the relay are two paddles made of metal. One paddle is made of a ferrous material like steel and is free to move. The other paddle is made of copper and stationary. When these paddles touch (the closed switch state), they are capable of allowing a large amount of power to flow - like 30A@120VAC (huge!).

The other half the relay is called the coil. This is basically a small electro-magnet. If you send current through the coil, a magnetic force is created, which pulls on the steel paddle causing it to move (flip) and touch the copper paddle - as if you flipped a light switch. The coil requires a small amount of power (5VDC @ 80mA). So you see, controlling the low-power coil allows us to actually control quite a lot of power!

It is important to note the coil is physically isolated from the paddles. If you have 120VAC running through the paddles, you don't have to worry about that 120VAC sneaking back into and vaporizing your microcontroller (connected to the coil).

The paddles are capable of carrying very large currents. Both AC or DC - the paddles don't care. A relay can be used to control a DC motor, or an AC lamp.

The relay that we will be working with, in this tutorial, is a beefcake in my opinion. It can handle a lot of power - 30A at 220VAC. What happens if you violate this limit? I have thankfully never been in that situation. I have heard reports that the relay will begin to heat up. When the voltage/current becomes large enough, there will be sparks inside the relay as you switch the paddles. If these sparks get large enough, you can actually spot weld the movable paddle to stationary paddle causing the relay to fail, potentially in the 'on' position. Obviously this would be very bad on many levels.

Like we do with capacitors, we under-rate the relay so that we mitigate the risk of relay failure. If you need 10A@120VAC, don't use a relay rated for 10A@120VAC, instead use a bigger one (such as 30A@120VAC). Remember, power = current * voltage so a 30A@220V relay can handle up to a 6,000W device (two hair dryers).



The Outlet

http://www.sparkfun.com/tutorial/Outlet/Outlet-0.jpg

The goal is the get a GFCI outlet into some sort of a housing, with a power cord, the relay, and control circuitry.

Materials:
  • GFCI Outlet ($10)
  • Nail mount housing ($1)
  • Thick 3-wire type extension cord, 8 feet (2-wire cords will not work) ($7)
  • Relay ($4)
  • Control board and parts ($5)
Please notice that we are using a Ground Fault Circuit Interrupter (GFCI) Outlet and not a normal outlet. A normal outlet costs $0.59 - but I went for the $10 GFCI. Why? The GFCI may save your life. It's the type of outlet you'll find near anything that outputs water (kitchen sinks, batchroom tubs, etc). When the outlet detects an abnormal amount of current, it assumes that a large amount of potentially fatal current is flowing through your body, and therefore switches off - saving you and your project.

Truthfully, the GFCI may only shut off when there is a current leak across a connection to ground - and not an over-current condition. What this means is if your 'project' suddenly pulls 50A because the microwave turned on, the GFCI will not trip off. But it you accidentally touch the wrong exposed wire, the GFCI will trip because it will detect a fault to ground (saving your heart from cardiac arrest). We repeat - when working on any part of an AC project, unplug the thing from the wall.



The Inline Power Control Board

The first thing you need to do is build up the Power Control board.

http://www.sparkfun.com/tutorial/Outlet/Outlet-1.jpg

This board contains the relay, transistor, and activation LED. The board requires 5V and GND to operate. A control pin controls whether the relay is 'closed' (allows high power to flow) or 'open' (paddle's default state of disconnected).


The control board is fairly straight forward. The coil within the relay requires up to 80mA. This is more than a GPIO pin can handle (20mA by default) so we use NPN transistor as a controllable connection to ground. The NPN transistor can handle up to a 200mA which is more than the coil (80mA) and the LED (20mA) combined.

When the 'RELAY' pin (aka CTRL) goes high, the NPN transistor connects to ground sending current through the coil (activating the relay) and through the LED (turning the activation LED on). R1 pulls the 'RELAY' pin to ground so if anything goes haywire the relay will remain in the safe, off position.

Note: The 1N4148 diode is connected in a odd fashion for a reason. This is placed between power and ground in a reverse fashion. When the coil of the relay is de-activated, it acts like an inductor, trying to suppress current change. This can cause some havoc on the 5V power rail. When this happens, the 1N4148 will forward bias causing the current stored in the coil to flow happily back to the 5V rail protecting the power supply and the near-by parts.



The Build

Take that beautiful extension cord and cut off the female connector about 6" from the female end.

http://www.sparkfun.com/tutorial/Outlet/Outlet-2.jpg
A male US power plug next to the cut off end of the extension cord

This should leave leave a few feet of extension cord between the part that plugs into the wall (male end) and the bare, exposed, recently cut-off end of the extension cord. Don't plug it in!

Note: A two-wire extension cord will not work correctly. Notice we are using thick, three-wire circular extension cord. This extra wire is the ground return and allows the GFCI to operate correctly.

Using a meter set to continuity, check that the ground pin (the round one) is indeed connected to the green ground wire.  I've seen a few extension cords with non-standard colors.

http://www.sparkfun.com/tutorial/Outlet/Outlet-3.jpg

Use a wire stripper or an exacto-knife to remove about 6" of the sheath from the extension cord. You should find three wires - black, white and green.

http://www.sparkfun.com/tutorial/Outlet/Outlet-4.jpg

Use wire strippers to strip the three wires individually about 1". I twist the ends of the wires to combine the strands of the wires together in preparation for soldering.

http://www.sparkfun.com/tutorial/Outlet/Outlet-5.jpg

Sometimes the roll of solder can be used as a third hand.

http://www.sparkfun.com/tutorial/Outlet/Outlet-6.jpg

The goal here is to 'tin' the three wires. Adding solder to each of the stranded wires will hold all the wires together and allow for easier manipulation later.

http://www.sparkfun.com/tutorial/Outlet/Outlet-9.jpg

Be sure to thread the extension cord through the housing (shown above) before soldering to the control board. It's a huge pain to have to cut and remove the wires from the control board.

http://www.sparkfun.com/tutorial/Outlet/Outlet-8.jpg

Be sure the extension is threaded through the housing before you do this step.

With a good 6" of wire exposed, cut the black wire about 5" down from the end. The is where the relay will live.

http://www.sparkfun.com/tutorial/Outlet/Outlet-10.jpg
Notice the hooks on the three wires. I wrapped the tinned ends of wire around a small jewelers screw driver to create a half circle within the wire. This will aid connection to the screws on the GFCI.

Here we have the black wire cut and soldered to the control board. The relay is a NO (Normally Open) type relay. When power is off, there is no connection between the two thick black strands that you just cut and soldered. This is a safety feature - if all things go wrong and the power goes out of the coil, the relay will kick off and the outlet will shut down.

Conversely, when you send 5V to the coil, the paddle flips from the 'off' state to the 'on' state, connecting the two pieces of black wire (on the left side of the picture above), power is delivered to the outlet and your project is powered.

http://www.sparkfun.com/tutorial/Outlet/Outlet-11.jpg

Now we connect the wires from the extension cord to the outlet. The Black and white wires connect to the two side terminals of the GFCI - the green wire (ground) connects to the end of the outlet.

Advanced trick: Notice how the hooks of the tinned wires are arranged so that they are clock-wise. If you align the hooks of the wires under the screws correctly, as you tighten the screws, the hook of the wire will be 'sucked' into the tightening screw. This creates a very compact connection.

http://www.sparkfun.com/tutorial/Outlet/Outlet-7.jpg

Now lower the relay into the enclosure and feed the control wires (red, yellow, and black) out one corner of the housing. (You're right, the extension cord wires are not soldered to the relay board in this picture - please make believe).

http://www.sparkfun.com/tutorial/Outlet/Outlet-12.jpg

You can double-stick tape the control board to the bottom of the housing or just let it float - the wires from the extension cord will tend to hold it in place. Once you have everything lowered into place, screw the outlet onto the enclosure, and the face plate onto the enclosure.

http://www.sparkfun.com/tutorial/Outlet/Outlet-13.jpg
Here we test the controllable outlet against the Boxing Timer

DO NOT plug the extension cord into the wall yet.

Now for the moment of truth. Attach the three control wires (5V, GND, and CTRL) to some sort of system. In the above picture, I have a fairly dirty breadboard. All that I am actually using on the bread board is 5V and GND - ignore all the other parts as they are not doing anything. I then manually toggled the control wire from GND (off) to 5V (on). You can do the same thing by plugging into the 5V and GND pins on an Arduino board.

Tying the CTRL line to 5V I heard a very friendly click as the relay kicked over. This indicated (along with the LED on the control board) that the relay was actuated to the 'on' position. Removing CTRL from the 5V rail (called floating because the CTRL line is neither connected to 5V or GND), the relay released. This is good! If CTRL is left floating or tied to ground, the outlet is turned off.

You can also use a meter in continuity mode to check that the relay is working properly before you connect to 120VAC.  When the relay's open, one of the fins of the plug and one of the rectangular holes of the outlet will not have continuity, and when it's closed, they will.  The other fin and rectangular hole will always have continuity, as will the ground pin and the funny hole.  I always do this check before plugging into the 120VAC, because I am, you know, paranoid.

The next step is to plug the extension cord into the wall and test again. If anything goes wrong the GFCI should activate and cut off. Be sure to unplug the outlet anytime you are working on it. Please don't get zapped!



You should now have an outlet that is fully controllable over 5V logic. When you plug a device into the outlet, it will by default be off. When you expose 5V to the CTRL line, the relay will activate turning on power to the device plugged into the outlet.

Enjoy!
Nathan Seidle

Back to Tutorials

 

Comments

39 comments


Log in to post comments.

by
blalor's rank:
+1.2
|   December  4, 2008 at 9:47 AM
Comment rating:
0
This is a great tutorial, and it looks like the price is right! I've been kicking around ideas for how to power down my four external FireWire drives when my iMac goes to sleep, and I think this might just fit the bill. (The "logic" could just be to pull the plug on the drives when the iMac goes to sleep, removing +5v from a USB device.)

Why did you choose a relay instead of a triac?
by
signal7's rank:
+4.6
|   December  4, 2008 at 10:27 AM
Comment rating:
+0.18
For this project, the relay works fine, but if I were using a relay to control a DC motor, I would add a diode across the relay contacts. Inductive kickbacks can cause the relay to fail prematurely even if the relay is rated for much more current than it's actually carrying. So in the same way you used a switching diode to prevent the relay coil from killing the transistor, you would need a diode on the output terminals.

For AC loads, I would be much more apt to use a silicon relay rather than a mechanical relay. They are designed to handle inductive loads in a better fashion than the mechanical relay could (and they offer opto-coupled isolation between the microcontroller and the load). More expensive, but also more bullet-proof.
by
Lee's rank:
+3.2
|   December  4, 2008 at 1:53 PM
Comment rating:
0
Nice tutorial -- thanks. The copper layers are really clean and should be easy to make at home or have fabricated. Careful if you send them out, though, because of the legend on pads (see reference designator "JP3", and the outline around the LOAD). See the images for the "gerber274x" CAM output at:

http://www.circuitpeople.com/ViewPackage.aspx?id=62ec2049-3398-4976-8c69-13ec2b53d254
by
Lee's rank:
+3.2
|   December  4, 2008 at 2:30 PM
Comment rating:
0
I knew that dead-end trace looked funny; I'm a bit of a neophyte to EE, but isn't the "overwrite of RAW" ERC check the problem?

I fixed-it-up and exported the CAM files using the Sparkfun CAM Job for these updated images, which look to have all the right copper - have I "fixed" it right?

http://www.circuitpeople.com/ViewPackage.aspx?id=856080e6-fe7d-4a43-9e25-928f1327c5bf
by
Philip's rank:
+3.6
|   December  4, 2008 at 7:50 PM
Comment rating:
0
Great tutorial, but....

use a solid state relay (D1202). You can drive the solid state relay directly form the micro, and easily control 120V ac with 3 - 30 vdc . OR use a optocoupler that has dual fets for AC control, can't remember the part number right now, wait it's LCA110 these little guys, the LCA110, work great, used them one time in a project to turn a camera from a micro when a PIR was tripped. When using strictly solid state devices, not electromechanical, there is no need to worry about back EMF blowing the micro output. Hey, that why that make triacs!
by
SamL's rank:
+1.7
|   December  4, 2008 at 9:02 PM
Comment rating:
0
Too bad those D1202's are $20/ea :(

Some 5VDC relays only need 40mA, so can be driven directly, without the transistor (but still with the diode).

Another option is Velleman's quad-triac kit:
http://www.allspectrum.com/store/product_info.php?products_id=1484
by
Bear's rank:
+3.3
|   December  4, 2008 at 10:03 PM
Comment rating:
0
A nit-pick, or not...
I think that most electrical codes don't allow low voltage wires to exit an AC box as shown.
In the unlikely event this causes a fire, the insurance company could, well, you know...

I'd use an X10 ($15) or Z-Wave UL Approved appliance module. An control that via X10 power line signals or Z-Wave wireless signals from either a programmable timer or a PC, e.g., one running Homeseer (www.homeseer.com). This would be legit.

Reverse-EMF diode on relay coil is a must-do, for DC coil relays driven by solid state electronics.

Using a solid state switch is better than a relay; these are $10 or so.

by Nate is a SparkFun employee
|   December  5, 2008 at 4:41 PM
Good point Bear! I am not an electrician and hope I don't come across sounding like one. This tutorial is certainly not to code. We're just messing around.
by
Solar's rank:
+2.8
|   December  4, 2008 at 10:26 PM
Comment rating:
0
I thought the same as bear - against code to put low voltage and high voltage in same box - why that would be is absolutely beyond me...

one other nit - I believe you wouldn't want to use a gfci on a circuit that already has an existing gfci - iirc neither of the gfci's will work properly when there are multiple on the same circuit.

by
Philip's rank:
+3.6
|   December  5, 2008 at 9:35 AM
Comment rating:
+0.2
Actually,

Bear and Solar, I am a Electrician with 17 + years experience, and you can pass low voltage and high voltage through, in or out of the same enclosure, raceway, etc. as long as both conductors are rated for the same voltage, ie.;
THHN commonly used for commercial and industrial wiring is rated for 600v. It can be used for both low and high voltage. Most wire we use in electronics is rated at 300v, if this wire is in the same raceway/enclosure as 600v rated wire, then there simply needs to be a divider separating the wire.
by
saccade's rank:
+30
|   December  6, 2008 at 6:13 PM
Comment rating:
0
This is a really useful tutorial. Does the relay have a connection for Normally Closed as well as Normally Open? I've been thinking of a remote controlled device to reset the modem for my flaky DSL line. It would be "connected" most of the time, just momentarily cutting power to the DSL modem for a few seconds to reset it when my server senses the line's gone down again...
RichardBronosky's rank:
+2.2
|   December  7, 2008 at 9:11 AM
Comment rating:
0
I am wanting to do this EXACT thing. I would suggest a single pole double throw relay. (I think that is what it would be called.) One contact/throw is normally closed (when the coil is not energized). The other contact is normally open (and closes when the coil is energized).

Something else I would like to have would be a "toggle relay" if such a thing exists. So that each time the coil is energized the contacts switch state. That way you wouldn't have to keep power on the coil to maintain state.
by Nate is a SparkFun employee
|   December  8, 2008 at 9:30 AM
Good question! This particular relay only has a NO (normally open) connection. Most relays have connections to both NO and NC.

I've never heard of a relay that switches states and stays there, without power, but I'm sure there is a solution.
by
haze's rank:
+1
|   December  9, 2008 at 7:24 PM
Comment rating:
0
Isn't a latching relay what you're thinking of? send it a voltage briefly to get it to toggle and it will remain toggled once the voltage is turned off. to switch it back, you often need to apply voltage on another pin or on the same pin with a reverse polarity.
by
PSmith's rank:
+32
|   January  9, 2009 at 9:32 AM
Comment rating:
0
I finished putting mine together yesterday, and it works perfectly - exactly as advertised. This was the first time I've worked with a service (BatchPCB) to get a PC board done, and also the first time I've worked with AC outlets. I learned a lot from it. The good folks at BatchPCB were good enough to point out the flaw in the PCB files in the tutorial, and send me corrected versions of the boards. I would have never found the problem myself, which would have been pretty discouraging.

I did have a little glitch that was entirely my own fault. When I finished putting the board together and started testing it, I found it very unreliable. Turns out I'd forgotten to solder two of the pads on the three-terminal connector, so they were sitting loose in their drill holes, occasionally making contact, but usually not. When I went back and fixed that, I had a completely reliable relay board. Looks great too.
by
Wiskow's rank:
+1.2
|   January 17, 2009 at 9:20 PM
Comment rating:
+0.23
How did you figure out the relay coil requires 80mA at 5VDC?
From what I am finding in both the Datasheet and specs listed at DIGIKEY it is a 200mA coil at 5VDC.
by
c59634's rank:
+1
|   February  2, 2009 at 11:43 AM
Comment rating:
0
Supposing the LED needs 2V, it remains for the series resistor 3V, we know that the LED needs 20mA (0.02A); using Ohm's law results R=U/I=3/0.02=150 Ohm for the series resistor. I don't understand how did you get 1K for it?! Maybe a mistake?
by
c59634's rank:
+1
|   February  2, 2009 at 11:45 AM
Comment rating:
0
Oh, sorry the resistor is not grounded as i see...
by
c59634's rank:
+1
|   February  2, 2009 at 11:48 AM
Comment rating:
0
However, thinking at the CE of the transistor too, the voltage at the resistor will be U<3V, so R will be <150 Ohm, not 1k!
by
gahtan's rank:
+1
|   February  7, 2009 at 1:08 AM
Comment rating:
0
helloo my name gahtan
i'm bad in English language, i make some project to control AC motor with atmega, i have some trouble if start/ make ON motor AC the atmega sometime error. how solution in this trouble
please sent email to me at gatan_inf@yahoo.co.id
thank much for help me
:)
Cengsnow's rank:
+1.3
|   February  9, 2009 at 7:18 PM
Comment rating:
0
So when you build this device can you just use a 5v cell phone charger as the power for the resistor or this one http://e-techsiliconvalley.com/store/index.php?main_page=product_info&products_id=1255&zenid=0b855a94c899b4a67180502a44234154 i am also wandering if you could use a thermostat as a switch? Thanks for this excellent tutorial!!! Iv learned so much!
Cengsnow's rank:
+1.3
|   February  9, 2009 at 7:19 PM
Comment rating:
0
whoops! i meant a relay not resistor
maninvan's rank:
+1.3
|   March 17, 2009 at 5:23 PM
Comment rating:
0
"Use a wire stripper or an exacto-knife to remove about 6" of the sheath from the extension cord. "

Best advice is to not use an exacto knife as wire stripper on 110V high amperage power cables . Use a wire stripper that will avoid nicking the wire and causing possible short or even fire.

You can use GFCI receptacles in series, though you must make sure they are wired as per instructions to make sure you don't create a death trap.
by
Guicho's rank:
+1.4
|   April 12, 2009 at 12:53 AM
Comment rating:
0
Thanks for the great tutorial! I wanted to ask why does the completed relay board as shown on the pictures throughout the tutorial not include the 10K ohm resistor that is shown on the schematic diagram? Is the 10K ohm resistor not needed?
by
Kristi's rank:
+1.4
|   April 26, 2009 at 2:04 AM
Comment rating:
0
I don't think the R1 10k resistor really does anything. The "Relay" pin never needs to be pulled to ground.
by
Marcel's rank:
+1.4
|   May  4, 2009 at 11:45 AM
Comment rating:
0
Hi guys, I have built one of this boards and it's working nicelly. However, my real purpose is to drive a heat resistence which generates around 3KW of power (15A@220V). The relay is supposed to support that but what about the board? do you know if it supports? or maybe if I try to solder the 220V wires directly to the relay? I appreciate any help. Thanks!
by
torjue's rank:
+1.4
|   May  6, 2009 at 11:25 PM
Comment rating:
0
Hi, Nate
You say that the relay coil requires 80mA at 5VDC, but the datasheet says 200mA at 5VDC. How did you figure out 80mA?
EEnewbie's rank:
+1.4
|   May 13, 2009 at 0:46 AM
Comment rating:
0
Hey, I'm using this relay with an atmega168, but I'm having a problem. The device I'm powering is 120vac, so both it and my chip are powered from the same device (yes, I use a regulated power supply to get the 120ac down to 5v dc).

my question is, I have the relay close the circuit right when you plug it in, but as soon as my code stops powering the coil and it clicks off, about 80% of the time the power to my chip goes out and the thing reboots and starts over. The power led on my power supply circuit actually goes out for a second, then the whole thing starts over. What am I doing wrong here?

This is actually the 2nd time I've built this circuit with the same problem.
by
Manuel's rank:
+1.2
|   June  9, 2009 at 12:41 AM
Comment rating:
0
Hi, this is a good tutorial. There is just one thing, I think I'd use a thyristor instead of a relay, because of the power consumption. I would also add some optical isolation to not risk my MCU. Anyway, I think it's a good tutorial.
by
arduino's rank:
+1.4
|   June  9, 2009 at 8:43 PM
Comment rating:
0
I tried plugging this into an Arduino, but it sucks too much power. The LCD goes dim when the relay is triggered. Any ideas?
by
johar's rank:
+1.8
|   August  4, 2009 at 2:02 AM
Comment rating:
0
I would advise not to solder the wires. tin tends to melt under pressure - so when you screw the wires on it creeps out from under the screws, the surfaces of the screw and the wire don't connect too good anymore, you get a resistance there, it starts to heat up...
As far as I know (I'm no electrician and I know this to be true for switzerland only) it is against code to solder the wires. Better to drill them only, (much!) better even to use cable-end-sleeves - especially if you plan to have high current over the wires. (and planning may prove wrong. I have so many "just for the moment"-fixes I use for several years now ;))
by
z137's rank:
+1.3
|   October 18, 2009 at 1:02 PM
Comment rating:
0
The schematic doesn't look like the PCB board. Which way does the LED and Diode go?
by
z137's rank:
+1.3
|   October 18, 2009 at 1:05 PM
Comment rating:
0
Also, why is there no 10K resistor in your picture, yet it is on the schematic?
by
z137's rank:
+1.3
|   October 20, 2009 at 10:04 PM
Comment rating:
0
This project did not turn out well for me. The transistor I was sent did not work, in desoldering the faulty transistor the metal rings came off the circuit board. The whole thing is a bust.
Arduino Mega's rank:
+1.1
|   November 17, 2009 at 3:24 PM
Comment rating:
0
Here's a question: Would it be possible to drive 32 of these from an Arduino Mega's Digital IO ports? Or would the amperage be way too great? I would obviously have to use an external power adapter... how much does each draw? I couldn't tell from the datasheet. Is this even relevant (because of the transistor)?
pressurepoint14@gmail.com's rank:
+2.5
|   December 10, 2009 at 1:46 PM
Comment rating:
0
A few comments:
the arduino board will not be suficient power this directly when powered from usb. The v+ and gnd terminals should be attached directly to your power source not the board. the chip is not a problem, but the regulator on the board is somewhat wimpy. as long as you use a sufficient power supply you can use as many as you want.

Or to be more efficient: Give the relay board an independent power supply, then just establish a common ground with the control board. This will draw little power from the board and allow you to control many relays. This setup also works well with sparkfun's line of wireless transceivers. Or if you are lazy check this out: http://www.liquidware.com/shop/show/RS/RelaySquid
Arduino Mega's rank:
+1.1
|   December 30, 2009 at 4:42 PM
Comment rating:
0
Ok, that's what I thought. Now that I looked at the schematic I get how to wire it. From the datasheet, it says that the maximum coil power is 2.8 watts, or .56 amps @5V, but normally it's just 200 mA. How is it 80 mA per relay? I have already ordered many of the components for my project, but am still having a hard time figuring out a decent power supply.

BTW, I will be driving 24 of these (4.8 amps total?). Just guess what I'm building ;)

Also, if the maximum current per relay is .56 amps @5V, then that would require a 13 amp DC power supply. I'm just trying to get how much current one of these relays really takes. Does anyone have a multimeter and one of these relays handy that they could measure it with? I have not ordered this relay yet but will come Free Day.
by
krich11's rank:
+1.6
|   January 18, 2010 at 7:02 PM
Comment rating:
0
I'm putting my money on one of those musical Cristmas light displays. ;-)
by
J.J.'s rank:
+1
|   January 27, 2010 at 9:38 PM
Comment rating:
0
This is exactly what I am looking for. Now what would be the simplest way to get the outlet to stay on for a given length of time when a button was pushed controlling the 5V. without the use of a computer?

Feedback

What's on your mind?

Please include your email address if you'd like us to respond to a specific question.

submit


If you would like to tell us more, you can fill out our form if you need some psycho-suggestive questions. Go to the form.