zero cross and puls shift (by latetech)
Dears,
can anyone help me in example in performing zero cross and pulse shift like ladder example for dimmer using triac.
(no subject) (by MGP)
Here you have a program, I don't have a diagram because it was a test setup.
Use a sensitive triac, connect the Yidnite output to the gate with a 220 ohm resistor or use a MOC3021...etc.
You can make the zero detection with any optocoupler such as a PC817.
There are many schematics on the internet and even triac modules where everything is built, only a controller is needed.
Use 24...48Vac if you want to test and measure.
For a higher resolution use a 12F1840 (32MHz) so that you can use a 0.1mS cycle time.
(no subject) (by latetech)
dear MGP,
thanks but can you explain more about attached program. like step by step???
(no subject) (by MGP)
0003 sets the controller to 8MHz.
0004 Input zero cross detection.
0005 Read the position of the potention meter during the (OSF instruction) zerocross transition.
0005 Cycletime = 0.250 mS --> time = 1023/28 ~8mS (50Hz)
0007 Limit minimum time to 2 for practical control.
0009 Ignite the triac with delay (time)
(no subject) (by latetech)
thanks MGP, that was very useful for me
thanks again.
Very Nice Example (by MedTronic)
Thanks MPG this is a very nice example and very useful too
can you please convert this example into pic12f675
thanks too much
best regards
MedTronic