DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
1
DTU-H100
Wi-Fi/Ethernet to RS232/RS485 Server
User Manual
V1.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
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 25mm
FCC/CE/TELEC/RoHs Certificated
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
Table 7 AT+ Instruction Set List ................................................................................................ ......44
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
8
HISTORY
Ed. V0.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 TLS word support this feature,AT+VER::4.02.11.DTU-1.8-TLS),Add DTU-H101、
DTU-H102 Type.
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
9
FCC STATEMENT :
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two
conditions:
(1) This device may not cause harmful interference, and
(2) This device must accept any interference received, including interference that may cause
undesired operation.
Warning: Changes or modifications not expressly approved by the party responsible for
compliance could void the user's authority to operate the equipment.
NOTE: This equipment has been tested and found to comply with the limits for a Class B digital
device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable
protection against harmful interference in a residential installation. This equipment generates
uses and can radiate radio frequency energy and, if not installed and used in accordance with the
instructions, may cause harmful interference to radio communications. However, there is no
guarantee that interference will not occur in a particular installation. If this equipment does cause
harmful interference to radio or television reception, which can be determined by turning the
equipment off and on, the user is encouraged to try to correct the interference by one or more of
the following measures:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit different from that to which the receiver is
connected.
Consult the dealer or an experienced radio/TV technician for help.
FCC Radiation Exposure Statement:
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled
environment. This equipment should be installed and operated with minimum distance 20cm
between the radiator & your body.
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
12
Function
Name
Description
Button
Reload
Restore to Factory Setting Button
Long Press this button for 3 seconds and
loosen, the device will restore to factory
setting in 10 seconds.
Pin Number
Name
Description
2
RXD
Receive Data
3
TXD
Send Data
5
GND
GND
7
RTS
Request to Send
8
CTS
Clear to Send
9
VCC
Defualt not used. May connect the jumper of
the DTU main board to make this pin
connected with DTU DC power supply.
1.2.2. RS232 Interface
Device serial port is male(needle), RS232 voltage level(can connect to PC directly), Pin Order is
cosistent with PC COM port. Use cross Cable connected with PC(2-3 cross, 7-8 cross, 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
1.2.3. RS485 Interface
RS485 use two wire links, A(DATA+), B(DATA-). Connect A(+) to A(+), B(-) to B(-) for
communication.
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.
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
13
Pin Number
Name
Description
1
TX+
Transfer Data+
2
TX-
Transfer Data-
3
RX+
Receive 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
Figure 3. RJ45 Pin Defination
Table 4 RJ45 Interface
1.2.5. Button Interface
This Button is used for restore device to factory setting. When device is working(Ready LED on),
Press down this Button for more than 3 seconds and then lose, the device will reboot and restore
to factory setting in 10 seconds(Ready LED will be off when reboot, then it will on for boot OK).
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
14
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.
Figure 5. DTU-HXXX Series Order Information
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
15
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.8. Device Difference
Device difference is as following.
1.2.9. Package Information
1 * DTU-HXXX
1 * 5V/1A Power Adapter
1 * Serial Cable(Only for DTU-H100)
1 * Ethernet Cable(Only for DTU-H100)
1 * 3dBi Antenna
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
16
Phone
Laptop
PLC Device
Tablet
Wi
-
Fi Link
Wi
-
Fi Link
Wi-Fi Link
RS
232
/
RS
485
DTU Device AP Mode
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. Wireless
Networking is very flexible.
Following figure shows the functional architecture:
Figure 6. DTU-H1XX Functional Architecture
Notes:
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 terminal connects to a wireless network (such as laptops, PDA and
other networking devices) can be called with a STA device.
2.1.1. AP Application
Infrastructure: it‟s also called basic network. It built by AP and many STAs which join in.
The characters of network of this type are that AP is the centre, and all communication between
STAs is transmitted through the AP. The figure following shows such type of networking.
http://www.iotworkshop.com
Figure 7.DTU AP Application
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
17
Phone
Laptop
PLC Device
Tablet
Wireless Connection
RS
232
/
RS
485
DTU Device STA Mode
Server
Server
WWW. Network Cloud
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.
2.1.3. AP+STA Applicatioin
The DTU support AP+STA network mode, means device support one AP interface and one STA
interface at the same time, as following figure.
Figure 8. DTU STA Application
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
18
Phone
Laptop
PLC Device
Tablet
Wireless Connection
RS
232
/
RS
485
DTU Device AP+STA Mode
Server
Server
AP
STA
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
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 easily setting and track user device through Phone/PAD and not change the
Users can easily setting device‟s parameters through WiFi when device works as STA
AP+STA Mode Setting:
AP+STA mode need serial AT command to enable as follows:
AT+FAPSTA=on, Enable AP+STA mode;
AT+WMODE=STA, when configure device works as STA mode, it‟s AP interface still
AP+STA Mode Notes:
http://www.iotworkshop.com
Figure 9. DTU AP+STA Application
orginal network setting.
mode.
active;
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.
2.1.4. One AP One STA Applicatioin
Figure 10. One AP and One STA Application
Notes:
The AP and STA part of device IP must be set in different subnetwork as the above picture.
2.2. Ethernet Interface Communication
Device provides one 10/100M Ethernet interface. With this Ethernet interface, user can easily
realize the three interface (WiFi, RS232/RS485, and Ethernet) intercommunication and
networking. Device can configured as Bridge Mode or Router Mode base on different
networking technology.
Notes: The Ethernet function is enabled by default. Users may input “AT+FEPHY=on/off" and
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
20
Phone
Laptop
Tablet
Wi
-
Fi Link
Wi
-
Fi Link
Wi-Fi Link
RJ
45
Ethernet
DTU Device AP Mode
Laptop
AP
IP:10.10.100.254
IP:10.10.100.100
IP:10.10.100.101IP:10.10.100.102
IP:10.10.100.2
Laptop
Wireless
RJ45 Ethernet
Ethernet IP:10.10.100.254
STA IP:192.168.1.100
IP:10.10.100.100
Laptop
IP:192.168.1.1
Wireless
IP:192.168.1.102
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).
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 this method.
For above networking, device works as STA(Firmware is N-Version),and device configured as
router mode. When device connect to AP, it will get wireless port IP address from AP(For
example: 192.168.1.100).At the same time, device also form a subnet(Default 10.10.100.254)
and all devices connected to device Ethernet interface will get assigned IP address(For example:
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
21
Laptop
Wireless
RJ45 Ethernet
IP:192.168.1.101
Laptop
IP:192.168.1.1
Wireless
IP:192.168.1.102
STATIC IP:192.168.1.10
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.
For above networking, device works as STA and device configured as bridge mode(AT+FVER=z).
When device connect to AP, all devices connected to device Ethernet interface will get assigned
IP address from AP (For example: 192.168.1.101).For device works as bridge mode, it can be
treated as a transparent device and PC1, PC2 can communicate without any limit. But in this
networking, device needs assign a static LAN IP address (For example: 192.168.1.10) if device
also needs communication with AP or configuration through web page.
http://www.iotworkshop.com
DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
22
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.
Protocol Type
Link Type(Server or Client)
Target Port ID Number
Target Port IP Address
Serial Port Parameters
Baud Rate
Data Bit
Parity (Check) Bit
Stop Bit
Hardware Flow Control
Work Mode Selection
Transparent/Agreement/HTTPD Client mode(AT+TMODE to set)
The following introduce the work mode in detail.
3.2. Working Mode
3.2.1. Transparent Transmission Mode
The device support serial interface transparent transmissioin mode. The benefit of this mode is to
achieve a plug, 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 and server. Use AT+NETP and AT+TCPB command to set the
communication parameters.
As in this mode, the device 's serial port always work in the transparent transmission mode, so
users only need to think of it as a virtual serial cable, send and receive data as using a simple
serial. In other words, the serial cable of users'original serial devices are directly replaced by the
DTU device, user devices can be easy for wireless data transmission without any changes.
The transparent transmission mode can fully compatible with user's original software platform and
reduce the software development effort for integrate wireless data transmission.
Notes: Users may also enable the serial port hardware flow control(CTS/RTS) function, so that
we can make the bit error rate to a minimum. If the user doesn't need hardware flow control
function of the serial port, only need to make the CTS/RTS unconnected.
http://www.iotworkshop.com
Loading...
+ 51 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.