background image

. Next, we enter AT command mode for simple configuration. (Since we are sending commands, please turn off the

Real Time Send function of serial port for better debugging; if the serial debugging assistant you use does not have Real

Time Send function, please ignore this article)

a. Start serial debugging, enter the command "++++" in the send text box (please do not add line break), click Send to

start sending commands. b. If the serial port returns the message "Entered AT mode", it indicates that it has entered AT

command mode, otherwise, reset Otherwise, reset and retry the above steps. If not, reset and retry the above steps.

. Now our module is used as STA mode to connect to other APs, so we need to set the mode to STA mode first.

a. Enter the AT command "AT+ROLE=STA" in the Send text box of the serial debug assistant (please add a line break,

i.e. add the Enter key after entering the command "AT+ROLE=STA") and click Send to send the command.

b. If the message "Set STA mode" is displayed on the serial port, it means that it has been set to STA mode successfully,

otherwise, please operate the above steps again.

. Next, you need to set the WiFi hotspot parameters (STA parameters) that we want to connect.

a. Enter the AT command "AT+STA=Ebyte,2,E61TTL1W" in the Send text box of the serial debug assistant (please

add a line break, i.e. after entering "AT+STA=Ebyte,2,E61TTL1W" (please add a line break, i.e., after typing

"AT+STA=Ebyte,2,E61TTL1W" and enter), click Send to send the command. (The "Ebyte" in the previous AT

command is the SSID of the WiFi hotspot (i.e. WiFi name), '2' is the encryption method WPA2 (0 if no password), and

"E61TTL1W" is the encryption method WPA2 (0 if no password). "E61TTL1W" is the WiFi password (if there is no

password, the item is empty))

b. If "STA update OK" message is displayed on the serial port, it indicates that the STA parameters have been set

successfully, otherwise, please operate the above steps again.

Содержание E103-W02

Страница 1: ...E103 W02 User Manual Serial wifi SMD small volume PCB antenna MQTT...

Страница 2: ...s 15 3 1 5 Web Configuration 21 3 1 6 Remote AT Commands 22 3 2 MQTT CLIENT MODE MQTT 23 3 2 1 Setup process 23 3 2 2 Device Access Demonstration 24 3 2 3MQTT Notes 27 3 3 HTTP CLIENT MODE HTTP 27 3 3...

Страница 3: ...ory and the actual results may be slightly different It is hereby declared that all trade names trademarks and registered trademarks mentioned here are the property of their respective owners The fina...

Страница 4: ...consumption is less than 5uA in the lowest power consumption mode 2 High speed transmissions The module supports 3Mbit high speed transmission 3 Web configuration support The module can be accessed vi...

Страница 5: ...o listen for connection signals The Client communicates with it through the Connection Module Server For more features please see the related application documentation 1 3 Electrical parameters No Par...

Страница 6: ...0 85 Industrial grade chip range please modify according to crystal parameters 17 Working Humidit y 10 90 Relative humidity non condensing 18 Storage temperat ure 40 85 Industrial grade 1 4 Electrical...

Страница 7: ...ground 2 GPIO26 IO General purpose IO port 3 GPIO27 IO General purpose IO port 4 RST I Module reset pin low reset 5 SOP2 I Burn emulation mode selection 6 SOP1 I Burn in emulation mode selection 7 SOP...

Страница 8: ...low unconnected output high 31 GPIO11 O Smartconfig status indicator low when in status low when not in status High 32 GPIO12 I Restore factory settings pin set to low at startup after the status indi...

Страница 9: ...S Inthismode multipleTCPlinksaresupported andthemoduleasTCPSERVERcanallow4 TCPclientaccesses MULTIC In this mode multipleTCP UDPlinksare supported and themodule asa TCP UDP client can access two serve...

Страница 10: ...ial website 1 Serial port debugging assistant AccessPort XCOM 2 TCP UDP test tool 3 SmartConfig one click configuration mobile app Wi Fi Starter 3 1 Traditional mode NORMAL 3 1 1 Link Preparation Firs...

Страница 11: ...module base board is always on GPIO9 is pulled low and the PC shows successful connection otherwise please operate the above steps again 3 1 2 Module as AP to establish TCP SERVER wireless connection...

Страница 12: ...the UDP communication which requires us to do a simple configuration of the module Please make sure the link preparation work is completed successfully Enter AT command mode for simple configuration...

Страница 13: ...ds b If the serial port returns Socket update OK message it indicates that the command has set the protocol parameters successfully otherwise please operate the above steps again After setting the par...

Страница 14: ...e below 6 Click the Create button to complete the creation If the creation is successful you can finish the bi directional data transfer between PC and module i e TCP UDP test tool and serial debuggin...

Страница 15: ...module to access the network around the STA role in later sections a section on how to access other WIFI nodes for users reference Module as STA Station to connect to other WiFi hotspots Connect the f...

Страница 16: ...r key after entering the command AT ROLE STA and click Send to send the command b If the message Set STA mode is displayed on the serial port it means that it has been set to STA mode successfully oth...

Страница 17: ...access to WiFi hotspot is successful Module as STA Station to connect to other WiFi hotspots via SmartConfig one click configuration Connect the factory E103 W02 base board to the PC via Micro USB ca...

Страница 18: ...port returns the message Entered AT mode it indicates that it has entered the AT command mode otherwise reset and retry the above steps First set the mode to STA mode a Enter the AT command AT ROLE ST...

Страница 19: ...end to send the command The 60 in the AT command here means that the WiFi hotspot is not connected after 60S and will time out of SmartConfig mode During this 60S period the module waits to accept the...

Страница 20: ...tically recognize it no need to input If the WiFi module is far away from the module please connect the antenna The LED1 light on the base board is lit GPIO9 pulled low which indicates a successful co...

Страница 21: ...before this operation the module should be connected to the PC for wireless network After the PC shows successful connection open the browser and input the IP address of the module if you don t know...

Страница 22: ...u to use the remote AT command to send AT commands to the module s 12476 port using the UDP communication protocol command to the module 12476 port using the UDP communication protocol When using the...

Страница 23: ...When using MQTT mode if the user wants to access the public network realize long distance transmission or access the cloud server he needs to know that the network role of the module should be set to...

Страница 24: ...nstration A complete set of MQTT AT commands operates as shown in the following figure Logging into our ONENET MQTT device management platform shows an offline status when there is no access as shown...

Страница 25: ...uccessfully accessed the GPIO10 pin is pulled low to characterize the successful access status and pulled high when it is dropped In order to visually demonstrate the transmission process of the devic...

Страница 26: ...After accessing the following figure shows Now MQTT communication between 2 devices is possible...

Страница 27: ...so that the current network role is in STA mode AT ROLE STA 2 Connect the destination WIFI AP access the network AT STA EBYTE 2 JSZXE880 3 Switch the mode set the working mode to HTTP mode AT MODE HTT...

Страница 28: ...quest method set the server will then return the file value to the serial port as shown in the following figure the red box in the figure is the request information of the module as an HTTP client The...

Страница 29: ...URL is the specified access path and is only valid when the access data is POST GET access path needs to be specified in the serial data On the basis of POST the request method is reset as follows Wh...

Страница 30: ...can set the header information by using the data format AT HCHEAD XX XX XXX XXX If the customer wants to add the default request header followed by Connection keep alive Content Type application json...

Страница 31: ...h has been established after the server is powered on and the port number and local IP are set by the user When the computer is successfully connected to the module the GPIO9 pin is pulled low When su...

Страница 32: ...e s serial port and messages entered by the module s serial port will be broadcast by the server to each of its client links Each client can choose to go offline at any time without restarting the con...

Страница 33: ...ection information of SOCKET B connect to the destination server the connection type is UDP AT SOCKB ON UDP 192 168 0 136 7688 7689 6 Reboot to take effect command AT RST 3 5 2A B Generic Client Acces...

Страница 34: ...are currently enabled When one or more clients have successfully accessed the server GPIO10 is pulled low to indicate the status of at least one successfully accessed server and when none of the clien...

Страница 35: ...n up by serial data After waking up the module restarts and runs The power consumption can reach below 5uA Wake up mode serial RXD Tips 1 AP mode is set to low power mode the module will not enter low...

Страница 36: ...del can meet the applications of home IOT intelligent meter reading real time monitoring etc The module can exchange data with the web server in real time Users can perform various operations on the m...

Страница 37: ...intra module networking where a module in AP mode can be connected to at most one STATION and the TCP Server can be established on any module under the completion of intra module networking and the re...

Страница 38: ...P IP related parameters AT APIP APIP 192 168 1 1 Mask 255 255 255 0 Gateway 192 168 1 1 DNS 192 168 1 1 Set the parameters related to the AP IP AT APIP 192 16 8 1 2 255 255 255 0 192 168 1 1 192168 1...

Страница 39: ...uiry HTTP SERVER s Enablement AT HTTP Http status 1 Settings HTTP SERVER Enablement AT HTTP 1 Http status set OK 10 AT HCADDR AT HCADDR Serv er Addr Server Port Parameter description Server Addr HTTP...

Страница 40: ...mal digits Response Keepalive set OK Inquiry Heartbeat Package Related Parameters AT KEEPALIVE Keepalive status OFF Period 50 Len 5 InfoPkt 0102030405 Settings heartbeat packet related parameters AT K...

Страница 41: ...tes Qos Settings subscribed Qos message level 0 1 2 Response MSUB OK Inquiry MQTT Sub topic related parameters AT MSUB MSUB Topic subtopic Qos 0 Set the relevant parameters for the MQTT Sub topic AT M...

Страница 42: ...module is running with the following values NORMAL traditional mode original functional mode MQTT MQTT mode HTTP HTTP CLIENT Settings Current communicati on mode AT MODE MQT T MODE OK...

Страница 43: ...teIP 183 230 40 33 RemotePort 80 Set the ONENET IP and port related parameters AT ONENETIPP OR T 183 230 40 3 3 80 OneNET RemoteIpPort set OK 22 AT ONENETU NI AT ONENETUNI ON O FF P_ID A_Info S_ name...

Страница 44: ...x number less than 20 Response Delete Success Delete Success Delete ONENET device Device ID AT ONENETDELDelete Success 25 AT ONENETSE L AT ONENETSEL i nde x Description of parameters Index Adds the de...

Страница 45: ...ow power state after wake up 2 240S Response AT RESTORE Restore factory Settings operation Parameter Description 28 AT RESTORE No parameter AT RESTORE Restore OK Response Restore OK AT REGPKT ON OFF I...

Страница 46: ...Parameter description mode Settings for AP indicates 30 AT ROLE Access Point which provides Settings module for web roles AT ROLE STA Set STA mode wireless access service Settings module for web role...

Страница 47: ...T STAIP STAIP The IP address in STA mode IP address of Mask subnet mask STAIP update OK Gateway Gateway address DNS DNS server address address Response AT SOCKA ON OFF Inquiry Vice SOCKA Protocol Remo...

Страница 48: ...UDP TCP the communication protocol used Protocol RemoteIP Remote IP RemotePort Remote port LocalPort LocalPort Local port LocalPort Response SOCKA OK AT SOCKA ON OFF...

Страница 49: ...t side is supported Parameter description 34 AT SOCKB ON OFF Enable on OFF default is OFF OFF SOCKB OK is followed by the parameter Settings without Effect Protocol UDP TCP the communication protocol...

Страница 50: ...ON SOCKEBT AT SOCK Protoc ol Inquiry main socket related parameter s Protocol TCP CS CLIENT CS RemoteIP AT SOCK RemoteIP 183 230 40 40 RemotePort 1811 36 AT SOCK RemotePort LocalPort 8887 LocalPort S...

Страница 51: ...2Byte SecType encryption type Password password 8 63Byte Response STA Update OK Inquiry STA s related parameters AT STA SSID E880 IR01 TYPE 2 Settings STA related parameters AT STA E880 IR01 2 JSZXE8...

Страница 52: ...t 1 tabit Parbit S topbit Parameter description 40 AT UART Baud Baud rate desirable Settings serial port related parameters AT UART 1152 00 8 0 1 Uart update OK 300 3000000bps Databit data bit Parbit...

Страница 53: ...e right 7 Customized cooperation If you want to customize your products please contact our company EBYTE has reached deep cooperation with many famous enterprises 8 Welding work instruction 8 1 Reflow...

Страница 54: ...label of the product The time Tp within 5 C of the specified grading temperature Tc see the figure below 20 seconds 30 seconds Cooling slope Tp TL 6 sec max 6 sec max Time from room temperature to pe...

Страница 55: ...Content modification Blue 3 2 2022 9 16 Content modification Hao 3 3 2022 12 12 New welding guide Hao About us Technical support support cdebyte com Documents and RF Setting download link https www cd...

Отзывы: