Optocoupler MOC3041 Circuit Design and Wiring Guide for TRIAC Control
For isolated switching of inductive loads like motors or solenoids, use a zero-crossing optocoupler with an integrated triac output stage. The device should feature an isolation voltage of 7.5.