For those of you who have been struggling to get the ESPRESSIF AT command set working with the pesky BUSY…S problem on the little ESP8266 and similar boards, I’ve been testing various versions with them and last week they produced what was called TEST3. The problem did not disappear entirely but it definitely stopped the ESP-01 boards from locking up completely – i.e. the busy message went away pretty quickly. I’m guessing you could poll it. In the AT demo my code worked. This morning they wrote to me to acknowledge that the current release of their software still has the BUSY…S issue but that this Friday they’ll be releasing a new version based on the test code. Espressif do of course also produce the SDK but you must have to be very patient to want to wade through all of that.
Suggest you keep an eye out for it.
Meanwhile the LUA implementation of the socket listener I detailed earlier is still working – I’ve left it sitting there and occasionally check my APP to see if it will talk to the board. It will. I have modified the code to actually turn 2 LEDS on and off – ie on ports GPIO0 and GPIO2 and they absolutely work. Elsewhere, Dave Allan has detailed how the soldering expert can grab back some more I/O pins. Use of the socket code can still lead to eventual memory degradation at this point however. I’m also having problems getting input from the serial line without it being interpreted.. so for example io.read() does not work – the interpreter seems to know nothing about io. Any input to the serial is run through the interpreter. That makes it pretty much impossible to use the code to talk to, say an arduino.