DR21A01 DC 5V/12V DPDT Relay Module Polarity Reversal Switch Board For Arduino UNO
Description:
Operating Voltage : DC 5V/12V
Operating Current(Relay ON): 35MA
Standby Current(Relay OFF): <1MA
Relay Load:1A 125VAC; 2A 30VDC
Size: 22.86 x 18 x 14mm
Weight : 7g
Input control signal voltage:
0V - 0.6V Low stage (relay is OFF),
0.6V - 2.4V (unknown state).
2.4V - 24V High state (relay is ON).
Input control signal high state current:
2.4V: 0.15mA
5V: 0.4mA
12V: 1.2mA
20V: 2mA
Package includes:
1 x Relay Module
Arduiuo uno/mega2560 Code
//******************************************************//
const int DPDT_control = 2; // the number of the DPDT_control pin
void setup() {
// initialize the DPDT_control pin as an output:
pinMode(DPDT_control, OUTPUT);
}
void loop() {
digitalWrite(DPDT_control, HIGH);//DTDT relay activation
delay(1000);
digitalWrite(DPDT_control, LOW);//DTDT relay inactive
delay(1000);
}
//******************************************************//
DR21A01 DC 5V/12V DPDT Relay Module Polarity Reversal Switch Board For Arduino UNO See detail