Chat here is you are connecting ESP-xx type modules to existing AVR based Arduino

Moderator: igrr

User avatar
By JuergenS
#22866 Hi!

I bought this module

http://www.ebay.de/itm/161736810847

and I am trying to get it work with the Arduino IDE.
I get the error messages

warning: espcomm_sync failed
error: espcomm_open failed

can anyone help me ?

Unfortunatley I flashed the nodemcu firmware to the modul.
This worked but now it seems that I can only talk with
lua script language to the esp8266. I don't like this.

I prefere to use my esp8266 with a nice IDE as Arduino IDE.

Thanks! Juergen
User avatar
By Tawhiz20
#22876 Hallo Jürgen,

It seems you have the wrong Com-port selected OR did not put GPIO-0 to GND to flash it (yes, everytime you write your sketch from the arduino-ide to the 201 you have to put gpio-0 to GND)

Did you put GPIO_15 to GND and Chip-EN to 3.3V??

I have several 201's running. To me it is the prefered model :mrgreen:

Viel Spaß
User avatar
By JuergenS
#22894 Hi Tawhiz20!

Thanks for answering!

Meanwhile I found a solution here:

http://www.esp8266.com/viewtopic.php?f=26&t=2210

Had the same problem. After lots of trail and error I found that you need to have GPIO0 connected
to ground when powering up, then remove ground from GPIO0 and then upload.
Strange but seems to work for me. (ESP 8266 101)


My 201 has this layout:
http://smarpl.com/sites/default/files/downloads/ESP8266-ESP-201-pin-reference-v01.pdf

I put GPIO15 = IO15 to GND and CHIP_EN to 3.3V. And I put IO0 to GND when powering up
the module and I released the connection between IO0 and GND before compiling and
flashing with the Arduino IDE. Then it seems to work: no errors reported.

I assume that my UART to TTL converter is very poor. It is a CH340 without
DTR and RTS pin. Also my converter cannot power the ESP8266 even not
connected to an active USB HUB with external power.

I would like to buy a new UART to TTL converter and make the connection as
shown here:

https://github.com/esp8266/Arduino

Can anyone recommend a good UART to TTL converter which is working
fine in all enviroments?

@Tawhiz20: Where did you buy your ESP201 modules? Do you have still the antenna problem
or any other problems?

Best Regards

Juergen
User avatar
By Tawhiz20
#22906
JuergenS wrote:I would like to buy a new UART to TTL converter and make the connection as
shown here:

https://github.com/esp8266/Arduino

Can anyone recommend a good UART to TTL converter which is working
fine in all enviroments?

@Tawhiz20: Where did you buy your ESP201 modules? Do you have still the antenna problem
or any other problems?

I bought my FTDI here : http://www.aliexpress.com/item/FT232RL- ... 15349.html

and my 201 here : http://www.aliexpress.com/item/ESP8266- ... 66842.html

I like them because you have breadboard-friendly acces to all esp8266-pins.
No problems whatsoever with my antenna's (I just have to resolder the Tx/Rx Pins to stick it in my breadboard)

GRTZ