Difference between revisions of "4-Channel Relay module"

From Geeetech Wiki
Jump to: navigation, search
(Introduction)
(How to buy)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  
 
==Pin definition==
 
==Pin definition==
[[File:Relay 4 pin.jpg]]
+
[[File:Relay 4 pin.jpg|300px]]
  
 
*COM- Common pin
 
*COM- Common pin
Line 19: Line 19:
 
Terminal 2-4 is similar to terminal 1,except that the control port is INT2-4
 
Terminal 2-4 is similar to terminal 1,except that the control port is INT2-4
 
*INT 1-4: Relay 1-4 control port
 
*INT 1-4: Relay 1-4 control port
 
  
 
==Usage==
 
==Usage==
Line 41: Line 40:
  
 
==How to buy==
 
==How to buy==
Click here to buy [4-Channel Relay module]
+
Click here to buy [http://www.geeetech.com/4channel-relay-module-p-557.html 4-Channel Relay module]

Latest revision as of 07:40, 5 January 2015

Introduction

Relay 4.jpg

The Arduino Relay module allows a wide range of microcontroller such as Arduino, AVR ,PIC, ARM with digital outputs to control larger loads and devices like AC or DC Motors, electromagnets, solenoids, and incandescent light bulbs. This module is designed to be integrated with 4 relays that it is capable of control 4 relays.The relay shield use one QIANJI JQC-3F high-quality relay with rated load 7A/240VAC,10A/125VAC,10A/28VDC.The relay output state is individually indicated by a light-emitting diode.

Features

  • Number of Relays: 4
  • Control signal: TTL level
  • Rated load: 7A/240VAC 10A/125VAC 10A/28VDC
  • Contact action time: 10ms/5ms


Pin definition

Relay 4 pin.jpg

  • COM- Common pin
  • NC- Normally Closed, in which case NC is connected with COM when INT1 is set low and disconnected when INT1 is high;
  • NO- Normally Open, in which case NO is disconnected with COM1 when INT1 is set low and connected when INT1 is high.

Terminal 2-4 is similar to terminal 1,except that the control port is INT2-4

  • INT 1-4: Relay 1-4 control port

Usage

Relaywring.jpg

Example code

int Relay = 12; 
void setup() 
{ 
 pinMode(Relay, OUTPUT);     //Set Pin12 as output 
} 
void loop() 
{ 
         digitalWrite(Relay, HIGH);   //Turn off relay 
         delay(2000); 
         digitalWrite(Relay, LOW);    //Turn on relay 
         delay(2000); 
}


How to buy

Click here to buy 4-Channel Relay module