I want to do this:
but with only 1 strand of led christmas lights.
I think I understand most of it. Basically you are detecting then the ac switches from pos. to neg. and telling the triac not to turn on until a few miliseconds after that, and the delay essentially controles how bright the light will be.
Here is what I dont understand:
-for the IL250 schematic, what is the top right pin hooked up to (pin B) ? it says DIP_6 IL250 or something.
- for the second schematic, what is pin 6 of the MOC3020 connected to? it looks like a plug for ac?
-for pin 1 of the MOC3020, what is that connected to? I'm not sure what Vcc means (I think it means +v?) and what is the value of the resistor with it? (Rin).
-How would the code be writen? Does the IL250 zero cross detection send a high or a low signal into the arduino? And how would you use that information to send to the triac?
As you can tell, I am pretty new to electronics and arduino's, but I absolutely need to get this project done.
I really appreciate the help!
Thanks,
James