I've prototyped a project that is working well with an external ESP-01 (in a voltage convertor/support module). I have actually got several prototypes runnings with ESP modules on several different AT firmwares
To try to make the project more compact I have tried a Wemos Mega 2560 (with onboard 32Mbit flash) reflashed to the latest AT command set.
The project has some basic web pages and also emails, dweets and IFTTTs, and also syncs its clock from NTP.
Basically it works fine on the prototypes with the external ESP-01 but any significant web or internet client operation is very flaky as it is very hit and miss as to whether it works or timeouts on the Wemos.
I've tried changing timeout values in the library and various baud rates for the
as far as I can see from trace debug the timeouts are being detected within the library.
I'm using the WiFiEsp-Master Library. Good Wifi signal being reported.
Any ideas of other things to try much appreciated.
Anyone got any ideas? (I've ordered a second Wemos board to try to rule out a hardware issue).
I cannot see your code so you must be quite sure it's a hardware issue.
You're also very nebulous about that flaky behavior. Please explain, what exactly you notice and in which situations that happens. How did you rule out the other side of the communication as the source of the problem?
I haven't posted the code as it works fine on a separate ESP-01 module on two prototypes.
The debugging shows the timeouts are within the WifiESP library when running on the
Basically on the Wemos version client read and write functions timeout about 80% of the time but work occasionally.
Since my original post I've run one of the WifiESP library examples that recurringly grabs the arduino.cc text logo via an http request and it performs similarly (timeouts in client read most of the time, but occasionally works OK).
More and more I'm thinking it may be a specific board hardware issue now. I have ordered another Wemos 2560 to test that theory (and when I get a moment I'm also going to use the Wemos 2560 just as an arduino and add the external components)