Asked
Viewed 17 times
-1
I have this relay and need to use it to control Mains voltage via a switch instead of a micro controller. Is this possible? I am no electronics guru, but the way I would believe this to work is to put the switch inline of the “In” and then to ground? Please let me know if I need to be more specific. 
New contributor
Categories: Uncategorized

Vccto 5V,GNDto 0V then wire your switch betweenGNDandINpressing the switch will activate the relay. BTW, please remember that mains voltages can kill so put the relay in a plastic box before connecting the mains to it. – Dougie 3 hours ago