Receive html from web page
Posted: Mon Jan 19, 2015 11:50 am
Hi,
I'm using the ESP8266 wireless transceiver module with an Arduino UNO. The module is working as expected (I've tested my configuration with several sample projects I found on the net).
For ease of testing I've set things up so that I can communicate directly with the ESP8266 via the Serial Monitor window. Here are the commands I use to get things going:
At this point I know I have to perform an
I get back a "SEND OK" but I never get the expected html data. Does anyone see what I am doing wrong here?
Thank you in advance!
I'm using the ESP8266 wireless transceiver module with an Arduino UNO. The module is working as expected (I've tested my configuration with several sample projects I found on the net).
For ease of testing I've set things up so that I can communicate directly with the ESP8266 via the Serial Monitor window. Here are the commands I use to get things going:
Code: Select all
// What firmware version is installed?
AT+GMR
0018000902-AI03
// Reset the device
AT+RST
OK
L(CÇäÿZNÿbc@þD@JSÀàà
[Vendor:www.ai-thinker.com Version:0.9.2.4]
ready
// Set the data transmission mode (1 is "data mode")
AT+CWMODE=1
no change
// Connect the ESP8266 to my access point
AT+CWJAP="XXXX","XXXX"
OK
// What is the ESP8266's ip address?
AT+CIFSR
192.168.161.27
// Start a TCP connection with google
AT+CIPSTART="TCP","www.google.com",80
OK
Linked
At this point I know I have to perform an
Code: Select all
where X is the length, in bytes, of the message. I thought the message would look like this:AT+CIPSEND=X
Code: Select all
AT+CIPSEND=37
> GET / HTTP/1.1\r\NHnost: google.com
SEND OK
I get back a "SEND OK" but I never get the expected html data. Does anyone see what I am doing wrong here?
Thank you in advance!