background image

IOT-WORKSHOP

DTU-H10X

 

Wi-Fi/Ethernet to RS485/RS232  Server User Manual  

 

http://www.iotworkshop.com

 

 

DTU-H10X 

Wi-Fi/Ethernet to RS232/RS485 Server 

User Manual 

V1.1 

Overview of C

haracteristic 

 

Embedded

 UART to Wi-Fi device, hardware  flow  

control (RTS/CTS) RS232

 interface  

 

 Support 

IEEE802.11b/g/n

 Wireless standards  

 

 Support 

TCP/UDP/HTTP

 Network Protocols  

 

Support

 SSL

 Encryption 

 

Support 

Telnet

 Communication 

 

 Support 

RS232/RS485/Ethernet Data

 Interface 

 

 RS232 RS485 automatic switching 

 

 Support Work As 

STA/AP/AP+STA 

Mode  

 

 Support 

Router/Bridge

 Mode Networking  

 

 Support 

AT+ Instruction Set

 for Configuration  

 

 Support Friendly 

Web Configuration

 Page  

 

 Single 

5~18V DC

 Power Supply  

 

 Size: 

84 x 84 x 25

mm  

 

 FCC/CE/TELEC/RoHs 

Certificated  

 

Содержание DTU-H10X

Страница 1: ...32 interface Support IEEE802 11b g n Wireless standards Support TCP UDP HTTP Network Protocols Support SSL Encryption Support Telnet Communication Support RS232 RS485 Ethernet Data Interface RS232 RS4...

Страница 2: ...Ethernet Interface Communication 18 2 2 1 Ethernet Interface Networking As AP N Ver 19 2 2 2 Ethernet Interface Networking As STA N Ver 19 2 2 3 Ethernet Interface Networking As STA Z Ver 20 3 FUNCTI...

Страница 3: ...cal Application Examples 38 4 3 1 Wireless Control Application 38 4 3 2 Remote Management Application 38 4 3 3 Transparent Serial Port Application 39 4 3 4 Wireless Data Acquisition Card Application 3...

Страница 4: ...5 2 2 43 AT STTC 59 5 2 2 44 AT DOMAIN 59 5 2 2 45 AT FRLDEN 60 5 2 2 46 AT RELD 60 5 2 2 47 AT Z 60 5 2 2 48 AT MID 60 5 2 2 49 AT WRMID 60 5 2 2 50 AT VER 61 5 2 2 51 AT H 61 5 2 2 52 AT FVEW 61 5 2...

Страница 5: ...address confliction when apply DTU 70 Q7 PC works as server all DTUs works as data acquisition card and connect with PC how to configure this application 70 Q8 DTU works in STA mode how does the PC g...

Страница 6: ...erface Setting Page 32 Figure 22 Application Setting Page 32 Figure 23 Ethernet Setting Page 33 Figure 24 HTTPD Client Mode Page 34 Figure 25 Device Management Page 34 Figure 26 STA Interface Debug Co...

Страница 7: ...1 LIST OF TABLES Table 1 DTU H10X Technical Specifications 9 Table 2 DTU H10X External Interface 10 Table 3 RS232 Interface 11 Table 4 RJ45 Interface 12 Table 7 Serial Command Mode 22 Table 5 The devi...

Страница 8: ...0 1 Created on 01 27 2016 Ed V0 2 Update AT command list and add Q A Ed V1 0 Update GPIO function Ed V1 1 Add Telnet functio firmware version at least 1 8 add TCPB SSL function firmware version has TL...

Страница 9: ...Max 802 11g 18 dBm Max 802 11n 15 dBm Max Receiver Sensitivity 802 11b 89 dBm 11Mbps CCK 802 11g 81dBm 54Mbps OFDM 802 11n 71dBm HT20 MCS7 Antenna Option External 3dBi Antenna Port Number 2 1 x RS232...

Страница 10: ...TU H10X External Interface Function Name Description External Interface RJ45 Ethernet 10 100M Ethernet RS232 RS232 Communication RS485 RS485 Communicaton DC5 18V DC Power 5 18V Input LED Indicator Pow...

Страница 11: ...oss 5 5 direct 7 8 no connection see the following table for pin defination Figure 2 RS232 Pin Defination Male Needle Type Table 3 RS232 Interface Pin Number Name Description 2 RXD Receive Data 3 TXD...

Страница 12: ...Data 4 PHY VCC Transformer Tap Voltage 5 PHY VCC Transformer Tap Voltage 6 RX Receive Data 7 N C None Connect 8 N C None Connect 1 2 5 Button Interface This Button is used for restore device to facto...

Страница 13: ...13 1 2 6 Mechanical Size DTU H10X device physical size as follows Figure 4 DTU H10X Mechanical Dimension 1 2 7 Order Information Base on customer detailed requirement DTU HXXX series product provide...

