how to interface MOC3021 with raspberry pi

Discussion in 'Homework Help' started by AVINASH_08, Jan 14, 2016.

  1. AVINASH_08

    Thread Starter New Member

    Jan 14, 2016
    5
    0
    I need to control the AC FAN with raspberry pi and i am using optoisolator MOC3021 ..but ckt is not working properly by varying the pwm pulse..is there any other methods for doing this??? Can zero crossing detector is usefull for PWM variation?
     
  2. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,386
    496
    datasheets?
     
  3. RRITESH KAKKAR

    Senior Member

    Jun 29, 2010
    2,831
    89
    Why you are using raspberry pi ?
    why not micro controller?
     
  4. ScottWang

    Moderator

    Aug 23, 2012
    4,853
    767
    Attach your schematic first.
     
  5. bertus

    Administrator

    Apr 5, 2008
    15,646
    2,345
  6. AVINASH_08

    Thread Starter New Member

    Jan 14, 2016
    5
    0
    I just find out my mistake ...i am giving the pwm pulse variation to MOC3021 but that is not the right way..
    we need to measure firing angle by the formula then give the proper time period to fire the gate terminal of TRIAC
    you so much for reply..
     
Loading...