2 yizhilaolihua yizhilaolihua 于 2016.03.07 14:17 提问

esp8266 wifi 连接问题

版本号:
OK
AT+GMR

AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04

连线方法:电源与通讯口正常连接,另外CH_PD脚接到3.3V上面。
按照教程执行:
AT+CWMODE=3

OK
AT+RST

OK

ets Jan 8 2013,rst cause:4, boot mode3,6)

wdt reset
load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

sd巸r$?
Ai-Thinker Technology Co.,Ltd.

ready
WIFI DISCONNECT
AT+CWJAP="Xiaomi_44A9_5G","yuantu123"

+CWJAP:1

FAIL

注:连接失败!!!!!!

注:发送AT+CWLAP返回:

AT+CWLAP

+CWLAP4,"enjoyorB#7F-1",-89,"bc:d1:77:40:97:7c",1,-7)
+CWLAP3,"WTF",-85,"f0:b4:29:35:ae:d2",1,-14)
+CWLAP3,"YK_WIFI",-91,"70:3a:d8:07:a3:6e",3,-14)
+CWLAP3,"vYou_DDPai_M6",-90,"20:f4:1b:41:7e:01",4,0)
+CWLAP4,"TP-LINK_45AD36",-87,"08:57:00:45:ad:36",6,-14)
+CWLAP4,"TP-LINK_6EEDA4",-90,"14:75:90:6e:ed:a4",6,-17)
+CWLAP4,"TP-LINK_038C",-85,"fc:d7:33:9e:03:8c",6,5)
+CWLAP4,"MERCURY_D5BB28",-87,"c8:e7:d8:d5:bb:28",6,-19)
+CWLAP4,"YT-ZhanTing",-73,"f0:eb:d0:9f:ca:88",8,-46)
+CWLAP:(3,"mianfei",-86,"ac:d1:b8:8f:d6:a5",10,-27)
+CWLAP:(4,"YT-boss",-89,"c0:61:18:e8:e5:7c",11,0)
+CWLAP:(4,"UBLISH_WIFI",-73,"ec:26:ca:4a:20:32",11,-11)
+CWLAP:(4,"summer-X",-95,"00:36:76:4c:85:1d",11,-34)
+CWLAP:(3,"360鍏嶈垂WiFi-JY",-88,"3e:3e:84:53:88:9a",11,-29)

OK

电脑上显示的wifi信号如图: 图片说明

想连接xiaomi44a95g的信号,不知道为什么一直搜不到

为什么搜不到xiaomi44a95g的wifi信号问题,另外为什么每次返回的wifi信号都不一致,求高手指教

AT+CWLAP

busy p...
+CWLAP:(4,"TP-LINK_YiLiaoYJ",-89,"28:2c:b2:aa:b4:9c",1,-2)
+CWLAP:(3,"WTF",-84,"f0:b4:29:35:ae:d2",1,-14)
+CWLAP:(4,"YJH",-91,"6c:59:40:d1:13:18",2,-17)
+CWLAP:(4,"TP-LINK_038C",-86,"fc:d7:33:9e:03:8c",6,5)
+CWLAP:(4,"MERCURY_D5BB28",-87,"c8:e7:d8:d5:bb:28",6,-21)
+CWLAP:(4,"tp_link007",-85,"50:bd:5f:04:44:38",6,-9)
+CWLAP:(3,"okok",-88,"ec:55:f9:55:52:8a",6,-27)

OK
AT+CWLAP

