Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP8266 NodeMCU not detected by computer. #3551

Closed
oemd001 opened this issue Aug 27, 2017 · 99 comments
Closed

ESP8266 NodeMCU not detected by computer. #3551

oemd001 opened this issue Aug 27, 2017 · 99 comments

Comments

@oemd001
Copy link

oemd001 commented Aug 27, 2017

Hello I purchased a esp8266 NodeMCU and I connected the micro USB into the NodeMCU and connected via USB to my computer, which is running Windows 10 x64 bit. Nothing is showing up. However, the blue light on the esp8266 is flashing (occasionally) but no signal whatsoever from the computer.

Please help and respond?

Thanks!

@killa198921
Copy link

Did you install the USB driver ?
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

@NikolozCh
Copy link

Same problem, i have downloaded the drivers but still nothing :/ the blue lightning is flashing just

@devyte
Copy link
Collaborator

devyte commented Oct 28, 2017

Either your board is bad, or your drivers are bad. The ones with ftdi can suffer from fake chips, which then get bricked on purpose by the original ftdi driver.
I have several Nodemcu boards, and they flash fine.
This is an issue tracker for the core, and not the right place to ask for support. Please refer to a community forum.
Closing per #3655 .

@devyte devyte closed this as completed Oct 28, 2017
@sachinkum0009
Copy link

Same situation happened with me, I also purchased a nodemcu board of amica which is not showing on my windows platform.

@pipi61
Copy link

pipi61 commented Mar 26, 2018

check in device manager, if installed the usb driver, check serial port number,
and set this comp port number in arduino ide

@sshocked
Copy link

sshocked commented Apr 1, 2018

I had same problem but I solved it. My board flashed only flashed once(it all about I think what my usb wire works) but, pc still doesnt recognize it. So i installed like 1 thousand times drivers from silabs. But pc still doesnt see it and board still flashing. So i try to change my usb wire to another one, and pc recognized it)) So if yr pc doesnt see com port try ty change the wire.

@degustator
Copy link

degustator commented Apr 1, 2018

Thanks to sshocked comment! Wire was the reason. Funniest moment is that I expierenced this problem before and forgot. Lots of wires, that are supplied with devices for charging, aren't complete USB wires, there are probably only 2 power leads inside, and missing D+ and D- wires

@phani5016
Copy link

@sshocked ; thankyou... it worked perfectly.. just changed the cable....

can i please know why the cable makes a difference? does it have anything to do with the length and impedance associated with it?

@ofSanjay
Copy link

ofSanjay commented May 1, 2018

thanks for these conversations. I try to change the cable and it works.

@arbelaju
Copy link

I tried to change my wire but it didn't work. So I solved installing this:

https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

@SeppPenner
Copy link

I had to install the driver for the NodeMCU manually: https://github.com/nodemcu/nodemcu-devkit/tree/master/Drivers. Afterwards, it worked.

@chronoss09
Copy link

Thanks @SeppPenner

@WayneRiesterer
Copy link

@sshocked, nice work. It's been a while since I've dealt with hardware and forgot about this. I've faced this issue quite a few times before and keep forgetting that some cables don't offer a data connection. It's now working fine...on with the show :)

@Discostoff
Copy link

@sshocked is godlike

@EOM
Copy link

EOM commented Nov 17, 2018

Nodemcu Wifi Esp8266 NODEMCU-CP2102 V3 Lua 4Mb

Same problem in the end was the change that does not have to pass data, was a cable for cellular charge, so I lost an hour in search of the solution.
He passed
1 - Install the USB-Serial Chip driver: CP2102 is CP210x (https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers)
2 - Connect USB cable with Data cable and ready
3 - Ready we enter Arduino and you have the COMx serial

@JPLoganlant
Copy link

Try a different cable

@cahbagus07
Copy link

if you use windows 10, use the windows 8 driver

@Harshac2
Copy link

Hello I purchased a esp8266 NodeMCU and I connected the micro USB into the NodeMCU and connected via USB to my computer, which is running Windows 10 x64 bit. Nothing is showing up. However, the blue light on the esp8266 is flashing (occasionally) but no signal whatsoever from the computer.

