Comments (13)
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.
from dimmable-light.
I would suggest the following sanity checks
- Check that you're using the latest release of the library. 1.2.0 and earlier were causing flickering for me.
- Check different light bulbs, including incandescent and dimmable LEDs. I found that some light bulbs behave differently and could flicker, when others do not.
- Try changing
static const uint16_t startMargin = 200;
andstatic const uint16_t endMargin = 500;
in Thyristor.cpp. I played around these values in an earlier version and that seemed to help a little. - Check issue #12 and @fabiuz7's response there. They seem to be using a similar board to yours.
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!
from dimmable-light.
Have you tried with 115200? I don't think the serial is the problem source...
Which pins are you using to control the dimmer?
from dimmable-light.
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.
from dimmable-light.
A couple of question:
- what is the circuit? Which voltage do you apply for Signal and Vcc pins?
- Do you always get flickering or only for specific brightness values?
from dimmable-light.
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..
2-I always get flickering for all values....
from dimmable-light.
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.
from dimmable-light.
VCC is as per circuit design ... so in my opinion it should not be the problem.
from dimmable-light.
@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.
from dimmable-light.
Zc pin GP4
Triac pin GP16
50hz freq
flicker noticable with incandescent lamp while dimming level less than 200.
from dimmable-light.
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?
from dimmable-light.
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 >.<
Any help will appreciate.
from dimmable-light.
@Karshilistic thanks for the detailed troubleshooting, but after many years without any activity and many versions later, I'm closing this issue.
from dimmable-light.
Related Issues (20)
- ESP32 Flicker solution HOT 6
- Crashes on the ESP32 with SPIFFS HOT 6
- More than 8ch HOT 27
- Cannot compile the code for UNO or ESP8266 HOT 3
- Adafruit ESP32 Feather crash on examples HOT 13
- Add "Count Mode" similiar to Circuitar HOT 3
- Crash esp32 PlatfotmIO HOT 8
- Create new release HOT 3
- Code changes to allow max brightness of 4095? HOT 2
- Excessive zero crossing pulse width HOT 4
- DimmableLightLinearized dim zero
- Does not work with Wifi on ESP8266 HOT 3
- Use without zero cross? HOT 1
- How many separate AC channels HOT 3
- problem with running on esp32 HOT 51
- MQTT lib doesn't compile with this library HOT 12
- Document locally testing changes HOT 1
- ESP32 - IRAM interrupts HOT 5
- `DimmableLight::getDetectedFrequency()` returns wrong value on Robodyn AC Dimmer 24A HOT 8
- Arduino Nano (AVR): OK. Arduino Nano 33 iot (SAMD): flickering. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dimmable-light.