+CWLAP:(4,"TP-LINK_YiLiaoYJ",-92,"28:2c:b2:aa:b4:9c",1,-2)
+CWLAP:(4,"enjoyorB#7F-1",-93,"bc:d1:77:40:97:7c",1,-7)
+CWLAP:(4,"babaili",-94,"00:36:76:57:81:9c",1,-21)
+CWLAP:(4,"YJH",-89,"6c:59:40:d1:13:18",2,-17)
+CWLAP:(0,"TP-LINK",-95,"00:19:e0:ac:bb:81",6,-37)
+CWLAP:(3,"okok",-88,"ec:55:f9:55:52:8a",6,-27)
+CWLAP:(4,"tp_link007",-84,"50:bd:5f:04:44:38",6,-9)
+CWLAP:(4,"MERCURY_D5BB28",-90,"c8:e7:d8:d5:bb:28",6,-19)
+CWLAP:(4,"YT-ZhanTing",-71,"f0:eb:d0:9f:ca:88",8,-46)
+CWLAP:(3,"mianfei",-85,"ac:d1:b8:8f:d6:a5",10,-26)
+CWLAP:(3,"360鍏嶈垂WiFi-JY",-87,"3e:3e:84:53:88:9a",11,-29)
+CWLAP:(4,"YT-boss",-87,"c0:61:18:e8:e5:7c",11,0)
+CWLAP:(4,"UBLISH_WIFI",-75,"ec:26:ca:4a:20:32",11,-11)

OK
AT+CWLAP

+CWLAP:(4,"babaili",-91,"00:36:76:57:81:9c",1,-21)
+CWLAP:(4,"TP-LINK_YiLiaoYJ",-89,"28:2c:b2:aa:b4:9c",1,0)
+CWLAP:(3,"enjoyorB#4F-1",-90,"50:bd:5f:ea:96:f7",1,-22)
+CWLAP:(3,"WTF",-84,"f0:b4:29:35:ae:d2",1,-14)
+CWLAP:(4,"enjoyorB#7F-1",-88,"bc:d1:77:40:97:7c",1,-9)
+CWLAP:(4,"YJH",-89,"6c:59:40:d1:13:18",2,-17)
+CWLAP:(3,"YK_WIFI",-92,"70:3a:d8:07:a3:6e",3,-14)
+CWLAP:(4,"TP-LINK_038C",-88,"fc:d7:33:9e:03:8c",6,5)
+CWLAP:(4,"tp_link007",-82,"50:bd:5f:04:44:38",6,-9)
+CWLAP:(4,"YT-HuiYiShi",-86,"d8:15:0d:db:75:a2",6,-7)
+CWLAP:(4,"YT-ZhanTing",-71,"f0:eb:d0:9f:ca:88",8,-46)
+CWLAP:(4,"E24568",-88,"a4:56:02:e2:45:68",11,-11)
+CWLAP:(4,"YT-boss",-85,"c0:61:18:e8:e5:7c",11,0)
+CWLAP:(4,"UBLISH_WIFI",-76,"ec:26:ca:4a:20:32",11,-11)
+CWLAP:(2,"IIIIIIIIII",-90,"00:18:4d:4c:bf:9a",11,-21)

OK
AT+CWLAP

+CWLAP:(4,"TP-LINK_YiLiaoYJ",-92,"28:2c:b2:aa:b4:9c",1,-2)
+CWLAP:(3,"enjoyorB#4F-1",-90,"50:bd:5f:ea:96:f7",1,-22)
+CWLAP:(3,"WTF",-83,"f0:b4:29:35:ae:d2",1,-14)
+CWLAP:(4,"YJH",-89,"6c:59:40:d1:13:18",2,-17)
+CWLAP:(3,"YK_WIFI",-92,"70:3a:d8:07:a3:6e",3,-14)
+CWLAP:(3,"okok",-90,"ec:55:f9:55:52:8a",6,-27)
+CWLAP:(4,"TP-LINK_45AD36",-85,"08:57:00:45:ad:36",6,-14)
+CWLAP:(4,"MERCURY_D5BB28",-88,"c8:e7:d8:d5:bb:28",6,-19)
+CWLAP:(4,"YT-ZhanTing",-70,"f0:eb:d0:9f:ca:88",8,-44)
+CWLAP:(4,"UBLISH_WIFI",-75,"ec:26:ca:4a:20:32",11,-11)
+CWLAP:(2,"IIIIIIIIII",-88,"00:18:4d:4c:bf:9a",11,-21)
+CWLAP:(4,"YT-boss",-87,"c0:61:18:e8:e5:7c",11,-2)

OK
AT+CWLAP

