and the ACDetect routine will need to be changed... burst mode as it is right now... not sure why this version is still hanging around... might have forgot to upload the right version again lol
and the ACDetect routine will need to be changed... burst mode as it is right now... not sure why this version is still hanging around... might have forgot to upload the right version again lol
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I had suspected the zero crossing.
Steve's code is from my archived files (12-23-2004).
Where can I download a more recent version?
The newest post I have found so far is PICDIM Lamp Dimmer for the PIC12C508 - PICREF-4
Thanks for the fast help!
This board rocks.
Norm
I have an older Triac the L2004L3.
What voltage AC or DC and value should be applied to the gate?
At present I am only looking for a full on or off condition.
Norm
General information can be found here: http://en.wikipedia.org/wiki/TRIAC
Information specific to your device can be usually found on the manufacturer's website.
Google is your friend.
Norm, it seems that this is a sensitive triac.
On page 2 it says that for a trigger pulse of 1.3V and a 100mA current the holding current of the load will be 5mA only.
But as you can see it needs 100mA trigger pulse!
On page 4 on the top diagram, there is a relation of the temperature to the holding current, which fall as the temperature rises.
To seems more appropriate to drive it with a small transformer, so that a 5V pulse will be lowered to 1.3 but with an increase in current drive. A 5V at 20mA will be transformed to a 1.3 at about 70mA.
HTH,
Ioannis
I now have an optoisolator MOC3021 and a triac Q4010L4 which switch the lamp on and off OK however no dimming.
An LED connected to the PIC output to the optoisolator however does brighten and dim.
What needs to be changed on the ACDetect routine?
I did a site search for a newer version but no luck.
Norm
Bookmarks