esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
16.01k stars 13.33k forks source link

ESP8266 NodeMCU not detected by computer. #3551

Closed oemd001 closed 6 years ago

oemd001 commented 7 years ago

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 commented 7 years ago

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

NikolozCh commented 6 years ago

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

devyte commented 6 years ago

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 .

sachinkum0009 commented 6 years ago

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

pipi61 commented 6 years ago

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

sshocked commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

@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 commented 6 years ago

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

arbelaju commented 6 years ago

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 commented 6 years ago

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

chronoss09 commented 6 years ago

Thanks @SeppPenner

WayneRiesterer commented 6 years ago

@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 commented 6 years ago

@sshocked is godlike

EOM commented 5 years ago

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 commented 5 years ago

Try a different cable

cahbagus07 commented 5 years ago

if you use windows 10, use the windows 8 driver

Harshac2 commented 5 years ago

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 commented 5 years ago

You can install the driver nodemcu

Pada tanggal Kam, 28 Feb 2019 21.05, Harshac2 notifications@github.com menulis:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/3551#issuecomment-468284098, or mute the thread https://github.com/notifications/unsubscribe-auth/Atgh9ri_Lc-w-2MaxIQB0abNiS11nKBiks5vR-ItgaJpZM4PDsvk .

jiashanzh commented 5 years ago

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

SeppPenner commented 5 years ago

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

PabloVortex commented 5 years ago

Same problem here. Resolved by changing wire. Thx

MickPBduece commented 5 years ago

"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 commented 5 years ago

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 commented 5 years ago

I finally figured the problem out. As it my arduino editor softwares inability to find and access the drivers.I just changed my arduino version 1.6.4 to 1.8.8 then the problem was solved . With that I have done my mini project using esp8266.

On Mon, Apr 15, 2019, 2:54 PM pixelartartist notifications@github.com wrote:

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 switch 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?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/3551#issuecomment-483176621, or mute the thread https://github.com/notifications/unsubscribe-auth/At3RSyqyzE-p6oT6jwqaO-xaMYMjbaD_ks5vhEVJgaJpZM4PDsvk .

Harshac2 commented 5 years ago

If ur problem still not solved by turning from one arduino version to another,then try it in another version .When I struck with this problem I checked 4-5 versions to solve the problem

On Mon, Apr 15, 2019, 3:25 PM Harsha Vardhanachary < harshalakkojuece@gmail.com> wrote:

I finally figured the problem out. As it my arduino editor softwares inability to find and access the drivers.I just changed my arduino version 1.6.4 to 1.8.8 then the problem was solved . With that I have done my mini project using esp8266.

On Mon, Apr 15, 2019, 2:54 PM pixelartartist notifications@github.com wrote:

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 switch 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?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/3551#issuecomment-483176621, or mute the thread https://github.com/notifications/unsubscribe-auth/At3RSyqyzE-p6oT6jwqaO-xaMYMjbaD_ks5vhEVJgaJpZM4PDsvk .

pixelartartist commented 5 years ago

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

Harshac2 commented 5 years ago

It worked for me in 1.8.8 after trying four versions

On Mon, Apr 15, 2019, 4:16 PM pixelartartist notifications@github.com wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/3551#issuecomment-483201987, or mute the thread https://github.com/notifications/unsubscribe-auth/At3RS2JCGRpQTS9MfUxWLS1xMJyrfuJkks5vhFh0gaJpZM4PDsvk .

pixelartartist commented 5 years ago

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.

Harshac2 commented 5 years ago

Does it showing which port your node mcu is connected?

On Tue, Apr 16, 2019, 5:52 AM pixelartartist notifications@github.com wrote:

Thanks @Harshac2 https://github.com/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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/3551#issuecomment-483465317, or mute the thread https://github.com/notifications/unsubscribe-auth/At3RS8lA0fCrSE9GYlkWvk8FQyEq6CMDks5vhRengaJpZM4PDsvk .

pixelartartist commented 5 years ago

Yes but only in the Device Manager on my pc, not the IDE I can connect my arduino Uno and I will see on the IDE which port it is connected too, but not the ESP8266

Harshac2 commented 5 years ago

Did you extracted all the driver in arduino files or not?

On Tue, Apr 16, 2019, 2:56 PM pixelartartist notifications@github.com wrote:

Yes but only in the Device Manager on my pc, not the IDE I can connect my arduino Uno and I will see on the IDE which port it is connected too, but not the ESP8266

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/3551#issuecomment-483582696, or mute the thread https://github.com/notifications/unsubscribe-auth/At3RS5apayo4NK4E55y5fjtxPU9YL19jks5vhZc4gaJpZM4PDsvk .

