Page 1
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual DTU-H100 Wi-Fi/Ethernet to RS232/RS485 Server User Manual V0.1 Overview of Characteristic 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 ...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual TABLE OF CONTENTS PRODUCT OVERVIEW ....................... 8 1.1. General Specification ......................8 1.2. Hardware Introduction ......................9 1.2.1. Interface Description ......................9 1.2.2. RS232 Interface ....................... 10 1.2.3. RS485 Interface ....................... 10 1.2.4.
Page 3
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 3.12. Palmodic Signal ......................... 26 3.13. Firmware Upgrade ......................27 OPERATION GUIDELINE ......................28 4.1. Configuration via Web Accessing ..................28 4.1.1. Open Web Management Interface ................... 28 4.1.2. Quick Configure ....................... 28 4.1.3.
Page 4
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 5.2.2.21. AT+ WANN ....................... 50 5.2.2.22. AT+ LANN ........................ 51 5.2.2.23. AT + DHCPDEN ....................... 51 5.2.2.24. AT+ DHCPGW ......................52 5.2.2.25. AT+ TCPTO ......................52 5.2.2.26. AT+ MAXSK ......................52 5.2.2.27. AT+TCPB........................52 5.2.2.28.
Page 5
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual LIST OF FIGURES Figure 1. DTU-H100 Appearance ......................9 Figure 2. RS232 Pin Defination(Male/Needle Type) ................. 10 Figure 3. RJ45 Pin Defination ......................11 Figure 4. DTU-H100 Mechanical Dimension ..................12 Figure 5.
Page 6
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Table 6 Error Code DescribtionThe device Web Access Default Setting ......... 42 Table 7 AT+ Instruction Set List ......................42 http://www.iotworkshop.com...
Page 7
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual HISTORY Ed. V0.1 Created on 01-27-2016. http://www.iotworkshop.com...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 1. PRODUCT OVERVIEW 1.1. General Specification Table 1 DTU-H100 Technical Specifications Class Item Parameters Port Number Interface 8-Pin RJ45 Ethernet Port PHY Rate 10/100Mbps, MDI/MDIX IP/TCP/UDP/DHCP/DNS/HTTP/ARP/ Network Protocol ICMP/Web socket/Http Client Standard 802.11 b/g/n...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 1.2. Hardware Introduction Figure 1. DTU-H100 Appearance 1.2.1. Interface Description Table 2 DTU-H100 External Interface Function Name Description External RJ45 Ethernet 10/100M Ethernet Interface RS232 RS232 Communication RS485 RS485 Communicaton DC5-18V DC Power 5~18V Input Power 3.3V Internal Power Supply Indicator...
1.2.4. RJ45 Interface DTU-H100 Ethernet port is 10M/100M adaptive, support AUTO MDI/MDIX which means it support direct connecting to PC with Ethernet cable. Ethernet function is enabled by default and it can also be closed for power save via web or AT command.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 3. RJ45 Pin Defination Table 4 RJ45 Interface Pin Number Name Description Transfer Data+ Transfer Data- Receive Data+ Transformer Tap Voltage PHY-VCC Transformer Tap Voltage PHY-VCC Receive Data- None Connect N.C. None Connect N.C.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 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 different variants and physical type for detailed application.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 2. APPLICATION 2.1. Wireless Networking The device can be configured as both wireless STA and AP base on network type. Logically there are two interfaces in the device. One is for STA, and another is for AP. When the device works as AP, other STA equipments are able to connect to wireless LAN via the device.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 2.1.2. STA Application As showing in the figure below, Router works as an AP, DTU and the laptop are STAs connected to AP. Meanwhile, DTU connected to user device via RS232/RS485 interface. in such AP network structure, the whole coverage of a wireless network can be extended easily.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Server Server DTU Device AP+STA Mode PLC Device Laptop Phone Tablet Figure 9. DTU AP+STA Application When device enables AP+STA function, device's STA interface can connect with router and connect to TCP server in the network. At the same time, device's AP interface is also active and...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual When user enable AP+STA function, the STA port need to keep connected with other router (AP), or STA port will have to scan the AP frequently, which will affect AP port function and may cause some data loss.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual reset to enable/disable Ethernet. Device need different configuration to support different Ethernet Networking mode (Such as “N-Ver" and “Z-Ver" as following, which need AT+FVER=n to switch to N-Ver or AT+FVER=z to switch to Z-Ver).
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 10.10.100.100).So for above networking, PC1(left laptop) at internal subnet can initiate a connection to PC2 , but PC2 can’t active initiate a connection to PC1, they are in a different subnetwork. 2.2.3. Ethernet Interface Networking (As STA, Z-Ver)
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 3. FUNCTION DESCRIPTION 3.1. User Configuration Process When device power on, it will work as the previous setting parameter. If need to change the default working mode, need to configure the following example.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 3.2.2. Agreement(Serial Command Mode) In this mode, the user can send the serial data to a different server address, this mode can use UDP or TCP client to send data to server. Customer MCU send packets according to the following format. The device will parse the received serial data and send only the data to ther destination address.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Data: Sent data, the maximum length is 1000 bytes. Summary: The following example for reference. UART Data: 【0x55 0xaa 0x00 0x0a 0x00 0x00 0x00 0x21 0x00 0x85 0x00 0xA8 0xC0 0x01 0x0f】 Length: 【0x00 0x0a】...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 3.3. Wi-Fi Parameter Setting 3.3.1. Auto- Frequency Function When device works as STA, it will adjust its wireless channel to keep the same channel with associated AP and connect in. When device works as AP and enable Auto-frequency function, then when module boot up, it will select the best wireless channel based on surrounding environment.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual defined value (50ms default), The device will think it as the end of one frame and transfer this free-frame to WiFi port, or The device will receive UART data untill 4K bytes, then transfer 4KB frame to WiFi port.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 15. Multi-TCP Link Data Transmition Structure 3.5.2. Socket B Socket B has one work mode: TCP Client, please refer to the AT + TCPB command instruction. AT+TCPB=on, Enable TCPB function; ...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 3.7. Upload ID This function only applies to the the device as a TCP client (Socket A or Socket B), in front of the data when the device connected to the server, it will add with two bytes of ID (ID the range is 0 ~ 65535, the high byte first, and the low byte behind) plus two bytes ID radix-minus-one complement, e.g the default ID is 1111, then the "0x57 0x04 0xfb 0xa8"...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Status Two: The device will output “Palmodic Signal" after normal boot up.The palmodic signal is 0.5Hz square wave with dutyfactor 1:1. User can query this signal to judge if 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.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 4. OPERATION GUIDELINE 4.1. Configuration via Web Accessing When first use device, user may need some configuration. User can connect to device’s wireless interface with following default setting information and configure the device through laptop.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 18. Quick Configure Page This page has four configuration options and a restart, the corresponding instructions below: WI-FI Setting: set the working mode of wifi, AP mode or the STA. ...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 4.1.4. AP Interface 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 works as STA.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 21. STA Interface Setting Page 4.1.6. Application Setting Page This page use to setting the parameters of serial port communication, such as UART setting and high layer network protocol setting which used support serial communication.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual function for UDP Server mode, If set as UDP Server, the module will save the IP address and port of the latest UDP packet received. The data will be sent to the saved IP address and port. If the module hasn’t saved any IP address and port when power up.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 25. Device Management Page Notes: Restart device button: When you setting the parameters of different web pages, you will click “Apply" button to confirm the setting, but the setting take effect only after user click the “Restart"...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual RS232/RS485 Laptop Laptop Figure 26. STA Interface Debug Connection Use The device AP interface Debug PC2 connect to The device through wireless connection, another PC1 (or user device) connect to device with serial port.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 29. “TCPUDPDbg" Tools Create Connection Then setting the TCP/UDP connection parameters. Default as following: Figure 30. “TCPUDPDbg" Tools Setting Then, click “Create" button to create a connection. http://www.iotworkshop.com...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 31. “TCPUDPDbg" Tools Connection Now, in transparent transmission mode (The device default setting), data can be transferred from “CommTools" program to “TCPUDPDbg" program, or in reverse. You can see data in receiver side will keep same as in sender side.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 4.3.2. Remote Management Application DTU Device STA Mode Server Server PLC Device WWW. Network Cloud DTU Device STA Mode PLC Device Figure 33. Remote Management Application For this remote management application, The device works as STA mode and connects to Internet through wireless AP.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual AP IP: 10.10.101.254 PLC Device AP IP: 10.10.100.254 STA IP: 10.10.101.100 PLC Device Figure 34. Transparent 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 ID: 8899.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual LAN IP: 10.10.100.254 Net Prot: TCP Client 10.10.100.100:8899 IP: 10.10.100.100 Net Prot: TCP Server 8899 LAN IP: 10.10.98.254 LAN IP: 10.10.99.254 WAN IP: 10.10.100.102 WAN IP: 10.10.100.101 Net Prot: TCP Client Net Prot: TCP Client 10.10.100.100:8899...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 5. AT+INSTRUCTION INTRODUCTION 5.1. Configuration Mode When The device power up, it will default works as transparent transmission mode, then user can switch to configuration mode by serial port command. The device UART default parameters setting as below figure, Figure 36.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 1. When user input “+++" (No “Enter" key required), the UART port will display feedback information “a", and not display input information"+++" as above UART display. 2. Any other input or wrong step to UART port will cause the device still works as original mode (transparent transmission).
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual “NULL": Query the current command parameters setting; [para-n]: Parameters input for setting if required; <CR>:"Enter" Key, it’s 0x0a or 0x0d in ASCII; Notes: When input AT+Instruction, “AT+<CMD>" character will display capital letter automatic and other parts will not change as you input.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual WSLK Query WiFi link status as STA WEBU Set/Query WEB page login parameters (User Name and Password) Set/Query WIFI parameters as AP WAKEY Set/Query WIFI security parameters as AP HIDESSID Set/Query hide AP’s SSID MSLP Set devices into power save mode.(Turn OFF WiFi)
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual 5.2.2.2. AT+ENTM Function: Set device into transparent transmition mode; Format: AT+ENTM<CR> +ok<CR>< LF ><CR>< LF > When operate this command, device switch from configuration mode to transparent transmission mode. 5.2.2.3. AT+NETP ...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual data_bits: 5,6,7,8 stop_bits: parity: NONE,EVEN,ODD,MARK,SPACE flowctrl:hardware flow control (CTSRTS) NFC: No flow control FC: flow control After device boots up again, the setting will be effective.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Format: Query Operation AT+WEBU<CR> +ok=<usr,password><CR>< LF ><CR>< LF > Set Operation AT+ WEBU=< usr,password ><CR> +ok<CR>< LF ><CR>< LF > Parameters: usr: User name for WEB page access;...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Off - Device in sleep mode(WiFi OFF); When Set, Off - Set device to sleep mode (WiFi OFF); On - Set device to normal mode (WiFi ON); When device go into sleep mode, user can input “AT+MSLP=on" to re-start the device and device go into transparent transmission mode.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual AT+WANN<CR> +ok=<mode,address,mask,gateway><CR>< LF ><CR>< LF > Set Operation AT+ WANN=< mode,address,mask,gateway ><CR> +ok<CR>< LF ><CR>< LF > Parameters: mode: IP setting for WAN port static: Static IP DHCP: Dynamic IP ...
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual Query Operation AT+TCPB<CR> +ok=<sta><CR>< LF ><CR>< LF > Set Operation AT+ TCPB=<on/off><CR> +ok<CR>< LF ><CR>< LF > Parameters: sta: TCPB enable status on, TCPB enable off, TCPB disable After device boots up again, the setting will be effective.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual +ok=<time><CR>< LF ><CR>< LF > Set Operation AT+ TCPTOB=<time><CR> +ok<CR>< LF ><CR>< LF > Parameters: time: TCPB time out time, <=600 (600s), >=0 (No time out), default 300 After device boots up again, the setting will be effective.
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual APPENDIX A: CONTACT INFORMATION ------------------------------------------------------------------------------------------------------------ Web Site: http://www.iotworkshop.com/ Business Contact: business@iotworkshop.com Technical Contact: support@iotworkshop.com After Sale Contact: service@iotworkshop.com ----------------------------------------------------------------------------------------------------------- END OF DOCUMENT - 58 - http://www.iotworkshop.com...
Need help?
Do you have a question about the DTU-H100 and is the answer not in the manual?
Questions and answers