KS0339 Keyestudio 8266 WIFI Module 2PCS: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 134: Line 134:
====  <span style="color: brown"> Set the AP Mode: AT+CWSAP====
====  <span style="color: brown"> Set the AP Mode: AT+CWSAP====
*'''Syntax Rules:'''
*'''Syntax Rules:'''
[[File:0339图片17.png|700px|frameless|thumb]]<br>
[[File:0339图片16.png|700px|frameless|thumb]]<br>


<br>
<br>
*'''Parameter Definition:'''
*'''Parameter Definition:'''
[[File:0339图片18.png|700px|frameless|thumb]]<br>
[[File:0339图片17.png|700px|frameless|thumb]]<br>




Line 145: Line 145:
==== <span style="color: brown"> Build TCP/UDP Connection: AT+CIPSTART====
==== <span style="color: brown"> Build TCP/UDP Connection: AT+CIPSTART====
*'''Syntax Rules:'''
*'''Syntax Rules:'''
[[File:0339图片19.png|700px|frameless|thumb]]<br>
[[File:0339图片18.png|700px|frameless|thumb]]<br>


<br>
<br>
*'''Parameter Definition:'''
*'''Parameter Definition:'''
[[File:0339图片20.png|700px|frameless|thumb]]<br>
[[File:0339图片19.png|700px|frameless|thumb]]<br>


<br>
<br>
==== <span style="color: brown"> Get TCP/UDP Connection Status: AT+CIPSTATUS ====
==== <span style="color: brown"> Get TCP/UDP Connection Status: AT+CIPSTATUS ====
*'''Syntax Rules:'''
*'''Syntax Rules:'''
[[File:0339图片21.png|700px|frameless|thumb]]<br>
[[File:0339图片20.png|700px|frameless|thumb]]<br>


<br>
<br>
*'''Parameter Definition:'''
*'''Parameter Definition:'''
[[File:0339图片22.png|700px|frameless|thumb]]<br>
[[File:0339图片21.png|700px|frameless|thumb]]<br>


<br>
<br>
==== <span style="color: brown"> Start Multilink: AT+CIPMUX ====
==== <span style="color: brown"> Start Multilink: AT+CIPMUX ====
*'''Syntax Rules:'''
*'''Syntax Rules:'''
[[File:0339图片23.png|700px|frameless|thumb]]<br>
[[File:0339图片22.png|700px|frameless|thumb]]<br>


<br>
<br>
*'''Parameter Definition:'''
*'''Parameter Definition:'''
[[File:0339图片24.png|700px|frameless|thumb]]<br>
[[File:0339图片23.png|700px|frameless|thumb]]<br>


<br>
<br>
==== <span style="color: brown"> Send Data: AT+CIPSEND====
==== <span style="color: brown"> Send Data: AT+CIPSEND====
*'''Syntax Rules:'''
*'''Syntax Rules:'''
[[File:0339图片25.png|700px|frameless|thumb]]<br>
[[File:0339图片24.png|700px|frameless|thumb]]<br>


<br>
<br>
*'''Parameter Definition:'''
*'''Parameter Definition:'''
[[File:0339图片26.png|700px|frameless|thumb]]<br>
[[File:0339图片25.png|700px|frameless|thumb]]<br>


<br>
<br>
==== <span style="color: brown"> Close TCP/UDP Connection: AT+CIPCLOSE====
==== <span style="color: brown"> Close TCP/UDP Connection: AT+CIPCLOSE====
*'''Syntax Rules:'''
*'''Syntax Rules:'''
[[File:0339图片27.png|700px|frameless|thumb]]<br>
[[File:0339图片26.png|700px|frameless|thumb]]<br>


<br>
<br>
*'''Parameter Definition:'''
*'''Parameter Definition:'''
[[File:0339图片28.png|700px|frameless|thumb]]<br>
[[File:0339图片27.png|700px|frameless|thumb]]<br>


<br>
<br>
==== <span style="color: brown"> Get Local IP Address: AT+CIFSR====
==== <span style="color: brown"> Get Local IP Address: AT+CIFSR====
*'''Syntax Rules:'''
*'''Syntax Rules:'''
[[File:0339图片29.png|700px|frameless|thumb]]<br>
[[File:0339图片28.png|700px|frameless|thumb]]<br>


<br>
<br>
*'''Parameter Definition:'''
*'''Parameter Definition:'''
[[File:0339图片30.png|700px|frameless|thumb]]<br>
[[File:0339图片29.png|700px|frameless|thumb]]<br>


<br>
<br>
==== <span style="color: brown"> Select TCPIP Mode: AT+CIPMODE====
==== <span style="color: brown"> Select TCPIP Mode: AT+CIPMODE====
*'''Syntax Rules:'''
*'''Syntax Rules:'''
[[File:0339图片31.png|700px|frameless|thumb]]<br>
[[File:0339图片30.png|700px|frameless|thumb]]<br>


<br>
<br>
*'''Parameter Definition:'''
*'''Parameter Definition:'''
[[File:0339图片32.png|700px|frameless|thumb]]<br>
[[File:0339图片31.png|700px|frameless|thumb]]<br>


