Closed bachoo786 closed 3 years ago
This is sign of static in the data line, you could try twisting rhe data line with ground or use a shielded cable for data. Or you could use the relay mod to turn off power to the leds when off.
Le ven. 5 févr. 2021 10 h 02 a.m., bachoo786 notifications@github.com a écrit :
Describe the bug I have a ws2812b 5m long with 60leds in each metre i.e. 300 leds in total. I have connected a 470ohm resistor between the data line and esp8266. I also have 2x 1000uf capacitors connected i.e. one of them is between the positive and negative 5V supply that powers the first 1.5m of the led strip.
The second 1000uf capacitor is connected between positive and negative 5V supply that power the rest of the 3.5m of the led strip.
Randomly when the led is turned off I see the first led on and is green in color. I had this issue even before I connected the resistor and capacitors.
To Reproduce N/A its a random behavior
Expected behavior When the led strip is turned off I expect all the leds to remain off and not any turning on by itself and being green in color.
WLED version
- Board: Wemos D1 mini
- Version: 0.11.1
- Format: Binary
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Aircoookie/WLED/issues/1723, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBFDCTWV3WMW3WVEWQPGZDS5QCADANCNFSM4XE5BDUA .
Hi @sansillusion. Thanks for the reply.
1 not connecting both wires just twisting the wires together like a network cable (twisted pair).
3 there is a wled usermod that can be used to control a relay using a gpio of the esp.
I think I will look into the 3rd option but i am not sure still I have buried the data and gnd cables.
3 there is a wled usermod that can be used to control a relay using a gpio of the esp.
it isn't a usermod is it a built in feature see Line 32 in https://github.com/Aircoookie/WLED/blob/94941a773292aaab3ac121bb5a597699a626ea80/wled00/NpbWrapper.h#L32 in combination with Line 40.
if you use the standard image for wemos d2 mini, then you should have 3.3V on GPIO12=GPIO6 if led is wled switched on, and 0V if Switch in wled is off. You only have to add a relais in line to switch of VCC/5V
see also here for some schematics: https://wled.discourse.group/t/strong-light-flash-when-powerup-ledstrips/145
3 there is a wled usermod that can be used to control a relay using a gpio of the esp.
it isn't a usermod is it a built in feature see Line 32 in https://github.com/Aircoookie/WLED/blob/94941a773292aaab3ac121bb5a597699a626ea80/wled00/NpbWrapper.h#L32 in combination with Line 40.
if you use the standard image for wemos d2 mini, then you should have 3.3V on GPIO12=GPIO6 if led is wled switched on, and 0V if Switch in wled is off. You only have to add a relais in line to switch of VCC/5V
see also here for some schematics: https://wled.discourse.group/t/strong-light-flash-when-powerup-ledstrips/145
My wled is powered from the 5v adapter not the wemos mini. Can I still use option 3?
Also would my wled strip stop working if I don't do anything? I occasionally restart the wled strip when I see my 1st led turned on.
the relais can contraoll/switch whatever you want. the green color is more an optucal issue, you shouldn't need to restart your wled to get it work again.
@toto79 thanks :)
if I was to ignore this first LED randomly turning on, would it have any effect on the rest of the LEDs? I mean if I did not resolve the issue and the 3 options that @sansillusion gave me what is the worse that could happen?
The reason why I say this is because my data and ground cables have been buried in a wall and I cannot access them to twist them. I may be only be able to access part of them like 30cm when they connect to the esp8266 but the rest of the length is all buried and I suppose twisting 30cm of the length wouldnt help alot ?
I cannot use a shielded cable as the same problem mentioned above I have buried my data and ground cables in the wall so I cannot access them.
@toto79 the links you provided in your answer above do not contain any information I think its deleted? Again using a relay to turn the LED is it going to help? because I have to keep an eye out for the first LED when it turns on and as soon as it does I should turn it off using the relay. This is not practical compared to the first 2 options?
The relay option will turn off the leds power when they are turned off in wled. And turn it back on when wled is switched back to active.
Le lun. 8 févr. 2021 7 h 32 a.m., bachoo786 notifications@github.com a écrit :
@toto79 https://github.com/toto79 thanks :)
if I was to ignore this first LED randomly turning on, would it have any effect on the rest of the LEDs? I mean if I did not resolve the issue and the 3 options that @sansillusion https://github.com/sansillusion gave me what is the worse that could happen?
1.
The reason why I say this is because my data and ground cables have been buried in a wall and I cannot access them to twist them. I may be only be able to access part of them like 30cm when they connect to the esp8266 but the rest of the length is all buried and I suppose twisting 30cm of the length wouldnt help alot ? 2.
I cannot use a shielded cable as the same problem mentioned above I have buried my data and ground cables in the wall so I cannot access them. 3.
@toto79 https://github.com/toto79 the links you provided in your answer above do not contain any information I think its deleted? Again using a relay to turn the LED is it going to help? because I have to keep an eye out for the first LED when it turns on and as soon as it does I should turn it off using the relay. This is not practical compared to the first 2 options?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Aircoookie/WLED/issues/1723#issuecomment-775114345, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBFDCX7HTWKEUWYCHF3TUTS57KT7ANCNFSM4XE5BDUA .
Also since you are using long data wire you may (just mabe) get better signal if you use a level shifter to change the signal from 3.3V to 5V
Le lun. 8 févr. 2021 7 h 32 a.m., bachoo786 notifications@github.com a écrit :
@toto79 https://github.com/toto79 thanks :)
if I was to ignore this first LED randomly turning on, would it have any effect on the rest of the LEDs? I mean if I did not resolve the issue and the 3 options that @sansillusion https://github.com/sansillusion gave me what is the worse that could happen?
1.
The reason why I say this is because my data and ground cables have been buried in a wall and I cannot access them to twist them. I may be only be able to access part of them like 30cm when they connect to the esp8266 but the rest of the length is all buried and I suppose twisting 30cm of the length wouldnt help alot ? 2.
I cannot use a shielded cable as the same problem mentioned above I have buried my data and ground cables in the wall so I cannot access them. 3.
@toto79 https://github.com/toto79 the links you provided in your answer above do not contain any information I think its deleted? Again using a relay to turn the LED is it going to help? because I have to keep an eye out for the first LED when it turns on and as soon as it does I should turn it off using the relay. This is not practical compared to the first 2 options?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Aircoookie/WLED/issues/1723#issuecomment-775114345, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBFDCX7HTWKEUWYCHF3TUTS57KT7ANCNFSM4XE5BDUA .
@sansillusion the relay option is not smart as I have to monitor the led myself.
I will add a level shifter and see how i get on thanks.
Sorrym, my bad:
[NpBWrapper-Line 32]https://github.com/Aircoookie/WLED/blob/94941a773292aaab3ac121bb5a597699a626ea80/wled00/NpbWrapper.h#L32-L34) and the picture for wiring Discurse
-> 5cm to insert a relais in VCC should be enough and solves the problem.
I'm not sure if i get the point of your questions, if the relais is off, how should the light up? if the relais is on it work as without releias. Of cause Levelshifter is always a good idea, twistet/shielded are more a try. Relais on/off is handled automatically in Wled... you don't have to worry or think about it. Relais will switch on if you set WLED on, Relais will automatically switch off 1-2 Seconds after you klick off in the Webinterface or switch off via API.
@toto79 sorry I think I don't understand when you say relay. Do you mean adding a physical relay to the esp8266?
Or is it something software based?
i meant a physical one -like it is described in the discourse link. :)
Try reverting to 0.10.2, helps with a somewhat similar issue:
Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs. Thank you for using WLED!
Describe the bug I have a ws2812b 5m long with 60leds in each metre i.e. 300 leds in total. I have connected a 470ohm resistor between the data line and esp8266. I also have 2x 1000uf capacitors connected i.e. one of them is between the positive and negative 5V supply that powers the first 1.5m of the led strip.
The second 1000uf capacitor is connected between positive and negative 5V supply that power the rest of the 3.5m of the led strip.
Randomly when the led is turned off I see the first led on and is green in color. I had this issue even before I connected the resistor and capacitors.
To Reproduce N/A its a random behavior
Expected behavior When the led strip is turned off I expect all the leds to remain off and not any turning on by itself and being green in color.
WLED version