Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Vincenzo
#16343 Hi to all
I recently entered into ESP8266 world with some ESP01 modules

I just succeeded into installing toolchain with last Arduinoo Ide (1.6.3)
I downloaded arduino-1.6.1-windows.zip and copied relevants directories into Arduino\hardware directory.
I also tried to use the Adafruit proxy but found that uses old sdk version (0.9.5 insted of 1.0.1_15_04_24)

Toolchain works and compiles Blink example.

Uploaded firmware with esptool Ok (after some tries due to manual GPIO0 reset)

But... no blinks from led :(

I used pin GPIO02 as led with pin number 2 is this correct ?

Any hints ?

Thanks

Vincenzo

(P.S. for administrators: I posted another message , but it apparently lost )
User avatar
By martinayotte
#16350 How did you connect your LED to GPIO2 ?
GPIO2 need to be PullUp at startup.
If you connected LED to ground, it will pull it down, instead, you should reverse it to VCC along with current limiting resistor.
User avatar
By Vincenzo
#16386 Thanks martinayotte it's working now :)
I found the problem was GPIO6 should be put HIGH to vcc.
So:
GPIO0: GND to flash VCC to run
GPIO2: output led
GPIO6: to VCC
After that i tried also an ESP07 module (this time with GPIO15 to GND) and worked too!
Next days I want to try wifi library. but for now I am satisfied :D