Hello,
I'm trying to control the light of a bulb with PWM. I'm using a PIC 18f2550 since i have to send information to the computer through USB and receive the set point from it.
As optocoupler, I have a MOC3021 that is coneccting the control circuit with the power circuit. In the power circuit I use a Triac BT136.
As I change the duty cycle of the PWM, It is supposed to change the intensity of the light, but it doesn't work. The PWM is working alright. I guess the problem is something with the power circuit or with the optocoupler.
I would like you help me to determine where the problem is.
Thanks for your help.
I'm trying to control the light of a bulb with PWM. I'm using a PIC 18f2550 since i have to send information to the computer through USB and receive the set point from it.
As optocoupler, I have a MOC3021 that is coneccting the control circuit with the power circuit. In the power circuit I use a Triac BT136.
As I change the duty cycle of the PWM, It is supposed to change the intensity of the light, but it doesn't work. The PWM is working alright. I guess the problem is something with the power circuit or with the optocoupler.
I would like you help me to determine where the problem is.
Thanks for your help.
Attachments
Last edited: