OK I am having a problem, and thought others may as well, so adding it to this highly relevant thread.
I am using one of these http://www.inmojo.com/store/krida-elect ... e-arduino/
triac boards with zero cross detection.
Along with that, my fixture is a dimmable driverless 120v (USA) AC LED light. Specifically the Intertek led-sm6dl.
Im not sure that it matters but I am driving the triac with an esp8266 (wemos mini).
So I wrote out my code and everything works fine when I am only using 1 light fixture. No noticeable flicker, good dimming range, no noise. However, when I connect 2 or more lights, I get horrible flashing. Like seizure inducing.
Another wrinkle. I bought a leviton 6672 dimmer switch. And that thing works great. No flashing at all. No matter how many lights I connect. So I opened it up and from what I can tell its just a triac controlled by a pot. But, it has a huge inductor in there along with some capacitors. I was wondering if I am just missing a smoothing circuit of some sort on my setup? I dont believe its a software issue but anything is possible.
Any thoughts would be appreciated.
As a side note, this is for my home automation project. I am planning a lengthy write up eventually, so you dont all have to waste hours troubleshooting like I did.