Remote Mains PWM


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,621


    Did you find this post helpful? Yes | No

    Default

    Hi,
    Figuring you have a MOC3020 opto-coupler the maximum reverse voltage according to the datasheet is 3V so it's possible it got damaged by connecting them backwards. But instead of having the diode in series like you have it now place it anti-parallell with the opto-coupler LED. Then it will clamp the reverse voltage to ~0.7V and the series resistor will limit the current.

    As you have it now..... Figuring 5V output from the PIC, 0.7V drop across your series diode, 1.15V drop across the LED we have 5-0.7-1.15=3.25V left across the 1k resistor. This yields a forward current thru the LED of 3.25mA. Although this should work as long as the "firing pulse" thru the LED is at least ~6us or so it just "feels" a bit low to me. Why not simply try with a 330ohm resistor or something?

    Now, if you have another optocoupler then obviosuly the above numbers may not be correct but it might be worth looking into it for your particular device then.

    /Henrik.

  2. #2
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I dont remember exactly which optos im using. They have been in the lights since last year. I think they are MOC3020 or MOC3020X.

    You are right about it being a low voltage problem. The 1K resistors are fine. Ive used those in every mains PWM circuit ive made and they work fine. The resistors are also in the lights along with the diodes, optos and triacs. The problem is that for some reason i have more 1K resistors in the controller. I just tried shorting them out and the lights stopped flickering and started fading correctly.

    Ive been on and off this circuit for over a month now and it turns out to be something as simple as that :P

    Thanks a lot for helping me solve this!

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts