ESP8266 not work suddenly

Hi!
i'm just using my esp8266(with NodeMCU 1.0 ESP-12E Module),but i cant upload my code to it suddenly,i did nothing but it happened,it showed me this:

Configuring upload protocol...
AVAILABLE: espota, esptool
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: COM3
Uploading .pio\build\nodemcuv2\firmware.bin
esptool.py v3.0
Serial port COM3
Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header

At the same time, as long as it is connected to the computer via USB, it will start to generate abnormal heat.

Before it broke,i connect its 3v and gnd to a 5v battery (with my usb cable connected but it still work for a long time),so is this likely to cause a short circuit or other problem?

It seemed unlike a problem from my code since it's only a test code,and the port is all correct,the driver is downloaded from here

Here is the code:

#include <Arduino.h>

void setup()
{
  int a1 = 2;
}

void loop()
{
  int a = 1;
}

Any idea?Thank you!

Hi @esp8266nice. This might be caused by a short or external circuitry connected to the Arduino board drawing excessive current.

Make sure the board is not sitting on anything conductive that could short the contacts on the bottom of the board. Inspect the board carefully on both sides to make sure there isn't any conductive debris (e.g., strands of wire or component leads) on the board or on the surface the board is sitting on.

If you have a shield or any external circuitry or components connected to your Arduino board, try this experiment:

  1. Disconnect the USB cable of the Arduino board from your computer.
  2. Disconnect any shields, modules, external circuitry, etc. from your board.
  3. Connect the Arduino board to your computer with a USB cable.

Now check to see if the problem still occurs.

This experiment will determine whether the problem was caused by the external circuitry. If so, you can then focus your attention on identifying the specific problem with the circuit and resolving it.

So that basically powers the microcontroller with 5V instead of 3.3V. Your ESP8266 has died a slow and painful death.

1 Like

Unlike most 3.3V MCUs, Tensilica L106 doesn't feel pain above 4.5V anymore. So he spent his last moments in 5V doped euphoria until the very last clock cycle. RIP.

1 Like

The 3V3 is an output not an input. Yes it caused a short circuit.
You should have connected your 5V battery to the VIN (Voltage INput) pin.

Thanks for all people that helping me!
so i should connect the wire to vin ,not 3v ?
It's my first time using it so i connect it to 3v
and may i ask why it didn't make a short circuit at first?

so i should connect the wire to vin ,not 3v ?

The Vin pin can be connected to a 5V power supply or a 5V power bank/pack when you don't want to use power from the USB.

That is a good question.
What kind of battery did you connect

1 Like

To be honest,i dont know
The seller only said that it's made of 1 18650 with 5v and 2A

I know the kind you mean. It's actually a small 5V power bank. It has some electronic circuits inside so exactly what it did when you connected it the the 3V3 output is unknown but in any case you should never connect any voltage or ground to a power output pin

ok......
I hope i wont do such a silly thing next time :frowning:
Anyway thank you! :slight_smile:

You are welcome!
Don't forget to read the information on the website link I gave in post #5

1 Like