WLED icon indicating copy to clipboard operation
WLED copied to clipboard

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

Open Boerny41 opened this issue 1 year ago • 10 comments

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

  • [X] I agree to follow this project's Code of Conduct

Boerny41 avatar Feb 17 '24 13:02 Boerny41

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

coolio75 avatar Feb 22 '24 06:02 coolio75

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

coolio75 avatar Feb 22 '24 06:02 coolio75

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 ;-))

LuxBibi avatar Feb 25 '24 22:02 LuxBibi

Same issue here.

DanoneKiD avatar Mar 04 '24 16:03 DanoneKiD

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 ...

LuxBibi avatar Mar 04 '24 19:03 LuxBibi

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.

blazoncek avatar Mar 04 '24 20:03 blazoncek

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.

Boerny41 avatar Mar 05 '24 08:03 Boerny41

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.

blazoncek avatar Mar 05 '24 08:03 blazoncek

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.

Jason2866 avatar Jun 27 '24 11:06 Jason2866

One of the possible solutions was mentioned here.

blazoncek avatar Jul 26 '24 06:07 blazoncek