pic ile triac
Hi,
You can put in one of the PICport the AC wave using a zener (4.7v) and a resistor. With this you detect the transition from the negative cycle to the positive cycle, from this point you may count the required time to activate the gate of triac (maybe with a transistor).
NT: using this approach you must be very careful with:
- Line isolation (isolation of your circuit from AC line)
- Voltage reference (In the way to trigger the triac gate, and get the cicle transition on the port of the PIC)
NeuralC