I have an ESP8266 hooked up to an MCU on a PCB.
I would like to send commands (strings) from my Android phone over to the ESP8266 so it can, in turn, transfer them to the MCU so it can perform various tasks.
How can this be done? I am looking into creating an app for the Android device using MIT's app inventor.
-
\$\begingroup\$ Try google translator and understand the quirks of AT over ESP8266 labdegaragem.com/forum/topics/… with more espressif.com/en/support/download/… \$\endgroup\$Tony Stewart EE since 1975– Tony Stewart EE since 19752018年01月11日 13:14:18 +00:00Commented Jan 11, 2018 at 13:14
-
\$\begingroup\$ @TonyStewart.EEsince'75 Where did you find info about communication over WIFI with the ESP8266 in there? I have it setup communicating with the MCU over UART and AT commands work as should. \$\endgroup\$user34920– user349202018年01月11日 13:20:15 +00:00Commented Jan 11, 2018 at 13:20
-
\$\begingroup\$ I'm unclear what it is that you are having problems with. \$\endgroup\$Andy aka– Andy aka2018年01月11日 13:28:46 +00:00Commented Jan 11, 2018 at 13:28
-
\$\begingroup\$ @Andyaka Edited \$\endgroup\$user34920– user349202018年01月11日 14:03:05 +00:00Commented Jan 11, 2018 at 14:03
-
\$\begingroup\$ Search for WiFi on that page, lots of info and links \$\endgroup\$Tony Stewart EE since 1975– Tony Stewart EE since 19752018年01月11日 14:12:21 +00:00Commented Jan 11, 2018 at 14:12
1 Answer 1
I just know one methodology. Using the wifi module, MCU should connect to the home network. TCP/IP Server has to be coded in MCU and it should listen for client connections. Android App will be TCP/IP Client which connects to this server. After connecting, the app or client can send TCP/IP data over air. MCU code will read this data and do necessary things like switching on LEDs etc.