Ebyte E103-W02DTU User Manual

Ebyte E103-W02DTU User Manual

Industrial wifi serial server
Hide thumbs Also See for E103-W02DTU:

Advertisement

Quick Links

Industrial WiFi Serial Server
E103-W02DTU
User Manual
1

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte E103-W02DTU

  • Page 1 Industrial WiFi Serial Server E103-W02DTU User Manual...
  • Page 2: Table Of Contents

    3.5 WEB PAGE CONFIGURATION INSTRUCTIONS ..............................27 4. NETWORKING INSTRUCTIONS ....................................27 4.1 NETWORKING ROLES ........................................27 4.2 NETWORKING MODEL ......................................... 28 5. AT INSTRUCTION SET........................................29 6. RELATED MODELS ..........................................35 7. PRECAUTIONS FOR USE ........................................ 35 8. IMPORTANT STATEMENT ......................................36 Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 3: Disclaimer

    E103-W02DTU User Manual Disclaimer EBYTE reserves all rights to this document and the information contained herein. Products, names, logos and designs described herein may in whole or in part be subject to intellectual property rights. Reproduction, use, modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited.
  • Page 4: Overview

    ★ support remote AT command, WiFi serial server can be configured remotely using AT command; ★ support for OneNet, the IoT development platform; ★ industrial-grade design, supporting long-time operation at -40℃~+85℃; ★Efficient watchdog, which will restart automatically in case of abnormality. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 5: Basic Usage

    UDP AT commands, and HTTP web pages Basic parameters Production Machine paste, Wireless products must be machine labeled to ensure batch process lead-free process consistency and reliability RS485:1*4*3.81mm Interface Crimping method Method RS232:DB9 Antenna SMA-K Standard DB9, hole type Interface Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 6 Note: Voltage higher than 28V will cause permanent damage Product Size 82*84*24mm to the module Average 130g The power supply is 12V weight Temperature and humidity Working -40~+85℃ Industrial grade temperature Working 10%~90% Relative humidity, non-condensing Humidity Storage -40~+85℃ Industrial grade Temperature Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 7: Brief Description Of Functions

    Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W02DTU User Manual 2. Brief description of functions 2.1 Pin definition Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 8 STAT indicator to blink off three times, then (M1) Restore restore the factory settings. The module only detects this pin when it starts up, and setting the pin low after starting up cannot perform restoration action. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 9: Connection Method

    Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W02DTU User Manual 2.2 Connection method RS232 connection method RS485 connection method Note: WiFi serial server can be powered by power adapter or crimp terminal VCC/GND (either one can be chosen). Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 10: Quick Start

    The hardware that will be used in this section: E103-W02DTU model WiFi serial server 1pc 1 computer with WiFi function Router 1 (can be replaced by cell phone WiFi hotspot)
  • Page 11: Wifi Serial Server As Ap Establish Server And Pc Wireless Connection

    (see the figure below). ③ Set serial port debugging parameters (baud rate: 115200bps, data bit: 8bit, parity bit: no parity, stop bit: 1bit) (see the figure below) Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 12 MAC addresses, so different WiFi serial servers have different factory SSIDs>. ⑤ After successful connection, the WiFi connection status light on the WiFi serial server backplane is on and the PC shows successful connection, otherwise, please operate the above steps again. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 13 E103-W02DTU User Manual [WiFi serial server as AP to establish TCP SERVER to communicate with PC]: ① Open the TCP & UDP test tool, create the connection and set the parameters (see the figure below). Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 14 ③ WiFi serial server backplane LINK indicator is on, indicating the completion of the connection, you can complete the bi-directional data transfer between PC and WiFi serial server (i.e. TCP & UDP test tool and serial debugging assistant bi-directional communication), otherwise, please operate the above steps again. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 15 ① Above serial number 2 completes the TCP communication, next we will establish UDP communication, which requires us to do simple configuration of WiFi serial server. ② Please complete serial number 1 before we enter AT command mode for simple Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 16 1.2,8887,8889" command followed by the Enter key), click Send to start sending commands. B. If the serial port returns the message "Socket update OK", it indicates that the command has set the protocol parameters successfully, otherwise, please operate the above steps again. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 17 WiFi connection status indicator on the base board will be lit immediately, indicating that the UDP protocol is enabled. ⑤ Open the TCP & UDP test tool, create a connection, and set the parameters (see the figure below). Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 18 (7) If the creation is successful, you can complete the bi-directional data transfer between PC and WiFi serial server (i.e. TCP & UDP test tool and serial debugging assistant bi-directional communication), otherwise, please operate the above steps again. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 19: Wifi Serial Server As Sta (Station) To Connect To Other Wifi Hotspots

    ① Connect the factory E103-W02-DTU base board to PC via Micro USB cable; ② Open the serial debugging assistant "AccessPort" and select the port number; if you are not sure about the port number, please check in the device manager (see the figure below). Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 20 If the message "Set STA mode" is displayed on the serial port, it indicates that the STA mode has been set successfully, otherwise, please operate the above steps again. ⑥ Next, you need to set the parameters of the WiFi hotspot we want to connect to (STA Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 21 Enter key and click Send to send the command. <Here you must set the WiFi hotspot according to the user's location; the "Ebyte" in the previous AT command is the SSID (i.e. WiFi name) of the WiFi hotspot, '2' is the encryption method WPA2 (if there is no password, the item is 0), "E61TTL1W"...
  • Page 22 If the serial debugging assistant you are using does not have the 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. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 23 If the message "Enter into Smartconfig" is displayed on the serial port and the STAT indicator is lit, it indicates that the SmartConfig mode has been entered, otherwise, please retry the above steps. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 24 ⑨. Install and open the mobile app software "Wi-Fi Starter", enter the WiFi hotspot password, and click "Start". (LINKwork Name is the name of the WiFi hotspot that your phone is connected to, the software will recognize it automatically, no need to input) Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 25 <After successful connection, the WiFi serial server will remember the WiFi hotspot (including password) connected this time, and the next reset or reboot WiFi serial server will connect automatically>. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 26: Remote At Command

    Baud rate support 300 to 400000bps (default 115200) NONE, no parity bit (default) Calibration bit support EVEN, even parity ODD, odd parity 5 bits Data bits 6 bits 7 bits 8-bit 1-bit Stop Bits 2 bit Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 27: Web Page Configuration Instructions

    E103-W02-DTU WiFi Serial Server as Socket role includes TCP Server, TCP Client and UDP. based on TCP connection mechanism, please note that TCP heartbeat packet should be used if you need to be in connection state for a long time. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 28: Networking Model

    This networking model is similar to the first one, except that the WiFi serial server is established in STATION mode as TCP Server instead of TCP Client. This model can support up to 5 remote device connections under networking conditions. Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 29: At Instruction Set

    Parameter Description: No parameter AT+RST Response: Module rebooting Example: AT+RST Note: 1. Similar to pressing the reset button, it will exit AT command mode AT+RESTORE to restore factory settings Parameter Description: AT+RESTORE No parameter Response: Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 30 2. When setting WEP encryption, the password must be 5 or 13 case-sensitive characters, or 10 or 26 hexadecimal characters. 3. After setting a new mode, you need to reset or power down and restart AT+AP=? Query AP parameters Parameter Description: No parameter AT+AP=? Response: Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 31 AT+STAIP sets the IP parameters in STATION mode (reboot takes effect) Parameter Description: IPMode: IP mode (DHCP or STATIC) STAIP: IP address in STA mode Mask: subnet mask AT+STAIP=<IPMode>,<STAIP>,<Mask>, Gateway: gateway address <Gateway>,<DNS> DNS: DNS server address Response: STAIP Update OK Example:AT+STAIP=DHCP,192.168.1.1,255.255.255.0,192.168.1.1,192.168.1.1 Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 32 STA mode: print disconnected when not connected, and print your own IP and gateway when connected. AT+PM sets the power consumption parameter (exiting command mode takes effect) Parameter Description:  AT+PM=<Power Power Mode: power consumption mode: (can be 0,1,2,3) Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 33 S_name: OneNET product script file name Response: OneNET Uni Set OK Example: AT+ONENETUNI=ON,97562,02,ebyte_lua or AT+ONENETUNI=OFF Return: OneNET Uni Set OK AT+ONENETUNI=? OneNET device login parameters query Parameter Description: No parameter AT+ONENETUNI=? Response: status:ON P_ID:97562 AU_Info:02 S_Name:ebyte_lua Instance: AT+ONENETUNI=? Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 34 < Period >:heartbeat period in seconds (1~300) AT+KEEPALIVE=<ON/OFF>,<Period>,<l <Len>: the length of the heartbeat packet (1~31) en><Info> <Info>: heartbeat packet content (length less than 32 hexadecimal digits) Response: Keepalive set OK Example: AT+KEEPALIVE=ON,50,5,0011223344 or AT+KEEPALIVE=OFF Return: Keepalive set OK Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 35: Related Models

    2. Radio in the warranty period, if due to the quality of the product itself and not man-made damage or damage caused by natural disasters such as lightning strikes, enjoy free warranty; please do not repair the user, the problem is to get in touch Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 36: Important Statement

    Users of this product should visit the official website to pay attention to the product dynamic, so that users can get the latest information of this product in time. Versions Revision Date Revision Notes Maintaining people 2019-12-7 Initial Version 2020-12-10 Content Revision Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 37 E103-W02DTU User Manual About us Technical support: 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 ------------------------------------------------------------------------------------------------- Phone: +86 028-61399028 Web: https://www.cdebyte.com Address: B5 Mould Park, 199# Xiqu Ave, High-tech District, Sichuan, China...

Table of Contents