Please help and respond?

Thank

same in case of my node mcu

@cahbagus07
Copy link

cahbagus07 commented Feb 28, 2019 via email

@jiashanzh
Copy link

Same problem.Finally, i find my micro usb-cable ,can only use for charge, cannot work well

@SeppPenner
Copy link

@jiashanzh This is also a quite common problem. Broken cables or cables that are usable for loading only...

@PabloVortex
Copy link

Same problem here. Resolved by changing wire. Thx

@MickPBduece
Copy link

"I had same problem but I solved it. My board flashed only flashed once(it all about I think what my usb wire works) but, pc still doesnt recognize it. So i installed like 1 thousand times drivers from silabs. But pc still doesnt see it and board still flashing. So i try to change my usb wire to another one, and pc recognized it)) So if yr pc doesnt see com port try ty change the wire"

Some of ports work for flashing an some do not. The ones that don't will power a device and copy files from my phone. Maybe it's how the driver is applied? I'd be curious if anyone has an idea why that would be.

@pixelartartist
Copy link

pixelartartist commented Apr 15, 2019

I have the same problem. I have downloaded ALL the drives, but they always say "Unable to find a device designed for this driver"
I have switched my Micro USB cables with the HUNDREDS I have at home and none of them work. It would be nice if they all were for charging, but most likely it's my pc.

Now, my pc does recognize that my a device is plugged in, but calls it 'Silicon labs CP210x USB to UART Bridge (COM3)'

My Arduino IDE does not recognize this however. Any advice?

@Harshac2
Copy link

Harshac2 commented Apr 15, 2019 via email

@Harshac2
Copy link

Harshac2 commented Apr 15, 2019 via email

@pixelartartist
Copy link

I have gone through versions 1.8.9-1.8.1
You sure this is will work?
Thanks for the advice though!

@Harshac2
Copy link

Harshac2 commented Apr 15, 2019 via email

@pixelartartist
Copy link

Thanks @Harshac2, I seriously appreciate your help :)
Well, I look at the serial monitor and see that the module is scanning for networks, but not connecting to anything, it just continues to scan and nothing else WHILE telling me that there was an error compiling for the board.

@brother27
Copy link

change your cable

@gajanangomare79
Copy link

i tried it.then also i'm getting same problem . before it was working well but i don't know why suddendly it is not working.
guys please help me i have to submit by monday.

@pepe0pepe
Copy link

I tried everything whats in this forum too. what worked for me this: https://www.usb-drivers.org/ft232r-usb-uart-driver.html

@Bighoneypot
Copy link
Contributor

Bighoneypot commented May 9, 2021 via email

@yelanetzichavez
Copy link

I just downloaded this driver and worked for me.

https://electropeak.com/learn/how-to-install-ch340-driver/

@QHuyCup
Copy link

QHuyCup commented Jun 18, 2021

I had same problem but I solved it. My board flashed only flashed once(it all about I think what my usb wire works) but, pc still doesnt recognize it. So i installed like 1 thousand times drivers from silabs. But pc still doesnt see it and board still flashing. So i try to change my usb wire to another one, and pc recognized it)) So if yr pc doesnt see com port try ty change the wire.

It works !!!

@jovylle
Copy link

jovylle commented Jul 28, 2021

I have t he same problem,

And this one helped me, thanks for the images so I can quickly find this one. and understand that those are different hardwares

So to sum up everything:
1- check the cable if it's a Data or a power cable (old Samsung phones or Asus tablets for example will work great as noted ).
Note: thickness is not enough as we saw earlier on this thread (found this to know more info about cables).

2- check the correct drivers, Those are the drivers of the most used chips:

💾 CP2102
💾 CH340

image

there are extra problems that people go throw like not being able to find the esp8266/NodeMCU on the bord manager in Ardunio IDE this helped me.
I know this might look like another problem but many people think that the problem is with their cable/pc for not being able to see their board in the manager, hence why they might be reading this thread.

@MuhammadShafaullah
Copy link

MuhammadShafaullah commented Aug 9, 2021

still, it's not come on port or pc not detects after entering it

@prof-redstone
Copy link

