Go Down

Topic: Relay is fails to switch from NC to NO (Read 950 times) previous topic - next topic

BijendraSingh

Hello.
I am trying to control DC motor using arduino digital pin output. For this purpose i used relay between Arduino and Motor.
i am using below relay
http://www.ebay.com/itm/12V-2-Channel-Relay-Module-Low-Level-Triger-Relay-shield-for-Arduino-Brand-New-/351105525132?pt=LH_DefaultDomain_0&hash=item51bf85258c

Connections are:
Relays IN1    -> arduino digital pin 10.
Relays  VCC  -> 12 VDC of  external adapter1.
Relays  GND  -> GND of external adapter1.
Relays  C      ->  12VDC of external adaper2.
Relays  NC  -> Not connected to any terminal.
Relays  NO   -> motor +ive terminal.
                        motor -ive terminal -> GND of external adapter2.

I am running below code on arduino and seeking that motor will run for 10 second and stop for next 10 second in a loop.
Code: [Select]
void setup()
{
  Serial.begin(9600);
  pinMode(10, OUTPUT);
}

void loop()
{
  digitalWrite(10, HIGH);
  Serial.println("high");
  delay(10000);
  digitalWrite(10, LOW);
  Serial.println("LOW");
  delay(10000);
}

i got nearly 3.7VDC at Relays IN1 pin still motor is not running.
can some one suggest where i am making a mistake.???
Bijendra

dave-in-nj

#1
Jul 02, 2014, 12:36 pm Last Edit: Jul 02, 2014, 12:38 pm by dave-in-nj Reason: 1
is the ground on the device tied to the ground on your Arduino ?

Connections are:
Relays IN1    -> arduino digital pin 10.
Relays  VCC  -> 12 VDC of  external adapter1.
Relays  GND  -> GND of external adapter1.  [font=Verdana]AND connected to arduino ground[/font]
Relays  C      ->  12VDC of external adaper2.
Relays  NC  -> Not connected to any terminal.
Relays  NO   -> motor +ive terminal.
                        motor -ive terminal -> GND of external adapter2.

BijendraSingh

No, i didn't connected Relay's GND to arduino GND.
i am going to join Relay's GND  with arduino GND.
Bijendra

BijendraSingh

Bijendra

MarkT

You need a circuit to carry a current - only connecting the relay module to
pin 10 means there's no circuit between the Arduino and module. a circuit
is a loop.

The only time a single wire is enough is when you using an antenna!
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

aras-4u

hello evryone , i have some probleme with my project
i use


i don't know how connecte the OUT and COM to my Arduino nano ald also the code for programming

thx for helping

couka

The only time a single wire is enough is when you using an antenna!
That's why RF still seems to be voodoo to me, even after understanding the basic principles behind it :D

lg, couka
youtube.com/DieBastler1234
Don't send me technical questions via PM. They will be deleted unanswered.

aarg

The only time a single wire is enough is when you using an antenna!
Or wiring automobile accessories. :)
  ... with a transistor and a large sum of money to spend ...
Please don't PM me with technical questions. Post them in the forum.

outsider

Post a link to your relay board, there are many different kinds.

Go Up