Arduino and Relay - Electronics Forums

Author Topic: Arduino and Relay  (Read 33835 times)

Akshay

  • Trusted Member
  • *
  • Posts: 2
  • Karma: +0/-0
  • I have a soldering iron and I'm not afraid to use it!
    • View Profile
Arduino and Relay
« on: July 19, 2013, 11:27:02 AM »
Hello !

I want to connect my Arduino UNO to a One Relay Switch Board.
I also want to connect relay to a Fan, TubeLight etc

Relay connections :  POLE, NO, NC,

Please can any one explain me the connections Please.


Images of Relay circuit are attached

Electronics Forums

Arduino and Relay
« on: July 19, 2013, 11:27:02 AM »

ElectroNick

  • The forum moderator
  • Administrator
  • Full Member
  • *****
  • Posts: 154
  • Karma: +3/-0
  • The soldering iron is ON!
    • View Profile
    • Electronics Blog
Re: Arduino and Relay
« Reply #1 on: July 29, 2013, 12:09:09 PM »
Akshay, sorry I haven't been to the site lately and did not respond in time. But, basically, this board seems top have everything you need for a simple microcontroller connection. The Pole and NO (Normally Open), NC (Normally Closed) are the contacts for the load, depending on what you need. Say, you have a 120V source  and you want to turn a fan on, you would connect the Live wire from your 120V socket (usually black) to POLE, then the fan's black wire (they are usually reversible, so any fan wire will work) to NO. One of Arduino's data outputs connects on the other side to Signal, then you also need to connect +5V and Ground to Arduino's +5V and Ground.

Say, you have Arduino's D2 I/O connected to Signal. Somewhere in the program you would call up
Code: [Select]
relayPin = 2;
digitalWrite(relayPin, HIGH);
And the relay should click and the fan should start turning.

Given that you posted your question some time ago, did you figure that one out already? I'd be very curious to know about your project, please post more about it.

Cheers!

Akshay

  • Trusted Member
  • *
  • Posts: 2
  • Karma: +0/-0
  • I have a soldering iron and I'm not afraid to use it!
    • View Profile
Re: Arduino and Relay
« Reply #2 on: July 29, 2013, 01:51:24 PM »
Never mind....you replied and help me, I am thankfull to you for that.
I surely continue my project.

Thanks a lot for helping me out  :)

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
10535 Views
Last post October 20, 2012, 01:06:46 PM
by haddorp
22 Replies
20399 Views
Last post December 04, 2012, 11:37:03 PM
by ElectroNick
1 Replies
6564 Views
Last post December 14, 2012, 04:26:03 PM
by ElectroNick
0 Replies
1078 Views
Last post July 11, 2017, 04:41:56 AM
by mishmalik
0 Replies
1175 Views
Last post July 11, 2017, 05:07:13 AM
by mishmalik

anything