Go Down

Topic: Arduino and Relay Wiring (Read 6 times) previous topic - next topic

tayshun12

Hi all,

I am trying to setup my arduino to switch on an off a light with this relay:

http://dx.com/p/arduino-5v-relay-module-blue-black-121354

I have hooked it up and the LED on the shield blinks when I use my code, But I do not know how to wire my output for my light.

There is a spot for an NC (normally closed) NO(normally open) and a C. I am not sure where I put my positive and negative to wire the whole thing as a circuit.

Any help would be greatly appreciated.

Thanks,

Tayshun

CrossRoads

Connect the power source Positive lead to NO, and the C leg to the Positive lead going to your light.
Connect the power source Negative direct to the Negative lead going to your light.
Do not connect anything to NC.
NO will be hot (have power all the time), C will be hot when the relay is commanded on.
NC will never be hot.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

terryking228

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

tayshun12

Great thanks a lot!!!! How do I leave a karma or a thank you to these guys??

AutoElecHack


Connect the power source Positive lead to NO, and the C leg to the Positive lead going to your light.
Connect the power source Negative direct to the Negative lead going to your light.
Do not connect anything to NC.
NO will be hot (have power all the time), C will be hot when the relay is commanded on.
NC will never be hot.


C = Common connection
NC = Normally Closed connection
NO = Normally Open Connection

C will be used as the supply for NC or NO depending on your situation. If you want to switch negative for example, you will connect C to ground and use NC to "receive" that ground when the relay is switched off and use NO to "receive" ground when the relay is switched on.

This is known to us Auto elecs as a simply "Change Over" relay. It means simply that NC and NO are never common to each other. They are only common to C and only seperately and never simultaneously.

I would wire it up with your LOAD, item you are supply the + or -, to the NO side of the relay so that the relay is only drawing current when you want to turn the item on.

**This is a strange way of labelling a relay. I would try and make things easier for yourself by thinking of NC as AT REST or WHEN RELAY IS SWITCHED OFF and NO as RELAY SWITCHED ON.

Hope it helps!

****Just realised this thread is over a year old! FAAAAAAAAAAAHHH-

Sorry admin***

Go Up