How to program an ESP-01 in 2021?

Hi guys,
I have an ESP-01 module which I want to use with hc-sr04. I first tried to upload the blink sketch but got this error: esptool.FatalError: Timed out waiting for packet header
I have connected 3.3V to VCC and CHPD, GND to GND and GPIO0 and RX/TX of FTDI programmer to TX/RX of ESP-01.

Did you do a search for "esptool.FatalError: Timed out waiting for packet header"? I know that I have seen this problem posted on the forum before, but since I don't use ESP8266 much I do not know the solution.

Look for a tutorial. It's not enough to just connect the pins that way. You have to switch the signals in a certain sequence to get it into code upload mode.

The ESP8266 Beginner's Guide may help.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.