2 Channels Relay Test Using Arduino Mega and Ethernet Shield | tecno4 | Scoop.it

I found this project on Fritzing.org. This is just a simple project for testing a 2 channel relay using an Ethernet shield over an Arduino Mega.

In place of LEDs, you can connect 220V AC lamps. If you have not used relay before, check out this article. 

The Arduino sketch has been compiled and there is no error in the code.