Interfacing PIC to an AC load

Thread Starter

jean120

Joined Jan 24, 2016
75
Hello,I am trying to control the AC Load power with a microcontroller but I am not succeeding on determination of the zero crossing detection,I am using 4N25 for determining the zero crossing after full wave rectification but I am failing to do this.

I would like to use a potentiometer but first I tried to set 3ms as period of firing angle but no success.
[Off-site URL removed by moderator]
Here is my circuit and codes in microc,could you please help
 
Last edited by a moderator:
Top