IOT DTU-H100 User Manual Download Page 1

iotworkshop

DTU-H100

 

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

 

http://www.iotworkshop.com

 

 

DTU-H100 

Wi-Fi/Ethernet to RS232/RS485 Server 

User Manual 

V0.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 

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  

 

Summary of Contents for DTU-H100

Page 1: ...e flow control RTS CTS RS232 interface Support IEEE802 11b g n Wireless standards Support TCP UDP HTTP Network Protocols Support RS232 RS485 Ethernet Data Interface RS232 RS485 automatic switching Sup...

Page 2: ...net Interface Communication 17 2 2 1 Ethernet Interface Networking As AP N Ver 18 2 2 2 Ethernet Interface Networking As STA N Ver 18 2 2 3 Ethernet Interface Networking As STA Z Ver 19 3 FUNCTION DES...

Page 3: ...g 34 4 3 Typical Application Examples 36 4 3 1 Wireless Control Application 36 4 3 2 Remote Management Application 37 4 3 3 Transparent Serial Port Application 37 4 3 4 Wireless Data Acquisition Card...

Page 4: ...XSK 52 5 2 2 27 AT TCPB 52 5 2 2 28 AT TCPPTB 53 5 2 2 29 AT TCPADDB 53 5 2 2 30 AT TCPTOB 53 5 2 2 31 AT TCPLKB 54 5 2 2 32 AT EPHY 54 5 2 2 33 AT STTC 54 5 2 2 34 AT DOMAIN 54 5 2 2 35 AT FRLDEN 55...

Page 5: ...9 Figure 19 Mode Selection Page 29 Figure 20 AP Interface Setting Page 30 Figure 21 STA Interface Setting Page 31 Figure 22 Application Setting Page 31 Figure 23 Ethernet Setting Page 32 Figure 24 HTT...

Page 6: ...w o r k s h o p DTU H100 Wi Fi Ethernet to RS485 RS232 Server User Manual http www iotworkshop com 6 Table 6 Error Code DescribtionThe device Web Access Default Setting 42 Table 7 AT Instruction Set L...

Page 7: ...i o t w o r k s h o p DTU H100 Wi Fi Ethernet to RS485 RS232 Server User Manual http www iotworkshop com 7 HISTORY Ed V0 1 Created on 01 27 2016...

Page 8: ...81dBm 54Mbps OFDM 802 11n 71dBm HT20 MCS7 Antenna Option External 3dBi Antenna Port Number 2 1 x RS232 1x RS485 UART Port Interface Standard RS232 DB9 Pin Type RS485 2 wire A B Data Bits 5 6 7 8 Stop...

Page 9: ...terface RJ45 Ethernet 10 100M Ethernet RS232 RS232 Communication RS485 RS485 Communicaton DC5 18V DC Power 5 18V Input LED Indicator Power 3 3V Internal Power Supply Indicator Ready Boot Indicator On...

Page 10: ...on 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 Send Data 5 GND GND 7 RTS Requ...

Page 11: ...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...

Page 12: ...12 1 2 6 Mechanical Size DTU H100 device physical size as follows Figure 4 DTU H100 Mechanical Dimension 1 2 7 Order Information Base on customer detailed requirement DTU HXXX series product provide...

Page 13: ...shop com 13 1 2 8 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 H102 5 18V 84x84x25 1 2 9 Pack...

Page 14: ...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...

Page 15: ...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...

Page 16: ...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...

Page 17: ...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...

Page 18: ...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...

Page 19: ...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...

Page 20: ...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...

Page 21: ...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...

Page 22: ...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...

Page 23: ...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...

Page 24: ...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...

Page 25: ...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...

Page 26: ...tiple 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 T...

Page 27: ...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...

Page 28: ...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...

Page 29: ...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...

Page 30: ...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...

Page 31: ...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...

Page 32: ...e IP address of the device which need communicate with device Also the Port ID between two sides of the communication devices must keep the same 4 1 7 Ethernet Setting This page is used to set the Eth...

Page 33: ...emory information with new changes 4 2 The device Usage Introduction 4 2 1 Software Debug Tools Recommend to use two common software tools debugging and applying device User can also select other tool...

Page 34: ...r user device connect to device with serial port Laptop RS232 RS485 Laptop Figure 27 AP Interface Debug Connection 4 2 3 Device Debug PC1 open CommTools program setting the same serial port parameters...

