Grove-Relay

Grove-Relay400px-Twig-Relay

The Grove-Relay module is a digital normally-open switch. Through it, you can control circuit of high voltage with low voltage, say 5V on the controller. There is an indicator LED on the board, which will light up when the controlled terminals get closed.

Relay specifications:

hh

Wiring

Relay

Sketch
void setup(){  
// SIG pin of the Relay  
pinMode(10, OUTPUT);
} 

void loop(){    
// Blinking LED each 0.7 sec    
digitalWrite(10, HIGH);    
delay(700);    
digitalWrite(10, LOW);    
delay(700);
}