- 1 Arduino
- 1 diode for example 1N4007
- 1 NPN transistor for example 2N2222 (in the US) or BC548 (in Europe)
- 1 relay for example one with coil voltage 12V and switching voltage 125VAC/10 A
- 1 multimeter
Remove these ads by
Signing UpStep 1: Measure the coil resistance
First we must find the coil:
On some relays the pins are labeled so you can just measure at pin 2 & 5.
Otherwise you have to measure at every pin:
Between two pins you should have between 100 and 10 000 Ohm. Remember that value. That are the two terminals of the coil. The coil is not polarized so its not important which one goes to V+ or GND.
If you have found those there are only three left. Between two should be a connection (if you measure a few Ohm its okay but everything above 50Ohm is too much). One of them is NC and one is COM. To find out which is which let one probe connected and connect the other to the pin that’s left over. If you connect the coil to 12V DC it should make a clicking noise. If your multimeter now shows a low resistance you have found COM and NO. The one probe you didn't move is COM the other is NO.






































Visit Our Store »
Go Pro Today »




2. The R1 resitor, is it what is called a pull-up resistor? I am puzzled because I don't see any connection to the 5V of the Arduino.
thank you so much
i searched the net alot
and that is the best one on the net
thanks alottt :)
It's almost the same... but the relay is 5V and is a shield.. take a look :)
if i put a resistor in series wid d coil would it work?
I've got a couple of questions for you though.
First the easy one. Could you explain the formula in step 5. What is "U_L", "L", "delta i" and "delta t"? Where do I find their values in regards to the components I'm going to use. Just not sure if it matters what rating diode I use, or if it's merely mathematical proof that I will need a diode and any diode will do.
Lastly, I'm going to be applying this for a project of my own, but want to make sure I can get the relay circuit working before I get an Arduino. Can I simulate the arduino by applying a 5v positive to where the arduino would go, with the negative to ground in the circuit?
Again, many thanks for this guide, and thanks for any help you can give me.
Regards,
The Cageybee
Appologises! :-)
The Cageybee
This one is $15.00 US
http://www.allelectronics.com/make-a-store/item/SSRLY-42/40-AMP-SOLID-STATE-RELAY/1.html
There are a bunch here too. There's a million different options to sort through, and I've seen them as cheap as $9.00 US.
http://search.digikey.com/scripts/DkSearch/dksus.dll?Cat=1048664&keywords=solid%20state%20relay
Happy hunting.
Cheers
greetz Daniel