Thanks to sshocked comment! Wire was the reason. Funniest moment is that I expierenced this problem before and forgot. Lots of wires, that are supplied with devices for charging, aren't complete USB wires, there are probably only 2 power leads inside, and missing D+ and D- wires

Thank it works !

@ertugrulcakici
Copy link

i'd like to say thank you because the cable was the problem for me and I solved the problem

@shiviraj
Copy link

shiviraj commented Nov 1, 2021

I also face the same issue, I bought a new usb cable 3 new nodemcu. I already had 3 different usb cables. I tried different combinations and also tried different drivers. I was not succeed. I also tried in different OS. after I got the idea. let's verify one by one item. nodemcu was correct. new and LED blinks while connecting to the cable. When I tried to verify the usb cables. I connect my android phone with PC with the help of usb cable. and tried to transfer the data from phone to PC. My phone was detected by my PC. So I got all the cables i had faulty. Make sure you try to verify all items one by one. Thanks a lot

@ramanraja
Copy link

ramanraja commented Nov 13, 2021

Sorry if this is off topic: But I am unable to upload any code to my NodeMCU board ever since I upgraded my Windows 10. My old USB serial driver CH340 no longer works. Windows complains that the driver is 'not signed', so it cannot be installed. Windows Update also could not find any suitable driver for NodeMCU serial interface. The same board and cable work fine on a Linux laptop.
Everyone points me to a Chinese chip manufacturer's site to download the driver. But I am scared to download some unknown/ unsigned driver whose instructions are in a language that I do not know.
A few drivers are available at the following places:
https://github.com/nodemcu/nodemcu-devkit/tree/master/Drivers
https://sparks.gogo.co.nz/ch340.html
But no one seems to know if these are safe or contain Trojans. If the driver is genuine, why doesn't the manufacturer sign it?
I just want a certified and safe serial driver for my ESP chips. Please help.

@d-a-v
Copy link
Collaborator

d-a-v commented Nov 13, 2021

The firmware you will upload in the esp8266 is closed source, Chinese, and has access to your local network. Will you trust it more @ramanraja ?
If your esp-s are in an isolated vlan, you can also install this driver in a VM.

@ramanraja
Copy link

ramanraja commented Nov 13, 2021

@d-a-v , you have a valid point!
But in my defence, I can state that I use the Arduino stack on the 8266. I use the open source firmware Tasmota and compile it from source. The devices interact with my PC and mobile through MQTT, using known payloads.
This doesn't guarantee fool-proof security, but at least I need not install an uncertified software on my development machines.
What I fail to understand is: why should it be such a black art to send a few bytes over my serial port? Can there not be any public, open and standards-based handshake mechanism and message format?

@d-a-v
Copy link
Collaborator

d-a-v commented Nov 13, 2021

I use the open source firmware Tasmota

These files are closed source binaries downloaded from espressif website and are included in every sketch build (arduino or platformio or tasmota or anything related to this arduino core).

Can there not be any public, open and standards-based handshake mechanism and message format?

Hardware usb<=>uart converters (ch340, cp2103, pl2303, ftdi) all need an USB driver for your OS. Sometimes there are open source versions for some OS, sometimes not. They sometimes need to be upgraded along with OS when they are themselves upgraded. Worst cases are about macOS. For all OSes there should be a signed binary version downloadable from manufacturer websites. Signed or not for the OS, if you don't compile the driver yourself, you can do little except from downloading the binary version from the manufacturer website.

@Dwirizkifahrezi
Copy link

I want to ask, my nodemcu esp8266 does not turn on and is not detected on the computer, even when it is plugged into the computer, the esp led indicator does not turn on, anyone knows the problem.

@LukhmanHakim
Copy link

i think it's broken

I want to ask, my nodemcu esp8266 does not turn on and is not detected on the computer, even when it is plugged into the computer, the esp led indicator does not turn on, anyone knows the problem.

@BurakDemirdelen
Copy link

I had same problem but I solved it. My board flashed only flashed once(it all about I think what my usb wire works) but, pc still doesnt recognize it. So i installed like 1 thousand times drivers from silabs. But pc still doesnt see it and board still flashing. So i try to change my usb wire to another one, and pc recognized it)) So if yr pc doesnt see com port try ty change the wire.

