OK, here is another success story for AC Light Dimming.I was reading this topic,http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1230333861/30ppl there asked about 220V AC Light Dimming, also, I was interested in making this, so I did. this works perfectly for 220V 50Hz mains.First of all - basics, you can't just use MOC3020 (or similar) to dim AC light, because of sync problem, you need to tell arduino when to turn triac on and when off, if not in time, light will just blink. To do that, in old forum you see opto-coupler H11AA1, it has two LEDs inside, easy to use for AC, thou, H11AA1 are not available here at local stores, so i had to use 4N35 and bridge rectifier!In this way you just let arduino know, when the phase changes in mains and use that info to toggle opto-triac!OK, here are the files for this project: http://fleck.rullz.lv/acdimmer/circuit, arduino code and Lazarus Project to control light! For those with 60Hz mains, you have to change number "34" in line:delayMicroseconds(34*(255-dim));My guess would be around 27 for 60Hz, but as i don't have 60Hz mains here, i can't try! If somebody can, let me know, i will update post etc...Also all comments are welcome, bad and good...
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16