background image

E103-W03 Product Instruction Manual

CC3220R 2.4GHz WiFi Serial Port Module

Summary of Contents for E103-W03

Page 1: ...E103 W03 Product Instruction Manual CC3220R 2 4GHz WiFi Serial Port Module...

Page 2: ...Fi Direct P2P mode 12 5 2 TRANSMISSION MODE 12 5 2 1 Transparent transmission 12 5 2 2 Protocol Transmission 13 5 3 SERVICE MODE 14 5 3 1 TCP server 14 5 3 2 TCP client 14 5 3 3 UDP 14 5 3 4 MQTT 14 5...

Page 3: ...with PC 19 6 1 2 Communication between modules 26 6 2 NETWORK COMMUNICATION 30 6 2 1MQTT 30 6 2 2HTTP Client 32 6 2 3WebSocket 33 6 3 PARAMETER CONFIGURATION 34 6 3 1 Serial AT command configuration...

Page 4: ...ction use modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited The information contained herein is provided a...

Page 5: ...11b g n protocol and complete TCP IP protocol stack supports STA AP network role supports multiple network working modes supports SmartConfig serial port transparent transmission power on transparent...

Page 6: ...cast transmission Support pin to restore default parameters Support modebus protocol conversion RTU and TCP Support static IPv4 address assignment Support scanning nearby AP information 2 Specificatio...

Page 7: ...iability 7 interface 1 27mm SMD 8 Supply voltage 2 3 3 6V DC Note Voltages higher than 3 6V will cause permanent damage to the module 9 communication level Max 3 6 It is recommended that the differenc...

Page 8: ...ure 40 85 Industrial grade 2 4 Electrical Characteristics Parameter Min Typical value Max Unit Storage temperature range 40 Normal temperature 85 Operating Voltage 2 3 3 3 3 6 V Any IO VIL VIH 0 5 0 6...

Page 9: ...10K is required to pull the pin level high Normal work is low 10 VCC Equipment power supply VDC 2 4V 3 6V above 300mA 14 GPIO31 IO General IO port 15 GPIO0 IO General IO port 18 GPIO30 IO General IO p...

Page 10: ...order to ensure the stable operation of the module the RF transmission power will be affected by factors such as the response speed of the LDO If there is a higher requirement for the communication di...

Page 11: ...d to be 010 For other modes please refer to the relevant development manual of CC3220R and select the mode by yourself 5 If there are high requirements for low power consumption it is recommended to c...

Page 12: ...is role the module does not provide connection but can only be connected to an Access Point or a router This module supports TCP server TCP client and UDP in the Station role and supports a maximum of...

Page 13: ...2 represents the discovery of Socket 2 link 0x03 represents the discovery of the Socket 3 link Data Application Payload For example AA FE 55 00 AA BB CC In protocol transmission mode send AA BB CC to...

Page 14: ...nd other IoT platforms in MQTT mode Enter the service parameters created on the platform into the module to communicate 5 3 4 1 Alibaba Cloud For network communication based on Alibaba Cloud platform...

Page 15: ...ion There are two ways to enter into the remote configuration when the module is in AP mode the PC is connected to the module when the module is in STA mode the PC and the module are connected to the...

Page 16: ...the baud rate of the transmitting end The specific amount to be reduced is limited by the influence of the connection distance and requires actual testing 5 8 Heartbeat package registration package H...

Page 17: ...GPIO12 pin will be set to low level after the parameters are restored successfully 5 12 Scan nearby AP information When the module works in STA mode you can use AT commands to scan the AP information...

Page 18: ...l name E103 W03WiFiDirectClient P2P target name E103 W03WiFiDirectGo P2P socket P2P port 4001 AT P2PSOCKET P2P address 192 168 1 1 STA connection parameters target SSID E103 W03 AT STACON encryption t...

Page 19: ...ls such as MQTT and HTTP complex network packets Please study on your own for detailed instructions on this piece Both the AP role and the STA role support data transmission provided that the required...

Page 20: ...module find the WiFi with the SSID WiFi hotspot name set in the second step called E103 W03 on the PC side and enter the secret connection 6 After the connection is successful query the local IP and l...

Page 21: ...th the PC s TCP client In order for the module to communicate with the PC in the STA role it is necessary to ensure that the PC and the module are in the same local area network Here the method of mob...

Page 22: ...will not be able to communicate fill in the remote IP address and port number refer to the command configure read SOCKET port IP address AT SOCKET 0 8000 192 168 1 12 4 Set the module role STA transmi...

Page 23: ...nical reasons so you need to pay attention 6 1 1 3 UDP protocol transmission under the AP role This example will demonstrate protocol transmission in AP mode 1 Set Role AP Transmission Mode Protocol T...

Page 24: ...UDP Assistant to establish UDP communication 5 Communication because it is a protocol transmission when sending data at the module side it is necessary to input data in accordance with the protocol tr...

Page 25: ...etween the module and the PC is completed Both AP and STA roles support TCP server TCP Client and UDP The specific combination method can be used in conjunction with these three tutorials It should be...

Page 26: ...based on WiFi Direct 6 1 2 1 TCP communication of AP STA between modules 1 Set the working mode set module A as AP role and module B as STA role It should be noted that in the TCP mode the service mod...

Page 27: ...ining STAs is the same For STA STA communication two modules need to be connected to the same router Here the SSID of the target AP is used as E103 W03 for demonstration STA1 configuration process Mod...

Page 28: ...remote IP AT SOCKET 0 4002 10 145 45 2 2 Configure the STA module Setting mode AT MODE 2 1 3 Set target SSID AT STACON E103 W03 2 12345678 Set the connection method AT CONTYPE 1 Set the local port AT...

Page 29: ...parameters see Configuration Read WiFi Direct P2P connection parameters for instructions AT P2PDEVINFO 20 1 E103 W03WiFiDirectGo E103 W03WiFiDirectClient 1 Query the socket local port and IP address...

Page 30: ...ud and OneNet The configuration process is as follows according to the platform you use go to register to obtain the relevant parameters and finally add them in the web page window or you can use AT c...

Page 31: ...nternet of Things Such as A1Ve0iJW6z1 iot as mqtt cn shanghai aliyuncs com 8 Port Ali IoT port Such as 1883 9 Subscription topic such as A1Ve0iJW6z1 MQTT_TEST user get 10 Publish topic such as A1Ve0iJ...

Page 32: ...lti protocol access 3 Device ID such as 511986588 4 Product ID such as 286258 5 Authentication information custom input when creating a device Such as ebyte 6 Address The domain name for accessing the...

Page 33: ...e serial port 192 168 4 10 8080 is the HTTP server address and port Custom protocol header The default is Connection keep alive which can be modified by the user If multiple commands are required add...

Page 34: ...ow the specification 6 3 2 UDP Remote Configuration During remote configuration it is necessary to ensure that the module and the PC are in the same local area network For the configuration method see...

Page 35: ...ge it is also necessary to ensure that the module and the PC are in the same local area network find the IP address corresponding to the module and enter the IP address on the browser The 192 168 1 10...

Page 36: ...al Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 36 6 4 Modbus usage After setting the working parameters according to the above chapters enter the AT command and open the modbus prot...

Page 37: ...a conversion and transmission If necessary please operate with actual controls 6 5 Static IP usage 1 Set the module to STA client mode AT MODE 2 1 2 2 Set static IP related parameters AT IPSTATIC 1 19...

Page 38: ...support cdebyte com Documents and RF Setting download link https www cdebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Official hotli...

Reviews: