best way to connect ESP8266 with mbed?

03 Apr 2017

hello Geeks!

1. is it use of AT commands? That is simple but it seems waste of esp resources, we can't store web pages (html/css/js etc) in esp, everything will be stored in mbed chip, is that correct? 2. is it use of LUA scripts? Sending lua scripts to esp from mbed? not sure if that makes sense.

Any other possible way? Like we can program it directly from Arduino ide, not possible to do same from mbed ide?

Thank you.

04 Apr 2017

Hello,

You cannot flash the board from the mbed IDE. Please have a look at this link for getting started developing with the online IDE - https://docs.mbed.com/docs/mbed-os-handbook/en/latest/getting_started/blinky_compiler/.

As for communicating with the esp8266... We have an example for doing a simple HTTP request over WiFi - https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-wifi/. This example makes use of the esp8266 driver - https://github.com/ARMmbed/esp8266-driver. The driver uses the esp8266 espressif AT command set. The pins for connecting the ESP8266 to your mbed board are D1 and D0 in this example, so you'll need to wire your board that way to run this example.

Cheers, Sarah

21 Dec 2017

Hello team,

I need to send data from mbed lpc1768 to firebase.I am using ESP8266 for that.I tried to connect it,but it is not working.it is not getting connected with my mobile hotspot.Can someone please help on this?

Thanks in Advance