0

I have an esp8266, I have an led connected to one of the GPIO pins, I want to be able to control the state(high or low) as well as request the current state of the led from my computer which is connected(by LAN) to the same Access point as the ESP8266.

How can I communicate with my ESP8266 from my computer and if possible from my Android device when connected to the same AP as the ESP8266?

My router(main AP) is a Wireless ADSL2+ Modem Router DG834Gv5

  • start a TCP server on the esp8266. a basic WiFiServer or a web server with ESP8266WebServer library. see the examples in IDE Examples menu – Juraj Jun 17 '19 at 5:28
  • Thanks Juraj, I used the HelloServer example but it only works some of the time. Most of the time I get a "Can't be reached" error from my Windows 8.1 Chrome browser. How can I fix this? – Brandon Pillay Jun 17 '19 at 6:53
  • there are several different problems with esp8266 which could cause this. do you have the latest esp8266 boards package? the "Generic esp8266" board has SDK selection in Tools menu. try SDK 3 – Juraj Jun 17 '19 at 6:59
  • Is a Linux VM required to do this or can I do it from my Windows 8.1 machine? – Brandon Pillay Jun 17 '19 at 9:36
  • Yes, do you know where I can find instructions or documentation for using the Espressif Flash Tool for the ESP8266EX? – Brandon Pillay Jun 17 '19 at 10:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.