Here's a picture of the thing I've been working on - as the zero crossing thread said, it will be an arduino PID controller. Zero crossing pulses go into the arduino, arduino switches a triac with varying amounts of delay each AC cycle to apply varying amounts of heat to an amount of water in a Birko jug to keep a constant temperature.
This is my one of my last pieces of good fibreglass strip board and it's a pain to carve away tracks for isolation. Note isolation transformer, dual 6V secondaries. Zero crossing detect through the H11AA1. LM317 circuit provides 3.3V to power the arduino. For testing the secondary used for zero crossing detect is also being switched by the triac, I can examine this with the scope in relative safety and when everything appears to be working test with full voltage.
For this setup with the triac switching 6VAC I have a gate resistor of 180R, about 33mA gate current. Data sheet (Q6015L5) has figures for peak gate trigger current Igtm (2A) - how does this relate to Igt (max 50mA)? Looks like when I use 240VAC the resistor needs to be switched for 18K 5W
like this - resulting in 13.3mA, 3.2W - right?