I designed a pcb that contains an optocoupler and a triac to work as a dimmer for AC
But when I give a high value to the GPIO corresponding the triac doesnt fire
So I am looking for the mistake I did ...
Is my schematic wrong ??
if its correct , what could be the problem on the pcb leading to this problem ??
How can I check it ??
I want to search for the problem but I dont know where to look