ESP8266 serial WIFI wireless module

From Federal Burro of Information
Revision as of 02:48, 22 October 2015 by David (talk | contribs)
Jump to navigationJump to search

image cheat

overview

picked up 3 3.3 v versions of these. It's been fun trying to get them to work.

1. the 3.3v fdti seems to be 5v

2. the firmware seems bust:

<Crazy garbage characters>
Ai-Thinker Technology Co. Ltd.

invalid

then I enter:

AT+RST

and get

ERROR

going to try and find an updated firmware and flash it.

---

time passes, I enter , stage left.

I found the firware on a dodgey looking site. http://arduino-er.blogspot.ca/2015/05/flash-esp8266-firmware-using-esptoolpy.html

python esptool.py -p /dev/ttyUSB0 write_flash 0x000000 "AI-v0.9.5.0 AT Firmware.bin"

Had to make sure that ch_pd was to ground and gpio_0 was high ( vcc)

setserial -g /dev/ttyUSB0
/dev/ttyUSB0, UART: unknown, Port: 0x0000, IRQ: 0, Flags: low_latency

screen /dev/ttyUSB0

and now I get much better results:

AT

OK
AT+RST

OK

Ok, so now I've done my flasshing , how to I get it to operate?

28800 baud , connect ch_pd to vcc ( 3.3v )

then:

<�—��þ�‚†‡�‡�‡Š’ú��–ŽŽ�ð��”ž����8‚ƒ:Žþj¤ÔHÈU–‹ÖK—ºÝݹ
¥µ¢¡¥¹­•É¹�½µ5Rj¤4Ej
’U–®®ZËK‚rÊrªB�ÅJj¤4ê«�W‹«��$('QY,H¦MH™˜14, 21:50:58
ready
ATAT+RSTATAT

ERROR
AT+RST

OK
c_ÇÏR[¶fJ[:fJSjîóÂOÂGÇWËj¤ÔHÈU–‹ÖK—ºÝݹ
¥µ¢¡¥¹­•É¹�½µ5Rj¤4Ej
’U–®®ZËK‚rÊrªB�ÅJj¤4ê«�W‹«��$('QY,H¦MH™˜14, 21:50:58
ready
AT

OK
AT

OK
AT+CWLAP

ERROR
AT+CWMODE

ERROR
AT+CWMODE=?
+CWMODE:(1-3)

OK
AT+CWMODE=1

OK
AT+CWLAP
+CWLAP:(3,"sashed_pirate",-75,"dc:fb:02:08:41:10",1)
+CWLAP:(4,"tuxedo",-47,"00:0e:8e:3f:ff:7a",1)
+CWLAP:(4,"ShyWhale",-87,"0c:47:3d:c6:ff:08",1)
+CWLAP:(0,"ShyWhale-guest",-89,"0c:47:3d:c6:ff:0c",1)
+CWLAP:(4,"Rogers06555",-87,"0c:47:3d:2c:32:68",1)
+CWLAP:(3,"dobber_w",-71,"00:23:69:98:06:8d",6)
+CWLAP:(3,"BELL500",-71,"44:e9:dd:46:e9:2a",6)
+CWLAP:(3,"TheGinge",-82,"6c:70:9f:ed:df:5c",6)
+CWLAP:(3,"TheBeaver",-82,"7e:70:9f:ed:df:5c",6)
+CWLAP:(3,"TheGinge",-82,"28:cf:e9:85:e5:54",6)
+CWLAP:(3,"TheBeaver",-83,"2a:cf:e9:85:e5:54",6)
+CWLAP:(3,"gopher",-48,"00:16:b6:cc:4a:51",11)
+CWLAP:(3,"1WI2U9WC",-82,"10:0d:7f:4a:10:db",11)

OK
AT+CWJAP="gopher","XXX"

OK
AT+CWJAP?
+CWJAP:"gopher"

OK
AT+CIPSTATUS
STATUS:2

OK
AT+CWJAP?
+CWJAP:"gopher"

OK
AT+CIFSR=?

OK
AT+CIFSR
+CIFSR:STAIP,"192.168.1.119"
+CIFSR:STAMAC,"18:fe:34:f3:02:92"

OK

Links

google searches of note:

+site:hackaday.com esp firmware