Страница 14: ...Device Difference Device difference is as following Type RS232 RS485 Ethernet Input Voltage Size mm DTU H100 5 18V 84x84x25 DTU H101 5 18V 84x84x25 DTU H101 5 18V 84x84x25 1 2 9 Package Information 1...

Страница 15: ...es AP that is the wireless Access Point the founder of a wireless network and the centre of the network nodes The wireless router we use at home or in office may be an AP STA short for Station each te...

Страница 16: ...to user device via RS232 RS485 interface in such AP network structure the whole coverage of a wireless network can be extended easily Phone Laptop PLC Device Tablet W ir e le s s C o n n e c ti o n R...

Страница 17: ...ame time device s AP interface is also active and permit phone PAD to connect then phone PAD can control user device and and setting the device parameters The advantage of AP STA mode is Users can eas...

Страница 18: ...10 10 100 101 IP 10 10 100 102 AP IP 10 10 100 254 STA IP 10 10 101 100 AP IP 10 10 101 254 AP AP STA Figure 10 One AP and One STA Application Notes The AP and STA part of device IP must be set in di...

Страница 19: ...For above networking device works as AP and also the centre of this network All devices IP address in this network shall use the same network segment with device and they can intercommunication with...

Страница 20: ...ireless IP 192 168 1 102 STATIC IP 192 168 1 10 Figure 13 Ethernet Interface Networking As STA Z Ver For above networking device works as STA and device configured as bridge mode AT FVER z When device...

Страница 21: ...g play serial data port and reduces user complexity In this mode user should only configure the necessary parameters After power on the device can automatically connect to the default wireless network...

Страница 22: ...it is a long connection it sends data and keep the connection until receive new data to change the target address Valid only in TCP communication Bit2 0 IP 1 Domain Name Indicate that the target addre...

Страница 23: ...data 1 Sum Check 0x0f 0x00 0x00 0x00 0x21 0x00 0x85 0x00 0xA8 0xC0 0x01 0x0f 3 2 3 HTTPD Client Mode This mode is used to send data to HTTP server It can be set by AT command or Webpage Note that AT...

Страница 24: ...terface Setting Page user can click Search button to find the surrounding AP and select a AP to connect Figure 14 Search Page 3 3 4 Address Binding The device supports the feature of binding the BSSID...

Страница 25: ...me if UART port received data can t reach auto frame trigger length then device will transmitting available data to the network and bypass the auto frame trigger length condition Detailed UART auto fr...

Страница 26: ...onnect to a remote server in order to achieve remote control Figure 16 Dual Socket Working Data Flow 3 6 TCP Password Authentication This feature is available only on Socket A TCP server mode when the...

Страница 27: ...STA Parameters When device is in the STA mode if it loose network signal when the signal is too low it will automatically switch to the other AP network switching network automatically restart This f...

Страница 28: ...f deviceis active live or need to re boot When device switches to command mode it will output 0 which used to distinguish work mode and command mode Notes This function is user selected factory settin...

Страница 29: ...Step 2 After wireless connection OK Open Wen browser and access http 10 10 100 254 Step 3 Then input user name and password in the page as following and click OK button Figure 17 Open Web Management p...

Страница 30: ...se the Ethernet ports and set up the corresponding work mode UART Setting set serial port parameters including baud rate parity bit 485 functions and so on Network Setting set network parameters Only...

Страница 31: ...e Setting Page This page use to setting the parameters when device works as AP Figure 20 AP Interface Setting Page 4 1 5 STA Interface Setting Page This page use to setting the parameters when device...

Страница 32: ...age use to setting the parameters of serial port communication such as UART setting and high layer network protocol setting which used support serial communication Figure 22 Application Setting Page N...

Страница 33: ...device working as TCP Server IP address not required in this mode User must set the IP address of the device which need communicate with device Also the Port ID between two sides of the communication...

Страница 34: ...tworkshop com 34 Figure 24 HTTPD Client Mode Page 4 1 9 Device Management Page This page use to manage device general setting such as administrator setting restart device button restore factory defaul...

Страница 35: ...sed to debug serial and Ethernet port Serial Debugging Software ComTools Serial Debugging Software Accessport Ethernet Debugging Software TCPUDPDbg 4 2 2 Network Connection User can select two methods...

Страница 36: ...ls Serial Debug Tools PC2 open TCPUDPDbg program and create a new connection If The device configured as Server mode TCPUDPDbg Tools shall create Client mode connection Or otherwise create a Server mo...

Страница 37: ...PUDPDbg Tools Setting Then click Create button to create a connection Figure 31 TCPUDPDbg Tools Connection Now in transparent transmission mode The device default setting data can be transferred from...

