Schematic of a relay wired to an arduino and a lamp with a + 9 volt battery. The Arduino is connected to the coil of the relay. The lamp and battery are connected to the switch of the relay.

Return to article.