-->
Page 1 of 1

ESP8266-01 + WiFiWebServer Arduino example sketch

PostPosted: Wed Feb 01, 2017 12:18 am
by perigalacticon
Hi,

I am trying to learn to use an ESP8266-01 module. I programmed it using the Arduino IDE with the blink sketch and that worked. Now I am trying the WiFiWebServer example sketch and I am getting stuck. On the Serial Monitor I see:

Code: Select allConnecting to WOW!3630
.........
WiFi connected
Server started
192.168.0.7

Then I type in my browser (Chrome): "http://gpio/1" and the browser shows:

Code: Select allThis site can't be reached
gpio's server DNS address could not be found.
Search Google for gpio
ERR_NAME_NOT_RESOLVED

I get the same error if I try from my phone.

If I search for WiFi networks I see one named "ESP_1EB828".

i need to be connected to my router and not to this ESP network correct?

It doesn't work if I do that anyway, but I get a different response on the Serial Monitor:

Code: Select allnew client
GET / HTTP/1.1
invalid request

But there is no change on the GPIO voltage. Any help is appreciated! Thanks!

Re: ESP8266-01 + WiFiWebServer Arduino example sketch

PostPosted: Wed Feb 01, 2017 2:12 am
by eduperez
Please, post here the code you are running, or at least a clear link to it; it is a bit difficult to help you if we cannot see what code you are executing.

Re: ESP8266-01 + WiFiWebServer Arduino example sketch

PostPosted: Wed Feb 01, 2017 2:27 am
by perigalacticon
I figured it out, I had to add the IP Address, thanks anyway.