Страница 38: ...n For this wireless control application The device works as AP mode Device s serial port connects to user device So control agent Smart phone for this example can manage and control the user device th...

Страница 39: ...ansparent Serial Port Application For up side device configured as AP mode and use default SSID and IP address changed to 10 10 101 254 network protocol configured as TCP Server mode and protocol port...

Страница 40: ...ient 10 10 100 100 8899 IP 10 10 100 100 Net Prot TCP Server 8899 Figure 35 Wireless Data Acquisition Card Application As above figure one The device configured as AP mode and all others configured as...

Страница 41: ...rameters setting as below figure Figure 36 The device Default UART Port Parameters In configuration mode user can setting the device through AT instruction set which cover all web page setting functio...

Страница 42: ...Instruction through hyper terminal or other serial debug terminal also can program the AT Instruction to script User can also input AT H to list all AT Instruction and description to start Figure 38...

Страница 43: ...Error Code Table 6 Error Code DescribtionThe device Web Access Default Setting Error Code Description 1 Invalid Command Format 2 Invalid Command 3 Invalid Operation Symbol 4 Invalid Parameter 5 Operat...

Страница 44: ...Set Query TCPB port number TCPADDB Set Query TCPB server address TCPTOB Set Query TCPB time out time TCPLKB Query TCPB link status NTCPBSSLEN Set Query TCPB SSL function EPHY Open Close ETH interface...

Страница 45: ...port IP CR LF CR LF Set Operation AT NETP protocol CS port IP CR ok CR LF CR LF Parameters protocol TCP UDP CS Network mode SERVER CLIENT Port protocol port ID Decimal digit and less than 65535 IP Se...

Страница 46: ...nction Format Query Operation AT UARTF CR ok para CR LF CR LF Set Operation AT UARTF para CR ok CR LF CR LF Parameters para disable Close auto frame function enable Open auto frame function 5 2 2 6 AT...

Страница 47: ...eters status on off enable disable Modbus function 5 2 2 9 AT TMODE Function Set Query data transmition mode Format Query Operation AT TMODE CR ok tmode CR LF CR LF Set Operation AT TMODE tmode CR ok...

Страница 48: ...h OPEN effective WEP H When auth OPEN or SHARED effective HEX format WEP A When auth OPEN or SHARED effective ASCII format TKIP When auth WPAPSK effective AES When auth WPAPSK effective key password A...

Страница 49: ...AT WSKEYC CR ok auth encry key CR LF CR LF Set Operation AT WSKEYC auth encry key CR ok CR LF CR LF Parameters auth Authentication mode OPEN SHARED WPAPSK encry Encryption algorithm NONE When auth OPE...

Страница 50: ...tive for The device works as STA After device boots up again the setting will be effective But user can set this command when device configured as AP The default is DTU H10X_AP2 5 2 2 16 AT WSSSIDC Fu...

Страница 51: ...nnection AP SSID AP s MAC if WiFi connection available RF Off if WiFi OFF This Instruction only effective for The device works as STA After device boots up again the setting will be effective But user...

Страница 52: ...k auth encry key CR LF CR LF Set Operation AT WAKEY auth encry key CR ok CR LF CR LF Parameters auth Authentication mode OPEN SHARED WPAPSK encry Encryption algorithm NONE When auth OPEN effective WEP...

Страница 53: ...ters When Query sta reply if the device in sleep mode On Device not in sleep mode WiFi ON Off Device in sleep mode WiFi OFF When Set Off Set device to sleep mode WiFi OFF On Set device to normal mode...

Страница 54: ...server and not connect again 5 2 2 27 AT WANN Function Set Query WAN setting only effective as STA mode Format Query Operation AT WANN CR ok mode address mask gateway CR LF CR LF Set Operation AT WAN...

Страница 55: ...n Enable Disable LAN DHCP server function Format Query Operation AT DHCPDEN CR ok sta CR LF CR LF Set Operation AT DHCPDEN sat CR ok CR LF CR LF Parameters sta if Enable Disable LAN DHCP server functi...

Страница 56: ...connection When configure as TCP Server The device support maxime 32 TCP connections If not require so much connection user can resetting this parameters 5 2 2 33 AT TCPB Function Open Close TCPB func...

Страница 57: ...vice boots up again the setting will be effective 5 2 2 36 AT TCPTOB Function Set Query TCPB time out time Format Query Operation AT TCPTOB CR ok time CR LF CR LF Set Operation AT TCPTOB time CR ok CR...

Страница 58: ...mode CR ok CR LF CR LF Parameters mode Register packet type id id type mac mac type off disable this function default value 5 2 2 40 AT REGTCP Function Set Query methods of TCP Client register packet...

