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;
}
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:
Disconnect the USB cable of the Arduino board from your computer.
Disconnect any shields, modules, external circuitry, etc. from your board.
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.
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.
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?
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