<br>
<br>
==== <span style="color: brown"> Set the Sever Timeout: AT+CIPSTO====
==== <span style="color: brown"> Set the Sever Timeout: AT+CIPSTO====
*'''Syntax Rules:'''
*'''Syntax Rules:'''
[[File:0339图片33.png|700px|frameless|thumb]]<br>
[[File:0339图片32.png|700px|frameless|thumb]]<br>


<br>
<br>
*'''Parameter Definition:'''
*'''Parameter Definition:'''
[[File:0339图片34.png|700px|frameless|thumb]]<br>
[[File:0339图片33.png|700px|frameless|thumb]]<br>


<br>
<br>
==== <span style="color: brown"> Set the Baud Rate: AT+CIOBAUD====
==== <span style="color: brown"> Set the Baud Rate: AT+CIOBAUD====
*'''Syntax Rules:'''
*'''Syntax Rules:'''
[[File:0339图片35.png|700px|frameless|thumb]]<br>
[[File:0339图片34.png|700px|frameless|thumb]]<br>


<br>
<br>
*'''Parameter Definition:'''
*'''Parameter Definition:'''
[[File:0339图片36.png|700px|frameless|thumb]]<br>
[[File:0339图片35.png|700px|frameless|thumb]]<br>

Revision as of 10:06, 3 January 2019

keyestudio 8266 WIFI Module (2PCS)


Product Overview

Overview:

The package includes 2pcs of ESP8266 WIFI module.
It is an ultra-low-power UART-WiFi pass-through module with industry-leading package size and ultra-low power technology.
It is specially designed for mobile devices and IoT applications. It can connect users' physical devices to Wi-Fi wireless network for Internet or LAN communication, achieving the networking function.


Features:

  • 1)Support wireless 802.11 b/g/n standard
  • 2)Support three working modes: STA/AP/STA+AP
  • 3)Built-in TCP/IP protocol stack to support multiple TCP Client connections
  • 4)Support various Socket AT commands
  • 5)Support UART/GPIO data communication interface
  • 6)Support Smart Link intelligent networking function
  • 7)Support remote firmware upgrade (OTA)
  • 8)Built-in 32-bit MCU, able to double as an application processor
  • 9)Ultra low consumption, suitable for battery powered applications.
  • 10) 3.3V single power supply


Basic Parameters:


0339图片2.png

0339图片3.png


Hardware Introduction:

ESP8266 hardware has plentiful interfaces, and can support UART,IIC,PWM,GPIO,ADC and more, suited for mobile devices and IoT applications.

  • Module pins diagram:


0339图片4.png


  • Pins definition:


0339图片5.png


Power Consumption:

The following measured power consumption data is based on a 3.3V power supply at 25°ambient temperature.

  • 1. All measurements are done at the antenna interface.
  • 2. All transmit data is based on a 90% duty cycle and measured in continuous transmission mode.


0339图片6.png


Radio Frequency Indicator:

The following data are measured at indoor temperature when the voltage is 3.3v.
0339图片7.png

Note: 1. 72.2Mbps is measured in 802.11n mode,MCS=7,GI=200uS.
2.The output power of up to +19.5dBm can be reached in 802.11b mode.


Function Description

Main Function:

ESP8266 can realize the main functions as follows:

  • Serial port passthrough: data transmission, good reliability of transfer; the maximum transmission rate is up to 460800bps.
  • PWM regulation and control: light adjustment, RGB LED adjustment, motor speed control and more.
  • GPIO control: control the switches, relays and more.


Working Mode:

ESP8266 module supports three working modes: STA/AP/STA+AP

  • STA mode: The ESP8266 module can access to the Internet through a router, so the mobile phone or computer can remotely control the device through the Internet.
  • AP mode: The ESP8266 module acts as a hotspot to enable communication directly with the mobile phone or computer to achieve wireless control of the local area network (LAN).
  • STA+AP mode: The coexistence mode of the above two modes, that is, can achieve the seamless switching through the Internet control, more convenient for operation.


Applications:

  • 1)Serial port CH340 to Wi-Fi;
  • 2)Industrial transparent transmission DTU;
  • 3)Wi-Fi remote monitoring/control;
  • 4)Toy field
  • 5)Color LED control;
  • 6)Integrated management of fire protection and security intelligence;
  • 7)Smart card terminals, wireless POS machines, Wi-Fi cameras, handheld devices, etc



Basic AT Commands

Test the AT

  • Syntax Rules:

thumb


WiFi Function AT Command

Select WiFi Application Mode: AT+CWMODE

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


List out Access Point: AT+CWLAP

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


Add Access Point: AT+CWJAP

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


Exit Access Point: AT+CWQAP

  • Syntax Rules:

thumb


Set the AP Mode: AT+CWSAP

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb



TCPIP AT Command

Build TCP/UDP Connection: AT+CIPSTART

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


Get TCP/UDP Connection Status: AT+CIPSTATUS

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


Start Multilink: AT+CIPMUX

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


Send Data: AT+CIPSEND

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


Close TCP/UDP Connection: AT+CIPCLOSE

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


Get Local IP Address: AT+CIFSR

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


Select TCPIP Mode: AT+CIPMODE

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


Set the Sever Timeout: AT+CIPSTO

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb


Set the Baud Rate: AT+CIOBAUD

  • Syntax Rules:

thumb


  • Parameter Definition:

thumb