-->
Page 1 of 2

Compiling but not running

PostPosted: Sun May 03, 2015 7:25 am
by Vincenzo
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 )

Re: Compiling but not running

PostPosted: Sun May 03, 2015 9:03 am
by martinayotte
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.

Re: Compiling but not running

PostPosted: Sun May 03, 2015 2:05 pm
by Vincenzo
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

Re: Compiling but not running

PostPosted: Sun May 03, 2015 2:29 pm
by martinayotte
GPIO6 ?
What kind of module do you have ?