ESP8266 unreliable?
Posted: Fri Jan 29, 2016 3:58 pm
Hi, I will try to make this short and sweet, for the past 3/4 weeks I have been playing quite a lot with the esp8266 module. And tonight, quite miserable I have came to the conclusion that the ESP8266 is totally unreliable. But I have never seen anyone complain about that, so the problem must be within me.
I have setup a website using php, where i can change the data the device will retrieve using a certain link. (I can elaborate more on this if anyone is interested)
I have programmed the Arduino that it communicates with soft serial to the esp8266 in AT commands, and that works. For a while at least. If I leave the whole circuit for a time(could be anything from a few minutes to almost a day) somehow it will disconnect and the Arduino needs a reset. (I have spend a very long time in making the most robust code possible).
I have programmed the esp8266 directly using the Arduino IDE, same issue. After a while(be it minutes or hours) it will just disconnect and this time it will need to be re flashed to work again.
I haven't tried NodeMCU yet, at this stage I am just at that level where it is hard to see the point.
Now after investing a LOAD of time into this I am still quite sure that there exist a solution which is reliable and works. So if anyone can help me by pointing me into the direction I need to go, it would be so helpful.
I have setup a website using php, where i can change the data the device will retrieve using a certain link. (I can elaborate more on this if anyone is interested)
I have programmed the Arduino that it communicates with soft serial to the esp8266 in AT commands, and that works. For a while at least. If I leave the whole circuit for a time(could be anything from a few minutes to almost a day) somehow it will disconnect and the Arduino needs a reset. (I have spend a very long time in making the most robust code possible).
I have programmed the esp8266 directly using the Arduino IDE, same issue. After a while(be it minutes or hours) it will just disconnect and this time it will need to be re flashed to work again.
I haven't tried NodeMCU yet, at this stage I am just at that level where it is hard to see the point.
Now after investing a LOAD of time into this I am still quite sure that there exist a solution which is reliable and works. So if anyone can help me by pointing me into the direction I need to go, it would be so helpful.