+CWLAP:(4,"TP-LINK_YiLiaoYJ",-92,"28:2c:b2:aa:b4:9c",1,0)
+CWLAP:(3,"enjoyorB#4F-1",-90,"50:bd:5f:ea:96:f7",1,-22)
+CWLAP:(3,"WTF",-84,"f0:b4:29:35:ae:d2",1,-14)
+CWLAP:(3,"wuliang",-93,"8c:be:be:12:0f:5d",1,-37)
+CWLAP:(4,"WIFI-hello",-96,"00:87:36:3f:0e:55",1,-34)
+CWLAP:(4,"YJH",-91,"6c:59:40:d1:13:18",2,-17)
+CWLAP:(3,"YK_WIFI",-95,"70:3a:d8:07:a3:6e",3,-14)
+CWLAP:(4,"enjoyorB#7F-3",-92,"6c:e8:73:fd:0e:5f",4,-16)
+CWLAP:(3,"vYou_DDPai_M6",-93,"20:f4:1b:41:7e:01",4,0)
+CWLAP:(4,"tp_link007",-86,"50:bd:5f:04:44:38",6,-9)
+CWLAP:(4,"MERCURY_D5BB28",-85,"c8:e7:d8:d5:bb:28",6,-19)
+CWLAP:(4,"TP-LINK_45AD36",-88,"08:57:00:45:ad:36",6,-12)
+CWLAP:(3,"okok",-89,"ec:55:f9:55:52:8a",6,-27)
+CWLAP:(4,"BioSan",-92,"cc:5d:4e:ed:84:38",6,-31)
+CWLAP:(4,"YT-ZhanTing",-73,"f0:eb:d0:9f:ca:88",8,-44)
+CWLAP:(4,"YT-boss",-87,"c0:61:18:e8:e5:7c",11,-2)
+CWLAP:(4,"360WiFi-D763",-88,"00:36:76:2e:d7:63",11,-24)
+CWLAP:(3,"360鍏嶈垂WiFi-JY",-89,"3e:3e:84:53:88:9a",11,-29)

OK

AT+CWLAP

+CWLAP:(4,"TP-LINK_YiLiaoYJ",-92,"28:2c:b2:aa:b4:9c",1,-2)
+CWLAP:(3,"enjoyorB#4F-1",-96,"50:bd:5f:ea:96:f7",1,-22)
+CWLAP:(4,"YJH",-91,"6c:59:40:d1:13:18",2,-17)
+CWLAP:(3,"YK_WIFI",-91,"70:3a:d8:07:a3:6e",3,-14)
+CWLAP:(4,"wenhua",-82,"ec:26:ca:97:4e:aa",6,-12)
+CWLAP:(4,"tp_link007",-78,"50:bd:5f:04:44:38",6,-9)
+CWLAP:(4,"MERCURY_D5BB28",-83,"c8:e7:d8:d5:bb:28",6,-19)
+CWLAP:(4,"YT-HuiYiShi",-87,"d8:15:0d:db:75:a2",6,-6)
+CWLAP:(4,"TP-LINK_038C",-83,"fc:d7:33:9e:03:8c",6,5)
+CWLAP:(4,"E24568",-88,"a4:56:02:e2:45:68",11,-9)
+CWLAP:(4,"UBLISH_WIFI",-74,"ec:26:ca:4a:20:32",11,-11)

OK
AT+CWLAP

+CWLAP:(4,"enjoyorB#3F-zhang",-88,"cc:34:29:64:d0:c8",1,-16)
+CWLAP:(4,"enjoyorB#7F-1",-91,"bc:d1:77:40:97:7c",1,-7)
+CWLAP:(3,"WTF",-84,"f0:b4:29:35:ae:d2",1,-14)
+CWLAP:(4,"YJH",-91,"6c:59:40:d1:13:18",2,-17)
+CWLAP:(3,"YK_WIFI",-90,"70:3a:d8:07:a3:6e",3,-14)
+CWLAP:(4,"jizhi2",-90,"88:25:93:21:a0:80",6,1)
+CWLAP:(4,"MERCURY_D5BB28",-86,"c8:e7:d8:d5:bb:28",6,-19)
+CWLAP:(4,"TP-LINK_45AD36",-87,"08:57:00:45:ad:36",6,-12)
+CWLAP:(4,"YT-HuiYiShi",-90,"d8:15:0d:db:75:a2",6,-6)
+CWLAP:(4,"YT-ZhanTing",-72,"f0:eb:d0:9f:ca:88",8,-44)
+CWLAP:(3,"mianfei",-87,"ac:d1:b8:8f:d6:a5",10,-26)
+CWLAP:(4,"E24568",-89,"a4:56:02:e2:45:68",11,-9)
+CWLAP:(2,"IIIIIIIIII",-93,"00:18:4d:4c:bf:9a",11,-21)

