Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
14.87k stars 3.21k forks source link

New hardware revision of D1 mini has poor wifi connection on any version newer than 0.13.1 #3764

Open Boerny41 opened 8 months ago

Boerny41 commented 8 months ago

What happened?

I was having problems connecting to the WebUI of newly installed ESPs, and after testing I noticed that the wifi connection had a high latency and would drop every few seconds.

This only happened on new ESPs, not on old ones that were upgraded to >0.13.1. Looking at the ESPs, there were hardware changes made by the manufacturer.

To confirm this, I tried two old D1 minis and three new ones. Both old ones work fine with any version, all three new ones do not work with any WLED version greater than 0.13.1. All three have high latency and drop the signal.

Below are two pictures. On top is the new hardware revision. Note the missing capacitors on D1/D2 and the missing component above the USB port.

20240217_140226 20240217_140257

To Reproduce Bug

Install WLED on a newer D1 mini with the manufacturer's modification shown above.

Expected Behavior

Newer hardware versions supporting new software versions

Install Method

Binary from WLED.me

What version of WLED?

0.13.1 working on all | >0.13.1 only working on old hardware

Which microcontroller/board are you seeing the problem on?

ESP8266, Other

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

coolio75 commented 8 months ago

I have the same problem with a D1 mini. 0.13.1 works fine | >0.13.1 No response

coolio75 commented 8 months ago

@Boerny41 have you tried 15 beta? WLED at 0_15

LuxBibi commented 8 months ago

I can confirm!

I have 3 D1 Mini's ... All with > 0.13.1 is slow, and disconnects ... while 0.13.1. is TOP coverage. Have run a PingInfoView (Windows Tool) to "measure" rate of disconnecgted D1 Mini's ... Shows in my case < 5% pin loss, but sometimes up to 15 consecutive failed pings. :-(. UniFi AP is 2 m from D1 Mini.

I'll check what are the differences in between 0.13.1 and new releases, and will probably go for 0.13.1, if this delivers the needed functionalities.

BTW: Superb project, to have all these functionalities available in WLED ! Thumbs up guy(s) .. ;-) .. Really apreciate what you have developped ..

Greetings from Grand-Duchy of Luxembourg ;-))

DanoneKiD commented 8 months ago

Same issue here.

LuxBibi commented 8 months ago

I was able to go down to v0.14.0 and to stabilize all ESP boards, to remain +/- in my WiFi network ... I also implemented the hack to have them all boot at +1 minute difference 3 time a day ... :-( .. From here on, all is +/- good ... and useable ...

blazoncek commented 8 months ago

FYI: there were no changes to WiFi core between 0.14.0 and 0.14.1 except for a new option to force WiFi Phy G mode instead of default N mode #2922. But 0.14.1 uses more RAM and hence stresses ESP more.

And BTW the picture above shows (cheap? and probably poor quality) Lolin clone. Get official Lolin Wemos D1 mini or ESP32 if you can.

Boerny41 commented 8 months ago

And BTW the picture above shows (cheap? and probably poor quality) Lolin clone.

You are right, these are just clones and real Lolin ESPs might work better. But the truth is that most people use clones, so many people will have connectivity problems with versions newer than 0.13.1.

If the devs decide that WLED is only supported on Lolin boards then we can save some time and close this issue.

blazoncek commented 8 months ago

We cannot guarantee workings on every hardware even though we try (I myself have 15 batches of approximately 50 ESP8266 devices to test on). I've mentioned elsewhere that for 0.14 we needed to upgrade ESP8266 core to support new LED types and allow enhanced functionality. If (a particular) hardware has issues with it then it is a problem of the hardware, most likely being out of specs.

You can try 0.14.2-b2 (available only through Discord ATM) to see if your board will boot at all as we increased CPU frequency from 80MHz to 160MHz to give ESP8266 a bit more CPU power. Lower quality ESP8266 (found on cheap clones) will most likely not boot or will operate incorrectly. In this case my only recommendation is to use such devices for something else and not WLED.

Jason2866 commented 4 months ago

Probably the onboard 3.3V LDO is to weak. Clones do use fake LDOs or just 150mA types. Replacing the onboard LDO with a 500mA type (as the orig. Lolin board has) does solve the issue most of the time. All my failing WemosD1 mini clones failing before started to work without issues after replacing the LDO.

blazoncek commented 3 months ago

One of the possible solutions was mentioned here.