Chat freely about anything...

User avatar
By Nico van der Dussen
#25162 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
User avatar
By martinayotte
#25186 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.
User avatar
By tytower
#25229 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.
Last edited by tytower on Fri Aug 07, 2015 2:41 am, edited 1 time in total.