-->
Page 1 of 5

ESP8266-12 not starting

PostPosted: Thu Aug 06, 2015 3:06 am
by Nico van der Dussen
Hi,

I have a ESP8266 - 12 board wired according to https://github.com/esp8266/Arduino/blob ... serial.png

with a CP2012 unit.

I running Arduino 1.6.5r2 on Windows.

When I load the program to the unit, it works perfectly.

When I disconnect th CP2012, it keeps running.

But when I power down and power up again, it does not start again.

I have to load the program again to get the unit working.

What am I doing wrong? :mrgreen:

Thanks
Nico

Re: ESP8266-12 not starting

PostPosted: Thu Aug 06, 2015 5:00 am
by tytower
How are you powering the ESP when disconnected from the CP2012?( Its supposed to be only good for 100mA anyway at 3.3v.) The chip draws 250mA plus when running

Re: ESP8266-12 not starting

PostPosted: Thu Aug 06, 2015 8:54 am
by martinayotte
It is probably because you leave the GPIO0 connected to DTR line of CP2012, which been pulled LOW if the CP2012 is not powered. Make sure both GPIO0 and GPIO2 are pulled to HIGH.

Re: ESP8266-12 not starting

PostPosted: Thu Aug 06, 2015 4:40 pm
by tytower
CP2012 DTR is active LOW when powered from USB .That holds GPIO0 low while the cable is connected Your circuit pulls GPIO0 high when it is not powered by CP2012 . So that part is surely correct.
Your circuit does not use GPIO2 and that is quite correct and can be safely used as is, unconnected or " floating ".
The previous poster is simply intent on attacking me and is not attempting to help. Please ignore that.


I am more interested in your power supply after you disconnect the USB. Can you tell me about that please.