In this circuit, the resistor R1, diode D1, capacitor C1 and also zener D2 are utilized to develop a mains-derived 9V DC source which can be fed to the triac gate. Switches S1 as well as S2 are utilized to execute “off” and also “on” operations respectively.