Interfacing PIC to an AC load

Discussion in 'Embedded Systems and Microcontrollers' started by jean120, Jun 25, 2016.

  1. jean120

    Thread Starter Member

    Jan 24, 2016
    75
    1
    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: Jun 25, 2016
  2. DickCappels

    Moderator

    Aug 21, 2008
    2,654
    632
    Please post your question in this forum rather than directing to a forum off-site. .
     
  3. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,548
    2,373
    See Fairchild AN-3006 for zero crossing switching and phase angle control using the correct opto.
    Max.
     
Loading...