OK
AT+CWLAP

+CWLAP:(3,"WTF",-84,"f0:b4:29:35:ae:d2",1,-14)
+CWLAP:(4,"babaili",-93,"00:36:76:57:81:9c",1,-19)
+CWLAP:(4,"TP-LINK_YiLiaoYJ",-91,"28:2c:b2:aa:b4:9c",1,0)
+CWLAP:(4,"YJH",-89,"6c:59:40:d1:13:18",2,-17)
+CWLAP:(3,"YK_WIFI",-92,"70:3a:d8:07:a3:6e",3,-14)
+CWLAP:(4,"wenhua",-87,"ec:26:ca:97:4e:aa",6,-14)
+CWLAP:(4,"tp_link007",-81,"50:bd:5f:04:44:38",6,-9)
+CWLAP:(4,"MERCURY_D5BB28",-84,"c8:e7:d8:d5:bb:28",6,-19)
+CWLAP:(3,"okok",-84,"ec:55:f9:55:52:8a",6,-27)
+CWLAP:(4,"TP-LINK_zhukeqing",-87,"88:25:93:65:95:e1",6,-14)
+CWLAP:(4,"YT-ZhanTing",-71,"f0:eb:d0:9f:ca:88",8,-44)
+CWLAP:(4,"360WiFi-D763",-89,"00:36:76:2e:d7:63",11,-24)
+CWLAP:(4,"YT-boss",-88,"c0:61:18:e8:e5:7c",11,0)
+CWLAP:(4,"UBLISH_WIFI",-74,"ec:26:ca:4a:20:32",11,-11)
+CWLAP:(4,"summer-X",-94,"00:36:76:4c:85:1d",11,-34)
+CWLAP:(4,"yan nan",-89,"c4:a8:1d:5f:5f:fe",11,18)

OK
AT+CWLAP

+CWLAP:(4,"enjoyorB#7F-1",-89,"bc:d1:77:40:97:7c",1,-7)
+CWLAP:(3,"WTF",-85,"f0:b4:29:35:ae:d2",1,-14)
+CWLAP:(3,"YK_WIFI",-91,"70:3a:d8:07:a3:6e",3,-14)
+CWLAP:(3,"vYou_DDPai_M6",-90,"20:f4:1b:41:7e:01",4,0)
+CWLAP:(4,"TP-LINK_45AD36",-87,"08:57:00:45:ad:36",6,-14)
+CWLAP:(4,"TP-LINK_6EEDA4",-90,"14:75:90:6e:ed:a4",6,-17)
+CWLAP:(4,"TP-LINK_038C",-85,"fc:d7:33:9e:03:8c",6,5)
+CWLAP:(4,"MERCURY_D5BB28",-87,"c8:e7:d8:d5:bb:28",6,-19)
+CWLAP:(4,"YT-ZhanTing",-73,"f0:eb:d0:9f:ca:88",8,-46)
+CWLAP:(3,"mianfei",-86,"ac:d1:b8:8f:d6:a5",10,-27)
+CWLAP:(4,"YT-boss",-89,"c0:61:18:e8:e5:7c",11,0)
+CWLAP:(4,"UBLISH_WIFI",-73,"ec:26:ca:4a:20:32",11,-11)
+CWLAP:(4,"summer-X",-95,"00:36:76:4c:85:1d",11,-34)
+CWLAP:(3,"360鍏嶈垂WiFi-JY",-88,"3e:3e:84:53:88:9a",11,-29)

2个回答

qq_37923957
qq_37923957   2017.03.15 22:15

楼主我的问题跟你样,你解决了吗?

devmiao
devmiao   Ds   Rxr 2016.03.08 12:50
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
ESP8266--学习笔记(二)扫描、连接WiFi
经过上次的HelloWorld,我们知道了其实ESP8266其实是里面有个单片机的模块,我的操作其实就是操作里面的单片机,因为是单片机所以里面会有各种内置的外设,而我们的重点是使用WiFi,所以就直接操作WIFI了。扫描WiFi、连接 还是在app文件夹下面新建一个user_main.c文件,并写好 void user_init(){} //入口函数
基于WIFI模块(ESP8266)与非同一个局域网内服务器建立连接
前一篇文章讲述的是两个局域网间应该如何搭建连接的方法,这篇文章将讲述,这种方法的具体实施过程。案例简述:以WIFI模块(ESP8266)为开发对象,处在局域内网中的WIFI模块,连接到另外一个局域内网的TCP服务器,形成WIFI模块和服务器之间通信。本文先以电脑控制WIFI模块的连接,熟悉AT指令的使用,再通过编程手段,由单片机去控制WIFI模块,深入学习。
ESP8266 SDK开发篇(二)——连接wifi
ESP8266 NONOS_SDK开发——如何连接wifi
Arduino用esp8266WiFi模块连接到服务器
昨天用串口工具测试了一波esp8266WiFi模块连接云服务。没有问题 今天我决定用芯片来控制它,本来想用51,后面感觉太lou,又决定要stm32, 这个感觉不错,但是32芯片查资料确实麻烦,后面我翻了一下我的芯片盒。 发现2枚arduino pro mini ,很nice,就用这个吧。 其实我并不会用这个芯片,然后我就去图书馆借了一本arduino的书,结果几个小时就学会了,很
ESP8266的WIFI连接
大家好,在这里我将要给大家介绍一下如何将自己的ESP8266设置成Station模式,并且去连接别的wifi;废话不多说,直接开干.在这里因为要进行串口输出采集的信息,所以我们先初始化串口; 调用uart_init(115200,115200);来进行初始化 首先我们先获取我们ESP8266当前的模式; 获取完以后,我们调用这个函数去设置我们的ESP8266的模式; 这个函数设置的模式不会被
51单片机连接ESP8266串口WiFi模块
烧录固件引脚连接 WiFi 51单片机 VCC 3.3V (5V连接时间过长可能会烧坏WiFi模块) GND GND CH_PD 3.3V GPIO0 GND UTXD TXD URXD RXD 烧录固件 打开烧录软件,选择配置选项卡,点击第二栏的小齿轮图标 - 加载固件地址 点击其他选项的选择栏,取消选中,只选择第二个选项(固件地址) 返回操作
小e开发板(esp8266)连接Arduino实现WiFi扫描
博主的第一篇文章,望多多支持! 本文章教会你使用小e开发板。 小e开发板连接Arduino的教程在这里!
WIFI模块ESP8266使用总结和示例
ESP8266这个模块真的很便宜,但比之前用过的各种wifi模块都难折腾。主要是很多细节说明书都没怎么提及,或者是我没看仔细。总之,本篇就根据我的使用经历来教大家如何折腾这东东。 引脚连接: GND:接地 GPIO16:其实是RST,低电平复位,所以为了正常工作,直接连接VCC即可 VCC:接3.3V,看过其他教程说不能接5V,不过小编有试过直接用5V来把玩,玩了一段时间都没啥问题
esp8266wifi模块一对多主从配置,精简
---------------------------------服务器(AP)模式 1.  AT+CWMODE=2    // 2.AP模式 2.  AT+CWSAP="esp8266","0123456789",11,3     // 参数: 名称,密码,通道号,加密方式 3.  AT+RST  //重启才能生效 4.  AT+CIPMUX=1    //启动多连接 ,因为要让多个客户
WiFi-ESP8266入门开发(二)-连接WiFi网络
对于ESP8266和ESP32开源技术感兴趣的可以加群,我们一起探索交流学习,群号:551636355。群名:ESP32开源技术交流群。这一章将通过编程实验的方式来认识ESP8266的功能,并体验快速而便捷的开发流程。这一段程序将使得ESP8266连接指定名称和密码的Wifi热点,主要流程如下:程序流程:连接NodeMCU板子到USB接口,打开Arduino IDE编辑器界面,选择好开发板型号和串...