V2A V2B对战

ESP8266 WiFi module
ESP8266 WiFi module
ESP8266 WiFi SoC has gained enormous popularity in the nick of time. Right after
dedicated community
was created despite that first batch of
modules was still in shipping so virtually no one had it in hands. The key to success was its price -
$5 or even less, including shipping fee. That's significantly cheaper than e.g. CC3000 module from Texas Instruments
($13.80 @ 1000 pcs for basic module that requires pretty much BGA soldering or $35 for more friendly breakout board).
ESP-01 / Wi07C V090
ESP-01 is the most common variant, with PCB antenna and 2x4 100mils header.
PCB size is 14.2 x 24.5 mm.
Funny observation: so far (October 2014) on all pictures I was able to read timestamp chip is dated
to 25th week of 2014. Exception
(manufacturer) website where chip from 15th week is pictured. I could
speculate that chip made it to the market very quickly and this is the reason for perfunctory documentation.
VCC: 1.7 (really?) - 3.6V, 3.3V typ. for ESP8266, limited to 2.7-3.6V range by Flash,
up to 240mA consumed,
RST: connected to pin 32, EXT_RSTB, active low, pull up for normal operation,
CH_PD: connected to CHIP_EN pin, pull-up needed,
GPIO0: pull low for updating firmware via UART, it looks like it can be left floating in normal operation,
GPIO2: looks unused by curre modified firmware
allows controlling both GPIO0 and GPIO2 with either AT commands or commands sent via TCP/UDP,
TXD, RXD: UART, according to
they are 5V-tolerant, although prior to this it was not officially stated. Connect RXD to TXD of uC/UART converter and vice versa.
Note: there is also very similar in shape/size and component location module that has
only power and UART connected (otherwise known as Wi07C V080) - you should probably avoid it. Second (and more visible since
it may be difficult to see traces on the photo) difference is lack of status LEDs.
Firmware upgrade
Module I've bought contains W25Q40BV Winbond serial Flash memory in SOIC8 package.
It has 4Mbit capacity, so it matches exactly
size of available firmware files (512kB with bin format, around half of file is filled with 0xFF, ~128kB when packed with zip).
As shown by
firmware it actually consist of two images: "flash.bin" loaded
at address 0 and "rom.bin" at address 0x40000.
Out of the box version I've received was
- older than first version that
can be updated online (so called "cloud update"). Using XTCOM_UTIL (API Test / Flash image download)
I've updated it directly with "v0.9.2.2 AT Firmware.bin". For this version UART speed has to be set to 9600bps,
but than it can be changed with AT command and it stays at set after power down cycle.
AT commands
With standard firmware module acts like a modem (WiFi to UART) with limited AT command set.
Default communication parameters are 115200bps, 8N1 for older version and 9600bps, 8N1 for 0.9.2.2.
Most commands (except for AT/at) are case-sensitive.
Since v 0.92 commands have to be terminated with \r\n (CRLF) - check your terminal, for Termite 1.6 this
is default setting.
Here is communication snip
(commands sent in bold, some newlines may be omitted, comments starting with //):
8 2013,rst cause:4, boot mode:(3,0)
load 0x, len 25020, room 16
chksum 0x55
ho 0 tail 12 room 4
load 0x3ffe8000, len 3280, room 12
chksum 0x1d
load 0x3ffe8cd0, len 6468, room 4
chksum 0xe1
[System Ready, Vendor:www.]
// check FW version
AT+CIOBAUD?
// check baudrate (redundant)
+CIOBAUD:115200
AT+CWMODE=3
// working mode: AP+STA
// second time (after power down) module returns just "no change" string, no OK reply
// list available access points
+CWLAP:(3,"UPC784xxx",-75,"70:54:d2:xx:xx:xx",1)
+CWLAP:(0,"UPC Wi-Free",-74,"72:54:d2:xx:xx:xx",1)
+CWLAP:(1,"dlinkgxxx",-70,"00:21:91:xx:xx:xx",1)
+CWLAP:(0,"UPC Wi-Free",-84,"46:32:c8:xx:xx:xx",1)
+CWLAP:(4,"Livebox-xxxx",-89,"68:1a:b2:xx:xx:xx",1)
+CWLAP:(0,"Orange_FunSpot",-88,"6e:1a:b2:xx:xx:xx",1)
+CWLAP:(4,"UPC117xxx",-86,"44:32:c8:xx:xx:xx",1)
+CWLAP:(3,"xxxxxx",-57,"cc:b2:55:xx:xx:xx",3)
+CWLAP:(3,"xxxxxxxxxxxxx",-90,"d8:5d:4c:xx:xx:xx",4)
// [lots of APs cut]
// this beast lists more APs than my windows utility...
// it looks like APs are sorted by channel and values are:
// (security, "name", signal strength, MAC, channel)
// where for security: 0 = open, 1 = WEP, 3 = WPA, 4 = WPA2
+CWLAP:(4,"linksys",-55,"00:1c:10:xx:xx:xx",11)
+CWLAP:(0,"FON_NETIA_FREE_INTERNET",-92,"00:12:2a:xx:xx:xx",12)
+CWLAP:(1,"xxxxxx",-73,"d8:5d:4c:xx:xx:xx",13)
AT+CWJAP="linksys","xxxxxxxxxxx" // connect (SSID, password)
// IP address is obtained with DHCP
// client host name is empty
// client MAC address does not change after power down cycle
// and seems to be unique (18:FE:34:xx:xx:xx)
// after next power down cycle module connects automatically to last AP
AT+CWJAP=?
no this fun
// LOL; it may brake your parser or state machine
+CWJAP:"linksys"
For a quick TCP client test I've grabbed my very old TCP server/terminal written with
C++ Builder 6: . It listens on TCP 7778 port
and displays received text.
AT+CIPMUX=0
// single connection mode
AT+CIPSTART="TCP","192.168.1.11",7778
+IPD,24:Connection established
AT+CIPSEND=4 // 4 = length of text to send
// > = prompt, "test" = actual text to send
AT+CIPCLOSE
// disconnect
Web thermometer
Source code of my
based on ATmega32 (that's overkill, but I had
unused board from previous version of this thermometer with ISA ATmega8 would be sufficient
after disabling few log lines, FLASH usage is just little over 8kB), ESP8266, SHT11 and MPXA6115A:
built with Win***R-
tested with ESP8266EX v0.9.2.2 AT Firmware. quite possibly would not work with any other version
make sure ***R and ESP8266 UART speeds are matching (use AT+CIOBAUD to preconfigure ESP8266 by
connecting it via UART to PC first)
POSTs every 5 minutes string with all measurements (temperature, relative humidity, pressure) to php script that parses it and stores into database
connects with ESP8266 via hardware UART, 19200 bps
uses software UART (tx direction only) with standard printf for debugging, 19200 bps
Scheme: . Note: not verified thoroughly (drawn after assembling device).
Kicad files: .
: added reset line control to restart module that stuck in "busy p..." state,
: . Changed SoC mode
from AP+STA (AT+CWMODE=3, access point + station) to STA only (AT+CWMODE=1). While mode 3 may seem most universal
it creates possible security issues - enabling it creates by default open network (SSID: ESP_MACBYTES) with no encryption and authorization.
With today's high number of WiFi-enabled devices running open network may also limit reliability and cause current consumption increase -
it would be more sensible to not enabling access point mode until AT+CWSAP command with explicit encryption mode, channel, etc. is issued.
Note: for obvious reasons WiFi network SSID password and few other parameters (HTTP server IP/host, php
script file name) have to be filled up in config.h and also output binary file is not included in archive.文件大小&&&0.28GB
连接速度&&&很快
文件数量&&&198
热度指数&&&185 °C
magnet:?xt=urn:btih:B65DCE6C059BC4C43EB44D9257788&dn=Asian+amateur所有图片及艳舞自慰视频(重新做种)
&&影迷注意:资源提示需要播放许可证的全是虚假资源!
amat-mbv1a.wmv
amat-mbv1b.wmv
amat-mbv1c.wmv
amat-mbv1d.wmv
amat-mbv2a.wmv
amat-mbv2b.wmv
amat-mbv2c.wmv
amat-mbv3a.wmv
amat-mbv3b.wmv
amat-mbv3c.wmv
amat-pvv1a.wmv
amat-pvv1b.wmv
amat-pvv1c.wmv
amat-pvv2a.wmv
amat-pvv3a.wmv
amat-pvv3b.wmv
asam10a001.jpg
asam10a002.jpg
asam10a003.jpg
asam10a004.jpg
asam10a005.jpg
asam10a006.jpg
asam10a007.jpg
asam10a008.jpg
asam10a009.jpg
asam10a010.jpg
asam10a011.jpg
asam10a012.jpg
asam10a013.jpg
asam10a014.jpg
asam10a015.jpg
asam10a016.jpg
asam10a017.jpg
asam10a018.jpg
asam10a019.jpg
asam10a020.jpg
asam10a021.jpg
asam10a022.jpg
asam10a023.jpg
asam10a024.jpg
asam10a025.jpg
asam10a026.jpg
asam10a027.jpg
asam10a028.jpg
asam10a029.jpg
asam10a030.jpg
asam10a031.jpg
asam10a032.jpg
asam10a033.jpg
asam10a034.jpg
asam10a035.jpg
asam10a036.jpg
asam10a037.jpg
asam10a038.jpg
asam10a039.jpg
asam10a040.jpg
asam10a041.jpg
asam10a042.jpg
asam10a043.jpg
asam10a044.jpg
asam10a046.jpg
asam10a047.jpg
asam10a048.jpg
asam10a049.jpg
asam10a050.jpg
asam10a051.jpg
asam10a052.jpg
asam10a053.jpg
asam10a054.jpg
asam10a055.jpg
asam10a056.jpg
asam10a057.jpg
asam10a058.jpg
asam10a059.jpg
asam10a060.jpg
asam10a061.jpg
asam10a062.jpg
asam10a064.jpg
asam10a065.jpg
asam10a066.jpg
asam10a067.jpg
asam10a068.jpg
asam10a069.jpg
asam10a070.jpg
asam11a001.jpg
asam11a002.jpg
asam11a003.jpg
asam11a004.jpg
asam11a005.jpg
asam11a006.jpg
asam11a007.jpg
asam11a008.jpg
asam11a009.jpg
asam11a010.jpg
asam11a012.jpg
asam11a013.jpg
asam11a014.jpg
asam11a015.jpg
asam11a016.jpg
asam11a019.jpg
asam11a020.jpg
asam11a021.jpg
asam11a022.jpg
asam11a023.jpg
asam11a024.jpg
asam11a025.jpg
asam11a026.jpg
asam11a027.jpg
asam11a028.jpg
asam11a029.jpg
asam11a031.jpg
asam11a032.jpg
asam11a034.jpg
asam11a035.jpg
asam11a036.jpg
asam11a037.jpg
asam11a038.jpg
asam11a039.jpg
asam12a001.jpg
asam12a002.jpg
asam12a003.jpg
asam12a004.jpg
asam12a005.jpg
asam12a006.jpg
asam12a007.jpg
asam12a008.jpg
asam12a009.jpg
asam12a010.jpg
asam12a011.jpg
asam12a012.jpg
asam12a013.jpg
asam12a014.jpg
asam12a015.jpg
asam12a016.jpg
asam12a017.jpg
asam12a018.jpg
asam12a019.jpg
asam12a020.jpg
asam12a021.jpg
asam12a022.jpg
asam12a023.jpg
asam12a024.jpg
asam12a025.jpg
asam12a026.jpg
asam12a027.jpg
asam12a028.jpg
asam12a029.jpg
asam12a030.jpg
asam12a031.jpg
asam12a032.jpg
asam12a033.jpg
asam12a034.jpg
asam14a001.jpg
asam14a003.jpg
asam14a004.jpg
asam14a005.jpg
asam14a006.jpg
asam14a007.jpg
asam14a008.jpg
asam14a009.jpg
asam14a010.jpg
asam14a012.jpg
asam14a013.jpg
asam14a014.jpg
asam14a015.jpg
asam14a016.jpg
asam14a017.jpg
asam14a018.jpg
asam14a019.jpg
asam14a020.jpg
asam14a021.jpg
asam14a022.jpg
asam14a023.jpg
asam14a024.jpg
asam14a025.jpg
asam14a026.jpg
asam14a027.jpg
asam14a028.jpg
asam14a030.jpg
asam14a031.jpg
asam14a032.jpg
asam14a033.jpg
asam14a034.jpg
asam14a035.jpg
asam14a037.jpg
asam14a038.jpg
asam14a039.jpg
asam14a040.jpg
asam14a041.jpg
asam14a042.jpg
asam14a043.jpg
asam14a044.jpg
asam14a045.jpg
asam14a046.jpg
asam14a047.jpg
asam14a048.jpg
asam14a049.jpg
asam14a050.jpg
慢慢游磁力磁力搜索()

参考资料

 

随机推荐