Harshac2 commented 5 years ago

If your esp8266 still not connected then try with another arduino version as l did like that

On Tue, Apr 16, 2019, 2:56 PM pixelartartist notifications@github.com wrote:

Yes but only in the Device Manager on my pc, not the IDE I can connect my arduino Uno and I will see on the IDE which port it is connected too, but not the ESP8266

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/3551#issuecomment-483582696, or mute the thread https://github.com/notifications/unsubscribe-auth/At3RS5apayo4NK4E55y5fjtxPU9YL19jks5vhZc4gaJpZM4PDsvk .

CHEEKATLAPRADEEP-MSFT-zz commented 5 years ago

I have changed the usb cable, which worked...!

jlar0che commented 5 years ago

Same here - changing my USB cable solved the problem!

TanmayNagdeve commented 5 years ago

Leaving... Hard resetting via RTS pin..

And nothing happens !!

oldandslow1 commented 4 years ago

Also having similar issues of it not being detected by the pc, tried a couple of cables both of which work with Arduinos. Drivers are installed and work with other things (arduinos).

I found if I press rts it will show for a second then the go off. If I press rts then flash it will remain visible and I can upload blink sketch, it then starts to reboot and disconnect over and over.

last line is the same as the above post Leaving... Hard resetting via RTS pin..

It's not really possible to test other sketches as I can't access serial monitor because it's disconnected.

oldandslow1 commented 4 years ago

Final update for anyone interested, I believe the issue was lack of power. I tried several cables all of which worked with arduinos and eSP32s but all failed with ESP8266. They were all 1 meter long cables so I purchased a shorter cable 0.5 meter and the ESP8266 works perfectly.

I did try the other cables again without success.

SeppPenner commented 4 years ago

@oldandslow1 I can't imagine that this issues corresponds to the length of the cables... Do both cables have a data wire? (Some USB cables only support power, not data...)

Nevertheless, checking the cables is always my first check now (I had this issue before with a broken USB cable and nearly needed half a day to figure that out)...

oldandslow1 commented 4 years ago

@oldandslow1 I can't imagine that this issues corresponds to the length of the cables... Do both cables have a data wire? (Some USB cables only support power, not data...)

Nevertheless, checking the cables is always my first check now (I had this issue before with a broken USB cable and nearly needed half a day to figure that out)...

The other cables came with various devices but I can use them to program other Arduinos and ESP32's without issues and as mentioned they will program the ESP8266 but only after fiddling with the buttons (I don't need to do this with new cable) Even after pressing the buttons it wasn't working correctly, from what I read the ESP8266 draws quite a bit of current at start up and if it can't get enough it goes into a loop of trying to restart.

SeppPenner commented 4 years ago

The other cables came with various devices but I can use them to program other Arduinos and ESP32's without issues and as mentioned they will program the ESP8266 but only after fiddling with the buttons (I don't need to do this with new cable) Even after pressing the buttons it wasn't working correctly, from what I read the ESP8266 draws quite a bit of current at start up and if it can't get enough it goes into a loop of trying to restart.

Ok, really strange...

pugrustler commented 4 years ago

Had the same problem not connecting to pc. Tried other wires, install uninstall drivers, tried another cable. Nothing. Then I tried a good thick USB cable and it came to life. Don't use cheap USB cables.

Googlewasmyidea commented 4 years ago

I cannot believe this. The actual reason was because of the wire... Thanks @sshocked !

boraaslan commented 4 years ago

Some of usb wire is so dud. Please change the wire and try again. It will work %99.

jpreiss commented 4 years ago

For what it's worth, I was able to flash blink on a 2013 rMBP running 10.14 Mojave with no issues. I used the driver from https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers . My hardware is the KeeYees NodeMCU from Amazon.

parzibyte commented 4 years ago

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

Yes, this is working. Thanks :)

jeevansahu commented 4 years ago

the blue led is not blinking in nodemcu(generic ) i install their driver also but its not working what would i do?

disneyn commented 4 years ago

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.

I just wanted to say THANKS to user sshocked for helping me with this issue, it worked perfect just to swap to another cable! //Hans

MickPBduece commented 4 years ago

Maybe you did already but I marked a cable as being a good one after this experience.

On Tue, Apr 28, 2020 at 6:42 AM disneyn notifications@github.com wrote:

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.

I just wanted to say THANKS to user sshocked for helping me with this issue, it worked perfect just to swap to another cable! //Hans

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/3551#issuecomment-620553634, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALNOXUVOM3ABH4FJNW5YETDRO26JHANCNFSM4DYOZPSA .

sahilshaikh89 commented 4 years ago

Wire was the problem for me. Glad I found the comment from sshocked.