Pages: [1]   Go Down
Author Topic: Arduino and Relay Wiring  (Read 6708 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27434
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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.

Topsham, Vermont USA
Offline Offline
Edison Member
*
Karma: 33
Posts: 1940
... in The Woods In Vermont
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There's visual info on this here:  http://arduino-info.wikispaces.com/ArduinoPower
Logged

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

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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***
Logged

Pages: [1]   Go Up
Jump to: