ESP-01 with Arduino IDE, how to pull all pins up to 3v3?

I've been trying to upload any sketch to an ESP-01 with auto-download/upload USB programmer/adapter.

I've tried blank sketches and blink sketches. From here, I tested to see if there is continuity between GND and GPIO0. There is. It should be programming.

It is always this error:

esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

A comment on the Amazon product page says, "Uploading sketches via Arduino IDE, using one of the programming boards, goes OK. All pins have to be pulled-up (10kΩ) to 3V3."

So I tried uploading this sketch to no avail:

void setup() {
  pinMode(1, INPUT_PULLUP);
  pinMode(2, INPUT_PULLUP);
  pinMode(3, INPUT_PULLUP);

}

void loop() {

}

Relative to ground, all the pins are 3v3, except GPIO0 is 2.09 V.

Is there anything else I should try? I've also tried different computers.

image

image

I tried the two others (of the three). They program flawlessly.

The first must have been physically bad somehow.

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