-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LED Flickering (9600rate) #2
Comments
Have you tried with 115200? I don't think the serial is the problem source... |
Hi, I have the same problem "using robotdyn AC dimmer and NodeMCU and I'm getting a lot of flickering." Frequency is 50HZ. Please Help me. |
Hi, my problem is I'm getting a lot of flickering. My frequency is 50HZ. Why is there flickering and how can I get rid of that. |
A couple of question:
|
1- using this circuit http://arduinotehniq.blogspot.com/2014/10/ac-light-dimmer-with-arduino.html with nodemcu..... D6 for zero cross and D7 for signal....VCC for the circuit is 5V feed from nodemcu.. |
Could you try with Vcc=3,3V? However that's weird, I'm planning to insert some lines of code to better understand your problem. |
VCC is as per circuit design ... so in my opinion it should not be the problem. |
@dinomaskot Can you try it with an incandescent lamp in parallel with the led light? Triac dimmers do not always work properly with led lights. Often there is flicker in some of the range. |
Zc pin GP4 |
Sorry for the long delay, but in that period I was really busy. Recently, I get some time to look back and improve at this library. Had you finally solved the problem? |
Ohh thanks for reinvesting your time. I didnt manage to solve the flickering issue no matter how hard i bang my head on the wall >.< |
I would suggest the following sanity checks
Good luck. EDIT: I just realized you did in fact try 2 already. Sorry about that. I'd also try 4 before 3 .. 👍 EDIT 2: I just checked the linked circuit, and it seems to use a Zero Crossing optocoupler, the MOC3040, which makes absolutely no sense. Can you confirm what optocoupler is used? It's a bit peculiar that yours is actually dimming at all if that is the case. What you need is a Random Phase Optocoupler (aka optoisolator). The MOC302# is one such optocoupler. EDIT 3: My god so many edits .. sorry! I checked the link again, and in the photos, not the schematic, a MOC3020 is actually used, not the MOC3040 referenced in the schematic. That is some crappy work on his part, to be honest. Anyway, I hope this is actually the issue and nothing more complicated. Let us know! |
@Karshilistic thanks for the detailed troubleshooting, but after many years without any activity and many versions later, I'm closing this issue. |
Hi,
I've just tried your example with one light using robotdyn AC dimmer and esp8266 and I'm getting a lot of flickering.
Could it be because my board baud rate is 9600 instead of 115200?
Thank you.
The text was updated successfully, but these errors were encountered: