查看“Microduino-WIFI(ESP)”的源代码
←
Microduino-WIFI(ESP)
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language|Microduino-WiFi(ESP)}} {| style="width: 800px;" |- | [[file:Microduino-8266-rect.jpg|400px|thumb|right|Microduino-ESP]] Microduino-WiFi (ESP) module is a WiFi communication module, through the serial port Transmission data to Core / Core + / CoreUSB core module for communication, you can connect other WiFi devices. ==Features== *Serial Communications; *It can be connected to the Internet; *Small, cheap, stack, open source; ==Specifications== *Forms of communication: Serial passthrough, the default port for the D2 (RX), D3 (TX); *Power supply:+3.3VDC 50mA; *Status indicator; ==Common AT commands== *All AT commands are end with "\ r \ n". When the AT command debug please pay attention to select "\ r \ n". *Common AT commands: **AT+RST Restart module **AT+GMR Check the version information **AT+CWMODE=3 station and access point ***1 Station Mode ***2 AP Mode ***3 AP and Station **AT+CWLAP wifi ssid List **AT+CWSMARTSTART=0 enable smart configer ***0: use 安信可 AI-LINK technology ***1: use ESP-TOUCH technology ***2: use AIR-KISS **AT+CWSMARTSTOP stop smart configer **AT+CWJAP="<access_point_name>","<password>" join a WiFi **AT+CIFSR show wifi infomation **AT+CIPSTATUS Get the connection status **AT+CIPSTART=4,"TCP","baidu.com",80 Establishes a TCP or UDP connection, port. **AT+CIPCLOSE Close connection TCP or UDP (single-link) **AT+CIPCLOSE=5 Close multiple connections **AT+CIPMUX=1 Start multiple connections ==Documents== Support AT command configuration control:'''[[File:ESP8266_WiFi_Module_Quick_Start_Guide_v_1.0.4.pdf]]''' ==Development== *Test program Use Microduino IDE-->example-->_03_microduino_WiFi_ESP8266-->HTTPGET program test is OK. [[File:ESP8266-exampleCode.jpg|thumb|600px|center]] We have set SSID (wifi name) and pass (password) places in the code, change your wifi password *Download program **Stack together with Microduino-WiFi(ESP), Microduino-Core+ and Microduino-USBttl, insert USB line into the Microduino-USBttl, other side of USB line insert into computer, start Arduino IDE, The above program is copied to the IDE, the tool (tools) -> Board (Board) is selected Microduino Core, and the tools (tools) -> Serial Port (Serial) select the corresponding serial number. After clicking the top left corner IDE √ button to compile the program, after the end of the compilation click -> button is programmed to the board; *Open the serial monitor, set:“\r\n”、“115200 baud”. *First of prompts is to show connect WiFi successful information *If you see the following description you already visited Baidu Home website. [[File:ESP8266WiFi-exampleCode1.png|600px|center|thumb|Serial]] *Pin Description :[[file:Microduino-WiFi(ESP)-1Big2.jpg|800px|thumb|center|Microduino-WiFi(ESP)]] <br style="clear: left"/> ==Application== '''Related Applications:''' [[WiFi Weather Stations]] ==Firmware programming instructions== 1:welds point marked "down", or use wire to connect GND and GPIO0(written on the back of the board of the vias 0) 2:Recommend use USBTTL transfer serial directly, you need connect four wires to transfer serail port. {| class="wikitable" |- ! WIFI(ESP) !! USBTTL |- | D2 || D1(TX1) |- | D3 || D0(RX0) |- | 3V3 || 3V3 |- | GND || GND |} If you use the core module programming firmware, please do the serial converter with Core+ module, can not use Core, because WIFI (ESP) serial port is (D2, D3) pin 115200 baud rate, the corresponding Core is soft serial port, baud rate less than 115200. The USBTTL, Core+ stack, download the program to the Core+ module. <source lang="cpp"> #define my_Serial Serial1 //Core+ or CoreUSB void setup() { Serial.begin(115200); my_Serial.begin(115200); } void loop() { if (Serial.available()) { char c = Serial.read(); my_Serial.write(c); } if (my_Serial.available()) { char c = my_Serial.read(); Serial.write(c); } } </source> soft serial port to hard seral port:[[File:softToHard-V2.rar]] 3:Connect USB, open burn firmware tool, set firmware address update firmware. Firmware tool software:[[File:ESP8266Flasher.rar]] Firmware file:[[File:MicroduinoESP8266.rar]] Connect USB to PC, your firmware tool software will show below: [[File:Microuino-WiFi(ESP)burnLoarderStep1.png|thumb|600px|center]] setup as below: v0.9.5.2 AT Firmware-------------0x00000 Find right firmware file in floder and fill right address [[File:Microuino-WiFi(ESP)burnLoarderStep2V1.png|thumb|600px|center]] return operation tab, and click burn [[File:Microuino-WiFi(ESP)burnLoarderStep2-1.png|thumb|600px|center]] [[File:Microuino-WiFi(ESP)burnLoarderStep3.jpg|thumb|600px|center]] 4:Open debugging tools, test AT command make sure whether the firmware burn successful 5:Finally remove the weld on "down" or disconnect the wire which connect GND and GPIO0(written on the ==Questions== ==Gallery== [[file:Microduino-WiFi(ESP)-t1.png|thumb|600px|center]] [[file:Microduino-WiFi(ESP)-b1.png|thumb|600px|center]] [[file:Microduino-WiFi(ESP)-t.png|thumb|600px|center|Microduino-WiFi(ESP) Front]] [[file:Microduino-WiFi(ESP)-b.png|thumb|600px|center|Microduino-WiFi(ESP) Back]] |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
Microduino-WIFI(ESP)
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
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
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息