thank you for your help, it is working now.

@melihkaragoz
Copy link

Just to have my say, after two days of testing and swearing I discovered that three (3) usb cables I was trying were "power only" !!! I have successfully used the cable from my Asus tablet!

thank you so much 😍😍

@melihkaragoz
Copy link

Just to have my say, after two days of testing and swearing I discovered that three (3) usb cables I was trying were "power only" !!! I have successfully used the cable from my Asus tablet!

you saved my day

@Pradeepmanoharan19
Copy link

I tried to change my wire but it didn't work. So I solved installing this:

https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

if the com port not show how you choose the port and upload I too tried changing the wire but I doesn't work

@dhajnes
Copy link

dhajnes commented Mar 20, 2023

Hi, if you are installing for Ubuntu 22.04, the thing is that mine (NodeMCU spinoff called HW-628 V1.1) has a chip for which a CH340 driver is needed. This driver is installed natively, although another tty is normally assigned to this output (so no /ttyUSB0 present), and it is the brltty that takes its place, which is a TTY terminal output/inpupt for people with vision impairment, it translates terminal output into Braille. Neat, but probably not useful if you are reading this, so you can simply:

sudo apt remove brltty and then reboot.

Your Ubuntu should be able to recognize NodeMCU from now on.

Source: https://askubuntu.com/questions/1403705/dev-ttyusb0-not-present-in-ubuntu-22-04

PS: Before you install anything, first check if your USB cable is data cable. It is almost impossible to tell it 100%, but the rule of thumb is that if the cable is really thick, it probably has also the data cable inside, not only + and - for charging.

@lk2626
Copy link

lk2626 commented Mar 28, 2023

I have installed the drives changed the cable but no changes in the port display still the port is not visible in the device manager

@Bighoneypot
Copy link
Contributor

Bighoneypot commented Mar 28, 2023

I have installed the drives changed the cable but no changes in the port display still the port is not visible in the device manager

Dear @lk2626 , what is your SO? Your cable is a data cable? Type of your board?

@lk2626
Copy link

lk2626 commented Mar 29, 2023

It is windows 11 64 bit mi usb cable

@Bighoneypot
Copy link
Contributor

Try to install this in your win 11, after restart win system
https://www.silabs.com/documents/public/software/CP210x_Universal_Windows_Driver.zip

@MortyFleem
Copy link

WHAT WORKED FOR ME (why can't developers/sellers provide a list of common headaches and how to fix???): -
I downloaded the drivers from the Silicon Labs website.
And the KEY for me was to install said drivers using the .exe file that came in the downloaded driver package .zip!!!

This was after trying a zillion different cables and all sorts of other timewastery.

@ahmedsalah32
Copy link

I had same problem but I solved it. My board flashed only flashed once(it all about I think what my usb wire works) but, pc still doesnt recognize it. So i installed like 1 thousand times drivers from silabs. But pc still doesnt see it and board still flashing. So i try to change my usb wire to another one, and pc recognized it)) So if yr pc doesnt see com port try ty change the wire.

Yes i face the same problem and the problem was in the usb wire

@gsimon75
Copy link

gsimon75 commented Aug 3, 2024

My symptoms:
USB power is OK, led blinking, the ESP8266 is accessible via external serial Rx/Tx, but the on-board USB-serial adapter is not detected as a USB device, not even as an unknown one.

The problem:
The 12 MHz oscillator of the USB-serial chip (CH340G) was not working.
(Detect: Attach a scope to th 7th or 8th pin of CH340G, you should see a 12 MHz signal.)
At least one soldering was faulty, probably because my board is a cheap replica...

The solution:
Unsoldered the crystal resonator (12 MHz) and the 2 capacitors (20-30 pF), re-tinned the PCB pads (don't spare the flux), re-soldered the parts.

Result:

PS C:\Temp> usbipd list
Connected:
BUSID  VID:PID    DEVICE                                                        STATE
...
2-2    1a86:7523  USB2.0-Serial                                                 Not shared
...

(The moral of the story: No amount of software tinkering will solve a faulty solder joint :D )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests