0
\$\begingroup\$

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.

asked Jan 11, 2018 at 12:54
\$\endgroup\$
7
  • \$\begingroup\$ Try google translator and understand the quirks of AT over ESP8266 labdegaragem.com/forum/topics/… with more espressif.com/en/support/download/… \$\endgroup\$ Commented 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\$ Commented Jan 11, 2018 at 13:20
  • \$\begingroup\$ I'm unclear what it is that you are having problems with. \$\endgroup\$ Commented Jan 11, 2018 at 13:28
  • \$\begingroup\$ @Andyaka Edited \$\endgroup\$ Commented Jan 11, 2018 at 14:03
  • \$\begingroup\$ Search for WiFi on that page, lots of info and links \$\endgroup\$ Commented Jan 11, 2018 at 14:12

1 Answer 1

1
\$\begingroup\$

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.

answered Jan 11, 2018 at 18:27
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.