Product Used - 12V 4 in 1 Relay Board (got it from eBay), Arduino Duemilanove, Ethernet Shield.
AIM - Control my Room Lights with Arduino. (Home Automation)
My Connection - Arduino is connected to ethernet shield as usual. Arduino is powerred with my Desktop PC. Relay Board is powerred with a 12V External supply and it's ground is connected to the GND Pin of Ethernet Shield. Light Bulb is connected to 220V supply and Relay 1 (of relay board) is connected as a Switch of Light Bulb (Using NO and COM Pins)
Problem Description - All my circuit is working fine. But, When I turn ON/OFF just me Relay Board (With 220V supply connected) everything works fine. But when I connect a Light Bulb running at 220V and try to control it with my Relay Board. It just turns ON once or twice, then my Arduino Hangs or Resets.
I have to turn off and restart my arduino to make it run back again.
Why is this Happening ?
I am using this Relay Board =>
Based on the image of the board and the described components the schematic should be like this
There is only a small ceramic cap that I see on the board image (lower right corner) but I'm not sure where it is connected.
Note that the schematic shows only one of the four relays but the circuit of the other three is identical to the one shown.