Recommended · for beginners
How to use 5V Relay with Arduino to turn ON and OFF AC bulb or DC load
Why people recommend it
Offered as a tutorial for switching a light bulb with a relay from an Arduino, suited to people moving on from practising with LEDs.
Watch for: Mains voltage is dangerous; one asker questions the direct wiring
In their words
In all the tutorials I've watched, such as this one, that was exactly what they did, but I read in some places that it's dangerous.
user14092875 on electronics.stackexchange.com, Sept 2020. CC BY-SA.