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
  • 1
    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
  • 1
    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
  • 1
    I want to change the board package to SDK 3 as you suggested. My ESP is a nodeMCU made by Keyes. – Brandon Pillay Jun 17 '19 at 11:23
  • 1
    I spoke too soon it stopped working about 15 minutes after my last post. I have the same issue as #5736. The webserver is only reachable when I reconnect the module. How do I revert back to v2.4.2? Is he talking about the SDK? – Brandon Pillay Jun 18 '19 at 19:36

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.