Page 35: ...485 RS232 Server User Manual http www iotworkshop com 35 Figure 29 TCPUDPDbg Tools Create Connection Then setting the TCP UDP connection parameters Default as following Figure 30 TCPUDPDbg Tools Setti...

Page 36: ...PDbg program or in reverse You can see data in receiver side will keep same as in sender side 4 3 Typical Application Examples 4 3 1 Wireless Control Application PLC Device RS232 RS485 Figure 32 Wirel...

Page 37: ...TA mode and connects to Internet through wireless AP Device configured as TCP Client and communicates with remote TCP server at Internet Device s serial port connects to user device So user device s d...

Page 38: ...etwork and network protocol configured as TCP Client mode protocol port ID 8899 Target IP address part setting the same IP address with up side device 10 10 101 254 for this example When down side dev...

Page 39: ...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...

Page 40: ...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...

Page 41: ...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...

Page 42: ...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...

Page 43: ...TCPB function TCPPTB Set Query TCPB port number TCPADDB Set Query TCPB server address TCPTOB Set Query TCPB time out time TCPLKB Query TCPB link status EPHY Open Close ETH interface STTC Enable Disabl...

Page 44: ...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...

Page 45: ...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...

Page 46: ...Parameters tmode Data transmition mode Through Transparent transmition After device boots up again the setting will be effective 5 2 2 9 AT WMODE Function Set Query WIFI work mode Format Query Operati...

Page 47: ...get AP SSID parameters as STA Format Query Operation AT WSSSID CR ok ap s ssid CR LF CR LF Set Operation AT WSSSID ap s ssid CR ok CR LF CR LF Parameters ap s ssid AP s SSID This Instruction only effe...

Page 48: ...ode ssid channel CR LF CR LF Set Operation AT WAP wifi_mode ssid channel CR ok CR LF CR LF Parameters wifi_mode WiFi protocols 11BG 11B 11G 11BGN 11N ssid SSID when device works as AP channel WIFI cha...

Page 49: ...s AP After device boots up again the setting will be effective But user can set this command when device configured as STA 5 2 2 16 AT HIDESSID Function Set Query hide AP s SSID Format Query Operation...

Page 50: ...hed 5 2 2 19 AT TCPLK Function Query if TCP link already build up Format AT TCPLK CR ok sta CR LF CR LF Parameters sta if device already setup TCP link on TCP link setup off TCP link not setup 5 2 2 2...

Page 51: ...nfigured as AP 5 2 2 22 AT LANN Function Set Query LAN setting only effective as AP mode Format Query Operation AT LANN CR ok address mask CR LF CR LF Set Operation AT LANN address mask CR ok CR LF CR...

Page 52: ...Operation AT TCPTO CR ok time CR LF CR LF Set Operation AT TCPTO time CR ok CR LF CR LF Parameters time TCP timeout time 600 600s 0 0 means no timeout Default 300s 5 2 2 26 AT MAXSK Function Set Query...

Page 53: ...t number Format Query Operation AT TCPPTB CR ok port CR LF CR LF Set Operation AT TCPB port CR ok CR LF CR LF Parameters port decimal 65535 After device boots up again the setting will be effective 5...

Page 54: ...ilabe 5 2 2 32 AT EPHY Function Enable 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...

Page 55: ...LF CR LF Parameters on off Enable or Disable nReload pin function On enable nReload pin function Off disable nReload pin function Notes AT FRLDEN is F Setting means restore to factory setting will not...

Page 56: ...1 AT H Function Help Format Query Operation AT H CR ok commod help CR LF CR LF Parameters commod help command introduction 5 2 2 42 AT FVEW Function Enable Disable Ethernet WANN mode It s valid only i...

Page 57: ...efault mode z bridge mode 5 2 2 44 AT WMAC Function Set Query device MAC address Format Query Operation AT WMAC CR ok address CR LF CR LF Set Operation AT WMAC address CR ok CR LF CR LF Parameters add...

Page 58: ...32 Server User Manual http www iotworkshop com 58 APPENDIX A CONTACT INFORMATION Web Site http www iotworkshop com Business Contact business iotworkshop com Technical Contact support iotworkshop com A...

Reviews: