查看“MCookie-WiFi”的源代码
←
MCookie-WiFi
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language|mCookie-WiFi}} {| style="width: 800px;" |- | [[file:mCookie-8266-rect.jpg|400px|thumb|right|mCookie-WiFi]] mCookie-WiFi is WIFI communication module, which can connect other WIFI devices and communicate with CoreUSB via serial port. ==Features== *Serial communication; *Available for the internet; *Small, stackable, open-source and cheap; ==Specification== *Way of communication: Serial port transmission with the default serial port D2(RX)、D3(TX); *Power supply: +3.3VDC 50mA; ; *Status indicator; ==Common AT Instruction== *All AT instructions are ended with "\r\n ". *Common AT instruction: **AT+RST Restart modules **AT+GMR Check version info. **AT+CWMODE=3 Station & access point ***1 Station mode ***2 AP mode ***3 AP & Station **AT+CWLAP WIFI SSID list **AT+CWSMARTSTART=0 Start smart connection ***0: Use AL-LINK ***1: Use ESP-TOUCH ***2: Use AIR-KISS **AT+CWSMARTSTOP Stop smart connection **AT+CWJAP="<access_point_name>","<password>" Add to a certain WIFI **AT+CIFSR Display WIFI information **AT+CIPSTATUS Acquire connection status **AT+CIPSTART=4,"TCP","baidu.com",80 Establish TCP/UDP connection **AT+CIPCLOSE Shut off TCP/UDP connection (Single connection) **AT+CIPCLOSE=5 Close multi-connection **AT+CIPMUX=1 Start multi-connection ==Document== Support AT instruction configuration/contro: '''[[File:ESP8266_WiFi_Module_Quick_Start_Guide_v_1.0.4.pdf]]''' ==Development== *Program [[File:ESP8266TestV1.zip]] Change your WIFI password in the code where there are SSID(WIFI name) and password setting. [[File:ESP8266ChangePass.png|thumb|600px|center]] *Download program **Stacke mCookie-WiFi and mCookie-CoreUSB, plug USB cable into mCookie-CoreUSB on one side and connect computer USB socket on the other side. Then, start Arduino IDE, copy the program above to IDE, select Microduino-CoreUSB in (tools) -> (Board) and choose the right serial number in (tools) -> (Serial). After that, please click button (√) on the top left of IDE and compile the program. Burn the program to the board after compiling by clicking button (->); *Open serial monitor and set "\r\n " and "115200 baud " *The notice of successful WIFI connection will pop up at first. *Enter AT instruction in the serial port and it will return "OK". *Enter website such as baidu.com in the serial port and it will return webpage data. [[File:ESP8266WiFi-Serial.png|600px|center|thumb|Serial]] *Enter fixed instructions in the serial monitor and you'll see returned result, which can refer to common AT Instruction part. Such as: *AT+GMR *AT+CIFSR *AT+CIPSTATUS [[File:ESP8266WiF-AT.png|600px|center|thumb|AT]] *IDE tests program You can adopt HTTPGET program of _03_microduino_WiFi_ESP8266 from Microduino IDE example for testing. [[File:ESP8266-exampleCode.jpg|thumb|600px|center]] Change your WIFI password in the code where there are SSID(WIFI name) and password setting. *Download program **Stack Microduino-WiFi(ESP) with Microduino-Core+ and Microduino-USBttl, plug USB cable into mCookie-CoreUSB on one side and connect computer USB socket on the other side. Then, start Arduino IDE, copy the program above to IDE, select Microduino-CoreUSB in (tools) -> (Board) and choose the right serial number in (tools) -> (Serial). After that, please click button (√) on the top left of IDE and compile the program. Burn the program to the board after compiliing by clicking button (->) * Open serial monitor and set "\r\n " and "115200 baud " *Firstly, you'll see notice of successful WIFI connection. *If you see content description, it means you have visited "www.baidu.com". [[File:ESP8266WiFi-exampleCode1.png|600px|center|thumb|Serial]] *Pin Description :[[file:mCookie-WiFi-1Big2.jpg|800px|thumb|center|mCookie-WiFi]] <br style="clear: left"/> :[[file:mCookie-WiFi-2Big1.jpg|800px|thumb|center|mCookie-WiFi]] <br style="clear: left"/> ==Project== '''Related Projects: ''' [[WiFi Weatherstation]] ==F&Q == ==Picture== [[file:mCookie-WiFi-t1.jpg|thumb|600px|center]] [[file:mCookie-WiFi-b1.jpg|thumb|600px|center]] [[file:mCookie-WiFi-t.jpg|thumb|600px|center|mCookie-BT Front]] [[file:mCookie-WiFi-b.jpg|thumb|600px|center|mCookie-BT Back]] |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
MCookie-WiFi
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息