Yes and pin 3 is D0 (rst) in my arduino nano, correct? It doesn't work...also if I try to disconnect cable from pin3 and doesn't disconnect resistors from esp rst ...
It works only if I disconnect pin and resistors too...
cdj wrote: Yes and pin 3 is D0 (rst) in my arduino nano, correct? It doesn't work...also if I try to disconnect cable from pin3 and doesn't disconnect resistors from esp rst ...
It works only if I disconnect pin and resistors too...
Yes, and you can connect the ESP8266's reset pin to the arduino reset pin without problems - then bot will be reset by pressing the arduino's RST pushbutton (downside: pushbottun can't be triggered in software!).
For the sketch to be able to reset the esp8266, you need to connect the modules RST pin to some arduino pin that you can pull low for a few ms with a command in your sketch - for example D3 as easyIoT wrote. Then the easyIoT library will take care of the reset thing.
BTW, how exactly does this work? How does the sketch determine if the esp8266 is unresponsive, and how long does it need to check this and reset the module?