Страница 59: ...ETH interface Format Set Operation AT EPHY CR ok CR LF CR LF Ethenet port function is disabled bydefault Input this command to enable Ethenet This command is not saved this means after the device res...

Страница 60: ...pin function Notes AT FRLDEN is F Setting means restore to factory setting will not affect this command 5 2 2 46 AT RELD Function Restore to factory default setting Format AT RELD CR ok rebooting CR L...

Страница 61: ...2 2 52 AT FVEW Function Enable Disable Ethernet WANN mode It s valid only if restore to factory setting Format Query Operation AT FVEW CR ok status CR LF CR LF Set Operation AT FVEW status CR ok CR L...

Страница 62: ...C address is AP s MAC address plus 1 For example AP address ACCF23208888 then STA address ACCF23208889 5 2 2 55 AT PING Function PING command Format Set Operation AT PING address CR ok status CR LF CR...

Страница 63: ...client mode setting is valid after reboot Format Query Operation AT HTPURL AT HTTPPH CR ok Path CR LF CR LF Set Operation AT HTPURL AT HTTPPH Path CR ok CR LF CR LF Parameters Path 1 50 length devault...

Страница 64: ...Parameters type HTTP format new new HTTP format mode default mode old old HTTP format mode Reserved 5 2 2 62 AT HTPHEAD Function Query Set device new http format header it is valid only in httpdclient...

Страница 65: ...thernet to RS485 RS232 Server User Manual http www iotworkshop com 65 ok password CR LF CR LF Set Operation AT FASWD password CR ok CR LF CR LF Parameters password scan password 1 100 length the defau...

Страница 66: ...terface Setting Page Network Protocal TCP Client Port ID 8899 Application IP address Module 1 s LAN IP address 10 10 100 254 See Application Setting Page Notes When DTU 2 works as STA mode DTU s WiFi...

Страница 67: ...100 100 See Application Setting Page DTU 2 Setting Works as STA mode See Mode Selection Page WAN connection type Static IP 10 10 100 100 See STA Interface Setting Page Network Protocal UDP Port ID 88...

Страница 68: ...rk Protocols TCP Server Protocol TCP Client Application IP address required it s target TCP server s IP address Port ID required 8899 Default Figure 44 DTU Network Protocol TCP Client Protocol UDP No...

Страница 69: ...age WAN connection type Static IP 10 10 100 100 See STA Interface Setting Page Network Protocal TCP Server Port ID 8899 See Application Setting Page LAN IP address 10 10 99 254 Different net segment w...

Страница 70: ...internal network the available IP address range can start from 10 10 100 1 to 10 10 100 99 Q7 PC works as server all DTUs works as data acquisition card and connect with PC how to configure this appl...

Страница 71: ...0 8899 WIFI PC IP 10 10 100 100 TCP Server 8899 MCU UART Figure 47 Wireless Data Acquisition Card Setting Q8 DTU works in STA mode how does the PC get the DTU IP address The DTU device supports UDP se...

Страница 72: ...32 Server User Manual http www iotworkshop com 72 APPENDIX B RECOMMEND TOOLST Debug Tools download link http pan baidu com s 1i413aUL include the following tools B 1 UART Tools SecureCRT Accessport B...

Страница 73: ...acter DTU firmware required at least 4 02 11 DTU 1 8 TLS b Telnet support one TCP client c Telnet port 23 d Telnet will be close if no data is sent in 3 minutes C 3 Telnet Usage a Config the Secure CR...

Страница 74: ...l show DTU when login is OK Telnet support 2 level directory The root DTU directory input help to check the root directory command supported cmd enter AT command mode uart str send UART data in String...

Страница 75: ...rnet to RS485 RS232 Server User Manual http www iotworkshop com 75 d Input quit to get back to the upper level directory and input uart str or uart hex to enter data transfer mode Then the UART and th...

Страница 76: ...with r n If there is 0x0d and 0x0a in the data itself Then please usethe UART HEX mode to transfer data DTU UART HEX directory The client send data r n the device will delete the last r n and send th...

Страница 77: ...http www iotworkshop com 77 Step 3 Device send 0xFF 0xFB 0x01 to disable telnet input display Step 4 Device send password the PC feed back with password Step 5 Device send 0xFF 0xFC 0x01 to enable tel...

Страница 78: ...I O T W O R K S H O P DTU H10X Wi Fi Ethernet to RS485 RS232 Server User Manual http www iotworkshop com 78...

Страница 79: ...32 Server User Manual http www iotworkshop com 79 APPENDIX C CONTACT INFORMATION Web Site http www iotworkshop com Business Contact business iotworkshop com Technical Contact support iotworkshop com A...

Отзывы: