The 2-Channel 5v 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 2 relays that it is capable of control 2 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.
Pin definition:
- 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 is similar to terminal 1,except that the control port is INT2
- INT 1- Relay 1 control port
- INT 2- Relay 2 control port
Usage:
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); }
Reviews
There are no reviews yet.