So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By lastur
#76296 Hello, I bought a esp8266 esp-01s with a relay module.
I try to program it from the Arduino IDE with a USB to ESP8266 module, using as board "generic ESP8266 module"
(I program in this way nodemcu without problems)

a) USB-to-ESP8266-Serial Developent Board like this:
https://www.ebay.es/itm/USB-to-ESP8266- ... 2749.l2649

b) esp8266 esp-01s:
https://www.ebay.es/itm/5V-Wifi-Relay-M ... 2749.l2649

An error occurred while uploading the sketch
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed

I have seen the solution on this page: you have to solder a button to put gpio-0 to GND. So it works perfectly!
http://www.instructables.com/id/USB-to- ... ification/
"This first generation adapter doesn't have any mechanism to put the ESP-01 into Serial Programming mode which require pulling GPIO-0 pin LOW"

I hope it serves you.