- Mon Feb 06, 2017 4:46 am
#62156
jeffas wrote:Like I said, you can have only one sketch on the ESP at one time. That's either the AT interpreter that it came with, or a sketch that you have loaded onto it. If it's running your sketch, it is not running the AT interpreter. If you have already loaded a sketch and want to revert to AT, you have to get the AT firmware and load that back onto the ESP.
Ahh, that will explain why (i have two ESP8266) one isn't responding to AT commands anymore... i (accidently) mixed them up so at one momement couldn't tell which i uploaded and which still is original.
but anyway, what i've shared here is the response of the one that still is responding to AT commands.
I need to find the Ai-Thinker firmware to fix my other ESP module i guess. Thanks!
jeffas wrote:You're also likely to have a problem trying to drive SoftwareSerial at 115200. I have seen other posts that say that is too fast for SoftwareSerial. I had much the same problem. I had an ESP-05 and changed the speed to 9600. That worked briefly, but now I can't communicate with it at all (viewtopic.php?f=160&t=13082). No-one has replied to that, so I don't know any way to reliably change speed on these.
I think i have similar experience, entering AT commands
manually in the serial monitor (at 115200) returns good response. If you look at the response i am getting to the AT commands from my Arduino sketch, there is some garbage, and it doesn't even seem to respond to some at 115200. I will re-try 9600 again, but i remember not getting any response either.
One thing i want to try is constructing the json url with a variable and then make the call using SoftwareSerial... assuming that is possible? I don't really care for the response when calling the URL will be successfull
so i want to try an see.
So my question is, how would i make that call to
http://1.2.3.4:1234?some=var using SoftwareSerial?