Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By vishruit
#22327 Can someone please upload a bare minimum sketch for ESP8266 - 01?

Actually I flashed WifiTelnetToSerial file onto the module. It got uploaded properly without any errors. But it didn't work in the normal mode (GPIO0 -- floating). So I want a sketch which will allow me to go back to the factory settings within the Arduino IDE itself. (Reflashing via IDE)

Please help me and I am sure others too would require this.
User avatar
By martinayotte
#23138 I would say that "WifiTelnetToSerial" isn't a bare minimum to try as a first upload.
Maybe you should start with a simple LED Blinker sketch to at least validate your setup.
Also, I suggest to add PullUps on the GPIO2 and GPIO0 for proper boot sequence.
User avatar
By kolban
#23140 I'm still very much new to the ESP8266s ... is this thinking correct:

--- thinking start ---
When we receive ESP8266 devices in the mail, they already contain an application pre-installed in them. That application is the "AT" command processor which listens for AT commands via UART and processes them. When we build new applications and deploy them to the ESP8266, we are replacing the original "AT command processor" application with our own application.

The concept of a "factory reset" would then be the same notion as loading the original "AT" command processor application into the device?
--- thinking end ---

If this is the case, then it would seem to me that downloading the Espressif SDK which I *think* has the binaries of the AT command processor included is what would be needed. Is that not the case?