Pages: [1]   Go Down
Author Topic: How to use Arduino relay?  (Read 166 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi;
I would like to know what is the uses of these ports on relay. NO (Normally Open) COM (Common) NC (Normally Closed). Can any one explain me further about this relay.
Thank you;
zakirox


* VUPN5949-1.jpg (32.87 KB, 800x713 - viewed 7 times.)
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Those three are the switch connections from the relay. You wire them to the circuit you want to control.

That relay is an electronically driven single pole change over switch. Sometimes called a SPST.

Why have you got a relay if you do not know what it does?
Logged

Offline Offline
Edison Member
*
Karma: 32
Posts: 1286
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A relay is simply an electrically controlled switch.    You can look-up how an SPDT switch works, and you should be able to understand what the relay is doing.


The common and NO contacts are normally disconnected, or "off".   When you apply power to the relay coil, these two contacts are connected together ("closed" or "shorted").

The common and NC work the other way.   These two contacts are connected together ("on", "closed", "shorted") when the coil is not powered.   When the coil is powered, these contacts open-up.

The NO & NC contacts are never connected together.

The terminology & logic is reversed from a water faucet...   For a switch or relay, closed means the contacts are connected an current flows.   Open means the contacts are not connected (the circuit is broken) and current doesn't flow.

Depending on your application, you may not need to use all of the contacts.

Many relays have a clear plastic cover that you can see through.    I was just wiring-up this relay about an hour ago.   You can see the internal wiring and you can see the contacts opening & closing as the relay operates.  (It's not for an Arduino project.  This particular relay has a 12V coil, and you can't operate it directly from an Arduino.)

In my application, I'm using the common & NO contacts.  The NC contacts are not connected to anything.
Logged

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 82
Posts: 3841
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I found the attached pic, which may help. What would we do without Google?

If you wire C and NC, your external circuit in usually on and goes off when you energise the relay. The dotted line in that pic indicates that the coil pulls the lever down when the coil is energised. The lever is spring-loaded into the NC position.

If you wire C and NO, your external circuit in usually off and goes on when you energise the relay.

[hint]
Google Is Your Friend  smiley-cool
[/hint]







* relay internals.jpg (6.9 KB, 290x174 - viewed 4 times.)
Logged

Although I answer in good faith, remember always: Your Mileage May Vary.
Get me on LinkedIn: za.linkedin.com/in/jimbrownza/

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

wow thanks every one i love u all smiley-grin heheehhe i understood smiley  smiley-wink
Logged

Offline Offline
God Member
*****
Karma: 28
Posts: 888
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

simple version ;
it is a way to connect high voltage, high power to a micro-controller.

the Comm/NO/NC side is totally isolated from the signal side.
Logged

Pages: [1]   Go Up
Jump to: