Using relay

Hi all. I am Vietnamese, I have bought a relay : Songle 5V-DC
https://www.google.com/search?q=songle+5v&biw=1093&bih=534&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwiJjP3r2OnKAhWQCY4KHQVgC58QsAQIJA
I want use it to control on/off a dc motor , but I dont know how to do this
I read many documents about relay, but I havent found a way yet
Please help me
THanks

Do you know how to turn a led on an off with your Arduino?
Have you seen examples how to pick/drop a relay using a transistor?
What kind of motor do you have? link please.

m4u_hoahoctro:
I want use it to control on/off a dc motor , but I dont know how to do this
I read many documents about relay, but I havent found a way yet
Please help me
THanks

Do you want to control the dc motor with an Arduino? or without?
Can you explain more about your project requirements and details?
What is your dc motor power rating? and its power source?

These videos will explain a bit about tiny relays like yours

You have cited a Google search which shows relays in general, so it gives no information as to what relay you have.

You would in general, be better off to buy a relay module such as available on eBay.

This contains the necessary control transistor and can be controlled by any (5 V) Arduino but you need a 5 V power supply for it - you cannot use the 5 V regulator on the Arduino to supply that.

You can connect VCC to the Arduino 5V to supply the relay coil current, probably 10-20mA needed, and Gnd to Arduino Gnd.
On the other side for the motor, you connect the motor supply positive to COM, connect motor "+" to NO, motor "-" to the power supply Gnd. Then when the relay is energized, COM connects to NO and the motor turns on.

I would mention thaf if you want to confrol the relay, you might wanf to connect the coil to a digital output instead of GND , and turn it on with a LOW. Or, if you prefer to turn it on with a HIGH you can connect the coil to the digital output instead of Vcc, and the other end of the coil to GND as already mentioned. If you connect it as suggested in previous post it will be ON whenever the arduino is on.

I read many documents about relay, but I havent found a way yet
Please help me

Really ?
WHAT documents (EXACTLY) have you read ?

Just HOW MANY documents are needed to explain how to use a relay ?

(This sounds like a "please do my homework .." post.)

Google Search: "arduino how to use relay"

You're telling me you can't find any links here that tell you how to do it ?
I find that just about impossible to believe.

About 144,000,000 results (0.63 seconds)

raschemmel:
Really ?
You're telling me you can't find any links here that tell you how to do it ?
I find that just about impossible to believe.

I gave him simple foolproof video tutorial links. Bet he didn't even watch it.

I guess electronics isn't for everyone...

In a way, I guess you could say a relay is a form of I.Q. Test...

Since the advent of Google, there is really no excuse for being uninformed. The only things you won't find on Google is things like cutting edge proprietary projects by companies, (such as the one I work for) There is nothing on the web about some of their projects because no one else is doing it. But a relay ? Really ? Do you really need to post on an international forum when there are :

About 144,000,000 results (0.63 seconds)

about how to use a relay with an arduino on Google ?

Do you think he has figured out what the 5 pins are for ?

Maybe an SPST would be more his speed...(than an SPDT).

Maybe he just hasn't met Mr. Ohm...and doesn't know the "Law"...

@Noobian,
Do you know how to use the LINK toolbutton to post a "working" link ?

raschemmel:
@Noobian,
Do you know how to use the LINK toolbutton to post a "working" link ?

Those tool buttons are not available in quick reply.

That would be a "yes" to my question ?

I assume you mean when you use your smartphone instead of a computer ?

What browser are you using on your smartphone? (iphone or Android ?)

Noobian:
Those tool buttons are not available in quick reply.

Maybe learn some BB code :slight_smile:

[url=http://forum.arduino.cc/]Arduino forum[/url]

Gives Arduino forum

Those were the days... (BBSs)