Controlling a lightbulb
Before starting to wire the circuit, keep in mind that you'll be using 220 V AC and there's a risk of electrocution. It can be very dangerous to use high voltages if some precautions aren't taken into consideration.
During the whole wiring process, ensure that your circuit is not connected to the wall socket.
Note
Always keep your circuit disconnected from the wall socket when wiring or changing the circuit.
Isolate the AC part of the circuit. It is the best way to avoid touching exposed wires accidently.
Note
Be extremely careful when wiring the AC component of the circuit. Use the Y terminals to connect the wires to the relay and do not let there be any exposed wire that you may accidently touch.
If you have any doubt or you are not sure what to do, ask a more experienced person for help.
Note
If you want to read more about solid state relay safety precautions, visit at http://www.omron.com/ecb/products/pdf/precautions_ssr.pdf.
Keeping this in mind, let's start assembling...