D1 mini disconnects

Like others, I had problems with my D1 mini module (NodeMcu). I was able to establish the connection, but it often just broke off.
Strangely, this only affected one of 3 boards.
Upon closer inspection, it turned out that the boards were equipped “slightly” differently.
The capacitors look different. The CH340G chip has a differently shaped housing. The marking for pin 1 is different. (Bad luck, I thought)

How can i work with Lua and Esplorer, if the device often looses contact whilst trying to debug a programm ?

I then read about tlp (ch340 keeps disconnecting). Tried it out, and now it works reliably with the 3rd board too.

Create a file 60-nodemcu.conf in /etc/tlp.d with the following content:

# 00-template.conf – template for TLP drop-in customizations
# Full explanation can be found at: https://linrunner.de/tlp/settings
#
# PARAMETER="value"
# PARAMETER+="add value"
# akf 241212
USB_DENYLIST="1a86:7523"

Obviously TLP has incorrectly put the USB port into power saving mode. And depending on the D1 mini, this seems to happen more often, or not at all.
:footprints:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.