Difference between revisions of "ESP8266"

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search
(First experiments with the ESP8266)
 
Line 13: Line 13:
  
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
===== resulting conversation with the module =====
+
'''resulting conversation with the module'''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
  <pre>
 
  <pre>

Revision as of 20:32, 18 January 2015

ESP8266

Getting the hardware to run

This page is about athe adventure of oredering a set of 5 ESP-03 modules housing the increasingly popular ESP8266 module. and at $3 a piece, free shipping and no customs involved.... What could go wrong no?

The modules came nicely packed in a folded piece of paperbubble wrapped and individually packed in anti-static bags.

I used the following discussion to get my module set up.
http://www.esp8266.com/viewtopic.php?f=13&t=475
i actually went straight for the cloud of resistors recommended by this post.


resulting conversation with the module

AT+RST


OK
[Vendor:www.ai-thinker.com Version:0.9.2.4]

ready
AT+CWLAP


ERROR
AT+CWLAP


ERROR
AT+CWLAP

ERROR
AT+CWJAP="",""

ERROR
AT+CWMODE=3

OK
AT+CWLAP

ERROR
AT+CWJAP="",""

FAIL
AT+CWJAP?
enter error
AT+CWJAP?


ERROR
AT+RST


OK

[Vendor:www.ai-thinker.com Version:0.9.2.4]

ready
AT+CWJAP?


ERROR
AT+CWMODE?

+CWMODE:3

OK
AT+CWLAP

+CWLAP:(4,"Nova4G-73911",-73,"d0:2d:b3:19:fb:af",1)
+CWLAP:(3,"Viool19",-80,"a8:40:41:13:61:dc",1)
+CWLAP:(3,"KK",-77,"24:a2:e1:ef:4a:38",6)
+CWLAP:(3,"KK",-87,"7c:d1:c3:cc:4d:d4",6)
+CWLAP:(3,"KK",-90,"40:3c:fc:07:03:e1",6)
+CWLAP:(4,"Hringdu_14263",-90,"80:1f:02:9a:32:06",11)
+CWLAP:(1,"vodafone_WEP_6E3F",-86,"00:0c:c3:59:6e:31",13)

OK
AT+CWJAP="Viool19","***********"


OK
AT+CIFSR

192.168.4.1
10.130.1.232

OK
AT+CIPMUX=1


OK
AT+CIPSTART=4,"TCP","google.com",80


OK
Linked
AT+CIPSEND=4,18

> GET / HTTP/1.0


SEND OK

+IPD,4,1090:HTTP/1.0 302 Found
Location: http://www.google.is/?gws_rd=cr&ei=Jw28VO-6HMnFPbvvgLAD
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Set-Cookie: PREF=ID=3c9b3f7e6032da0a:FF=0:TM=1421610279:LM=1421610279:S=PWLUBPguKyU0KBAB; expires=Tue, 17-Jan-2017 19:44:39 GMT; path=/; domain=.google.com
Set-Cookie: NID=67=Pl7NVXshFidDEzc1OQgS7ku7urFk3BjtDEITZ_gymrxm3biGiHYb0t2sgTEeHTzKHHHa-oujth2et1XJ1MfabrIZABEWwzMeVKBgcLALCHlqhXdgwNm4UV3LZtao3B6i; expires=Mon, 20-Jul-2015 19:44:39 GMT; path=/; domain=.google.com; HttpOnly
P3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info."
Date: Sun, 18 Jan 2015 19:44:39 GMT
Server: gws
Content-Length: 256
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Alternate-Protocol: 80:quic,p=0.02

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.is/?gws_rd=cr&ei=Jw28VO-6HMnFPbvvgLAD">here</A>.
</BODY></HTML>

OK

OK
Unlink