Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By ashaytaksande
#85994 Hello!
I am a total noob when it comes to IOT, every help is appreciated.
I am trying to upload a sketch to my esp 8466-01 which I got from https://www.electronicscomp.com/esp8266-esp01-wifi-module?search=esp.

I am getting this error:
esptool.FatalError: Failed to connect to ESP8266: Invalid head of packet (0xF0)

How do I solve this?
I am using :
    Arduino Uno rev3
    Arduino 1.8.12 IDE (portable version/zip version) I have also tried using the windows 10 Arduino app but get the same error.
    ESP8266 Community version 2.6.3 bord drivers.

Connections:
Image

AT+RST:
https://drive.google.com/file/d/1srcjrhrJqVg_hVib37qXHVlvZjdYCmBU/view
Detailed error log: https://pastebin.com/v6WCRCbc.
Error video:https://drive.google.com/open?id=1HFmDkMIjwNJnSkeoptY1OrtpHSh1Difu.
Thank you!
User avatar
By RichardS
#86076 Swap RX and TX lines....
User avatar
By RichardS
#86077 If there is also a USB to serial chip in the circuit of the ESP8266 it may not like it being also connected to Arduino UNO at same time.

RichardS
User avatar
By schufti
#86080 to use your UNO as usb/serial converter you have to either remove the ATmega 328 (cpu) or keep it in constant reset (tie rst to gnd). TX-TX / RX-RX is correct but you should put a resistor (1k) in RX line.
AND generally you shouldn't do this at all. Don't be cheap, spare yourself frustration and buy a usb/serial converter! Or - especially as noob - even a cheap NodeMCU development board.