I'm doing this project where I need to turn on 220V lamp using Arduino. I got myself a 5V Relay Brick Module from ITEAD Studio (the one like this http://imall.iteadstudio.com/prototyping/electronic-brick/im120710007.html
which able to output 250V max. I tried testing it using a 50W 12V DC lamp, connected to the relay and then to the Arduino using this schematic
Note that I just copied it blatantly from that DFRobot doc since I couldn't find a tutorial from ITEAD Studio, but I assume it should be the same.
I also used this bit of code
//Arduino Sample Code
//Last modified on 14th March 2012 by HJS
//This code has been updated to work with the sample code provided in the Wiki
int Relay = 3;
pinMode(13, OUTPUT); //Set Pin13 as output
digitalWrite(13, HIGH); //Set Pin13 High
pinMode(Relay, OUTPUT); //Set Pin3 as output
digitalWrite(Relay, HIGH); //Turn off relay
digitalWrite(Relay, LOW); //Turn on relay
However, I couldn't turn on the lamp. I can hear the click that I assume is the sign that the relay is working. Is there anything I did wrong? Or, should the schematic be okay if I use a 220V lamp?