Wemos D1-Mini USB connection issues

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
SpasT
New user
Posts: 4
Joined: 06 Feb 2019, 11:14

Wemos D1-Mini USB connection issues

#1 Post by SpasT » 12 May 2020, 08:56

I bought few Wemos D1-Mini boards and all of them have connection to USB problems.
Found some posts over the internet, but no real solution. When I look in datasheet of CH340 I see that at pin16 of chip is VCC (5v from USB), but on the board this pin is connected to 3,3V. The simplest modification is to rise this pin from the board and connect it to USB VCC pin.
Now the connection is stable and no more disconnections.
I hope this can be usefull for others with the same issues.

User avatar
ThomasB
Normal user
Posts: 1356
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Wemos D1-Mini USB connection issues

#2 Post by ThomasB » 12 May 2020, 22:58

Interesting solution. Your 5V conversion should also change the V3 pin, per the data sheet.

Why? The CH340 chip supports 3.3V VCC if the "V3" pin is also connected to 3.3V. When using 5V VCC, the V3 pin must be only connected to a .1uF cap (V3 is not connected to VCC).

ch340-1.jpg
ch340-1.jpg (67.75 KiB) Viewed 15380 times
ch340-2.jpg
ch340-2.jpg (102.08 KiB) Viewed 15380 times

- Thomas

TD-er
Core team member
Posts: 9874
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Wemos D1-Mini USB connection issues

#3 Post by TD-er » 13 May 2020, 09:45

That's good info.
Maybe you could add this also to the Wiki, as I guess a lot more people will run into this.

Sounds like a new batch of so called Wemos D1-mini units has been sold to a number of AliExpress sellers so we will hear a lot more about these issues the upcoming weeks/months.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Wemos D1-Mini USB connection issues

#4 Post by grovkillen » 13 May 2020, 09:59

I added a link to this thread to the list of ESP "hardware": https://www.letscontrolit.com/wiki/inde ... P_hardware

I'm sorry for not being fast on the documentation, the GUI has been taking it's time + I have tried to get myself some income. It will be changing soon I hope.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

davecason
Normal user
Posts: 17
Joined: 18 Mar 2018, 18:02

Re: Wemos D1-Mini USB connection issues

#5 Post by davecason » 18 Nov 2024, 21:44

Hi Guys,
I just read SpasT post about the voltage issue with newer Wemos D1 Mini's.

So is it safe to assume that newer boards need to have a jumper run from
the Wemos D1 Minis 5vdc input pin to a .1uF cap and then over to ....?

pin 4 labeled V3 on the CH340 chip itself or to
pin 16 labeled VCC on the CH340 chip itself

For that matter my existing board that I have are from 2018 so do you think
that might be the problem I'm having when trying to see the Wemos on my
USB port?

Cheers'
Dave

TD-er
Core team member
Posts: 9874
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Wemos D1-Mini USB connection issues

#6 Post by TD-er » 18 Nov 2024, 22:05

A few things to check:

- Test other USB cable (!!) as some may have different lengths of the pads inside the connectors.
- Test in another USB port of the PC. Especially USB-3 ports may sometimes have connection issues due to shorter pad lengths inside the connector. Though the USB3 ports are capable of delivering higher currents, so switching from USB2.0 to USB 3.x ports may also make a positive difference.
- Does the USB device show up in Windows device manager?
- Is there a lot of stuff connected to the board? (thus drawing higher currents, or keeping GPIO-0 in a specific state during boot)

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests