-->
Page 1 of 2

Unable to upload to esp8266

PostPosted: Fri Oct 21, 2022 2:28 am
by YG0820
I bought esp-01s for my research. I connected it with arduino uno, but it compiles but does not upload. I will show you the output results and the connection environment. I am stuck. Please help me.

arduino uno R3
esp-01s esp8266

TX --> TX
RX --> RX
EN --> 3.3V
3v3 --> 3.3V
GND --> GND
GPIO0 --> GND
GPIO2 --> 3.3V

Traceback (most recent call last):
File "C:\Users\sora3\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in <module>
esptool.main(cmdline)
File "C:/Users/sora3/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3552, in main
esp.connect(args.before, args.connect_attempts)
File "C:/Users/sora3/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 529, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
Failed uploading: uploading error: exit status 1

Re: Unable to upload to esp8266

PostPosted: Sat Oct 22, 2022 3:01 am
by rooppoorali
Looks like some other resistors must be added too. As shown here: https://create.arduino.cc/projecthub/im ... uno-663b9e

Re: Unable to upload to esp8266

PostPosted: Sat Oct 22, 2022 4:41 am
by JurajA
did you upload a sketch without Serial.begin() into the Uno?

Re: Unable to upload to esp8266

PostPosted: Sun Oct 23, 2022 8:05 pm
by YG0820
JurajA wrote:did you upload a sketch without Serial.begin() into the Uno?

Yes . Uploaded without.