Pages: [1]   Go Down
Author Topic: arduino uno r3 and relay  (Read 923 times)
0 Members and 1 Guest are viewing this topic.
Israel
Offline Offline
Newbie
*
Karma: 0
Posts: 47
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,
I want to control the 220V lamp by using arduino uno r3 and relay. I want to connect the relay to a digital pin. When the value is 1 then the lamp mode is on. 0 off.
Is the relay the following link for this purpose?

http://www.ebay.com/itm/390369122672?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
Features :
- the item is a 5v 1-channel relay interface board,It can be controlled directly by a wide range of microcontrollers such as Arduino, AVR, PIC, ARM and so on.
- 1-Channel Relay interface board,
- Each one needs 15-20mA Driver Current
- Equiped with high-current relay : DC30V 10A AC250V 10A
- Standard interface that can be controlled directly by microcontroller


Thank you
Logged

Offline Offline
Edison Member
*
Karma: 9
Posts: 1016
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, this one is okay for you.

As far as I know this relay has 5 pins. Two for the coil, and three for the switching contacts. That is why the header has three contacts. You just need two of them for switchting something on.
Logged

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

Thank you for the response,
I did not understand how to connect it.
I attached pictures


* 1.jpg (25.42 KB, 443x272 - viewed 19 times.)

* 2.jpg (43.71 KB, 589x368 - viewed 17 times.)

* 3.jpg (49.71 KB, 751x390 - viewed 14 times.)
Logged

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

Thank you
It works!
Logged

Pages: [1]   Go Up
Jump to: