-->
Page 1 of 1

Connect/disconnect loop when trying to program ESP-01

PostPosted: Sat Jun 10, 2017 8:11 am
by Blargmode
Hi, I'm trying to program my ESP-01. I followed this tutorial: https://diyhacking.com/esp8266-tutorial/
The image on how to connect things is really bad:
Image
However it looks like they have connected the CTS pin on the programmer to RST on the ESP, but in the text it says RTS -> RST. So I did what it said in the text.

Now, this worked perfectly the first time, the code uploaded and I can control it via the browser. Problem is that I can't connect it via USB to program it again. It's just constantly connecting and disconnecting from USB.

How do I get out of this disconnect loop so that I can program it again?

Re: Connect/disconnect loop when trying to program ESP-01

PostPosted: Mon Jun 12, 2017 6:44 pm
by atexit8
If you mean you want to communicate with the ESP-01 using AT commands,
RST, GPIO0, and GPIO2 are not connected to anything. CH_PD should be connected to 3.3V.

Re: Connect/disconnect loop when trying to program ESP-01

PostPosted: Mon Jun 12, 2017 8:04 pm
by QuickFix
According to the application notes of the ESP, you should tie 10k pull-up resistors to GPIO0, RST and CH_PD.
Do not connect RST (reset) to RTS (Ready To Send). :idea:

To reset connect RST to ground, to program connect GPIO0 to ground: since both RST as GPIO0 have pull-up resistors, you don't have to make changes in the connections, just tie to ground as needed.

Image
Source and description: AllAboutCircuits.com

Re: Connect/disconnect loop when trying to program ESP-01

PostPosted: Tue Jun 13, 2017 7:47 am
by johnnyfrx
This may offer some useful visuals/etc for your project as well:
https://www.instructables.com/id/ESP826 ... r-Dummies/