The DFRobot Relay shield is capable of controlling 4 relays. The max switching power could be DC 90W or AC 360VA. It could be directly controlled by Arduino/DFRduino through digital IOs with external 9v supply. With buildin xbee type socket, it can be wirelessly controlled via Xbee/bluetooth/WPM. Make it an ideal solution for home automation and robotics purpose.
Note: For using with Arduino Uno, you need to be careful the pins on the Shield should not touched with USB connector when they are connected.
Specification
- Up to 4 Relay with photo-coupled circuit
- Contact Rating: 3A AC 120V / DC 24V
- Max Switching Voltage: AC 240V / DC 60V
- Max Switching Current: 5A
- Max Switching Power: AC 360VA / DC 90W
- Electrical Life (Min): 100,000 Operations
- Mechanical Life (Min): 10,000,000 Operations
- Safety Standard(relay): UL cUL TUV CQC
- Coil Working Voltage: 9VDC
- Weight: 165g
- Working temperature: -30℃ to +85℃
- Working temperature: 40% – 85%
Documents
Connection Diagram
In this sample connection diagram, it shows how some LEDs can be controlled via relays, while this is a bit of overkill for controlling LEDs its only meant to be an example. These relays can be used to control lamps, or some other mid-voltage range appliances.
Sample Code
byte relayPin[4] = {2,3,4,5};
//D2 -> RELAY1
//D3 -> RELAY2
//D4 -> RELAY3
//D5 -> RELAY4void setup(){
for(int i = 0; i < 4; i++) pinMode(relayPin[i],OUTPUT);
}// an sample to switch the 4 relays
void loop(){
int i;
for(i = 0; i < 4; i++) digitalWrite(relayPin[i],HIGH);
delay(1000);
for(i = 0; i < 4; i++) digitalWrite(relayPin[i],LOW);
delay(1000);}