7 years, 9 months ago.

ESP8266MOD-12F Wifi module

Hello guy,

I am trying to use ESP8266 and it's my first time to use WIFI module,

I have some question,

How can I translate the AT Command response?,

Can I just use it out-of-box or Do I have to update it's SDK? if No, I have to update it,then How can I update it through my MCU?

I've established connection with it and when I send

"AT+GMR\r\n"

it responds with

"AT+GMR\r\r\nAT+GMR\rb.R Tb.R Tb.R Tb+R+Tb.R Tb.R Tb.R Tb.R Tb.R Tv0(205Do\rnhC\r1S08\rOMGs\n\r.Gs\n\r.Gs\n\r.Gs\n\r.Gs\n\r.Gs\nr4u1:Kn\nkno\n.e1:\nETA\n.MyA\n.MyA\n.MyA\n.MyA\n.MyA :0 :\ns.heydd2 :OR+Tb.R Tb.R Tb.R Tb.R Tb.R Tb""AT+GMR\r\r\nAT+GMR\rb.R Tb.R Tb.R Tb+R+Tb.R Tb.R Tb.R Tb.R Tb.R Tv0(205Do\rnhC\r1S08\rOMGs\n\r.Gs\n\r.Gs\n\r.Gs\n\r.Gs\n\r.Gs\nr4u1:Kn\nkno\n.e1:\nETA\n.MyA\n.MyA\n.MyA\n.MyA\n.MyA :0 :\ns.heydd2 :OR+Tb.R Tb.R Tb.R Tb.R Tb.R Tb"

I understand that it should be version of AT command and SDK version. But it doesn't look like it is any useful data(excuse my confusion) so how can I understand it?

one more question, is there any useful documentation or datasheet for it? i am asking this because all what i can find online is for specific target or for arduino

1 Answer

7 years, 8 months ago.

Hi Mohamed,

Glad to see interest in WiFi on mbed. Unfortunately, several competing firmwares have made information on the device a bit difficult to find.

The easiest way to connect through the ESP8266 would be to use the esp8266-driver provided as a part of mbed OS. Unfortunately, the esp8266-driver relies on the Espressif firmware, which is usually not flashed by default. Instructions on updating the firmware can be found here. The documentation on WiFi and sockets provides more information on using the ESP8266 (and similar network interfaces) in mbed OS.

If you're interested in using the AT command set directly, this was the best documentation on the Espressif firmware that I could find. You would need to search for other firmware's instructions as the command set is not consistent. The source code of the esp8266-driver also provides a fairly readable example of using the AT command set here.

Chris

Accepted Answer

Thank you, finally some useful information that i can work with

posted by Mohamed Saleh 08 Aug 2016