-->
Page 2 of 3

Re: AT commands via SoftwareSerial?

PostPosted: Thu Jul 07, 2016 9:33 am
by nikko4913
That is what i'm thinking..
But, how would the arduino code Kevin Darrah is using, work then? It uses SoftwareSerial, and is sending AT commands, and I want to do something similar.

Code: http://www.kevindarrah.com/micro/ESP_pa ... _part3.zip

Thanks :))

Re: AT commands via SoftwareSerial?

PostPosted: Thu Jul 07, 2016 10:16 am
by martinayotte
That scenario is about using an ESP attached on an Arduino UNO.

There is no need at all to have ESP talking to itself using AT commands.
Simply use the ESP framework API. There are plenty of examples provided, such WiFiClient or WebServer.

https://github.com/esp8266/Arduino

Re: AT commands via SoftwareSerial?

PostPosted: Thu Jul 07, 2016 10:24 am
by nikko4913
Okay, i see.

I will do that then, but what you're saying is that there is no way to get AT commands to work after you've uploaded arduino sketches?

Thank you :)

Re: AT commands via SoftwareSerial?

PostPosted: Thu Jul 07, 2016 10:47 am
by martinayotte
Exactly !
After uploading Arduino sketch, the AT Firmware is gone/erased.
If you wish to get it back, you need to upload this AT firmware again, but then your Arduino sketch will be gone/erased. You can not have both at the same time.