ThomasB wrote: ↑03 Jul 2021, 18:40
I went through my ESP8266 collection and found the Wemos board like yours with the 4A2D VReg. It's the version that uses the shielded ESP8266MOD module. Unfortunately this is the board version that is working for you.
I identify this board version by the printed antenna and embedded/shielded ESP8266ex, although I'm sure that there are versions out there, which use yet another VReg than the 4A2D. On AliExpress it goes by the name „D1 mini“ (so without Pro).
The main reason I went for that other, problematic D1 mini Pro board (which has the S2RC/ME6211 VReg) is the ceramic antenna, which performs better than the printed one, according to my tests. Plus it has the IPX connector for an external antenna.
Did some further testing, all using my HiLink-based PSU board as is:
- provided the power via 15 cm, twisted pair 0.4 mm² massive copper wire with the D1 mini Pro board distanced from the PSU = no change, still only randomly booting
- tried grounding RST pin for a brief moment again = nothing
- voltage on RST pin (climbs) instantly to 3.3V when connecting to 230V
- voltage on D3 (GPIO-0) pin (climbs) instantly to 3.3V when connecting to 230V
- when providing the HiLink power via 2-wires only to the MicroUSB receptacle, the D1 mini Pro always boots up
Also built a
3V3 version of my PSU board: It uses the HiLink PM-03 (3.3V 1A) and connects to the 3V3 pin, instead of the 5V pin of the D1 mini Pro:
- measures 3.3V on both 3V3 and 5V pins
- boots up just as randomly
Don't know what to do next. I mean it's cumbersome if we/I have/one has to specifically address each flavor of D1 mini (Pro) board. Perhaps some experts here should design the ultimate, flawless D1 mini board and we should kickstart it (assuming that the other ESP8266 firmware makers are having similar problems). Just an idea...
TD-er wrote: ↑03 Jul 2021, 09:37
I think the USB to serial chip is in an unknown state when powered via the 5V pin.
Since it can toggle the reset and GPIO-0 pin (which is needed to enter flash mode), it is possible either one is toggled.
1. You could try to add a stronger pull-up to GPIO-0 to see if it may improve success rate of booting.
2. Or simply power it via an USB power bank or something else that won't toggle the USB data pins.
3. Another option would be to add a capacitor + resistor to the EN pin, but I'm not sure if it is easy to access this pin on the D1 mini.
GND --- Capacitor --- EN pin --- resistor --- 3v3
I don't see how 2. makes a difference when connected to the D1 mini Pros’s 5V/GND pins, so I assume that’s meant to connect to the board’s MicroUSB receptacle. That would actually be a quick, simple fix: connect the 5V power provided by my PSU board not via the 5V/GND pins, but using a MicroUSB plug. Not very elegant though.
On 1.: Stronger Pull-Up. Like how and what? I assume that’s meant only brief to trigger booting. That would have to be done in software I guess. (I can't emphasize enough how clueless I am

)
Same applies for 3. Perhaps you can go into details.
I seriously wonder, what the manufacturers of this board think how this is going to work. Or are those 5V and 3V3 pins on the D1 mini (Pro) boards actually not meant to supply power to, but source power from (which is supplied via MicroUSB)??