This configuration will detect DC signals and allow you to control AC-powered equipment. TheMOC3020is perfect for controlling a mains connection or providing a gate pulse to another Photo-Triac with a current-limiting resistor. (Image source) ...