arduino Selecting the right relay

A 5v power supply to act just like a switch. I will be controlling it with an Arduino like described here: You won`t be able to drive it directly from the Arduino pin, as most general purpose relays require at least 150mW to switch which is >30mA @ 5V. You will need to use something like this: The NPN can be just about any general purpose NPN (2N2222, BC337, etc) and the diode can be most general purpose diodes
arduino Selecting the right relay - schematic

(1N4001 or similar) VCC is your +5V. If you go to somewhere like Farnell, and use the parametric search to narrow down you options, you will get hundreds of choices, here is an example search with 5VDC general purpose relays capable of >10A and >250VAC selected. It seems this is to turn an ATX supply on by pulling the PC_ON (usually green) connection to ground. In this case the relay is a bit overkill, and a simple open collector NPN transistor circuit can be used: The dotted area is inside the PC, so all you need is the NPN transistor (almost any general purpose will do) and the resistor (4. 7kOhm is shown, but depending on the transistor gain, R1 can be between say, 50kOhm and 1kOhm - between 1kOhm and 10kOhm should work with just about anything though) The R_pullup of 1kOhm is assuming about the worst case - it will probably be between 2kOhm and 10kOhm. The circuit as shown would work with a pullup down to around 100 ohms though if needed. the thing im switching on is a atx computer PSU, to turn it on you just bridge a certain wire to a ground wire, a relay could do this yes lewis denny Aug 6 `12 at 13:45 Yes, a relay could do this. If you are referring to the green power on signal connection, since the current is very low you could do this with just the transistor itself (the Arduino would not be isolated from the ATX in this case, but that may not be an issue) Oli Glaser Aug 6 `12 at 14:26 The ATX 2. 2 spec does not...

Leave Comment

characters left:

New Circuits