HF2211 User Manual
HF2211 User Manual
HF2211
Overview of Characteristic
MIPS MCU with 4MB Flash and 8MB SRAM. Run on eCos
Size: 95 x 65 x 25 mm (L x W x H)
FCC/CE/RoHS Certificated
http://www.iotworkshop.com -1-
HF2211 Serial Server Device User Manual
HISTORY...........................................................................................................................................4
http://www.iotworkshop.com -2-
HF2211 Serial Server Device User Manual
LIST OF FIGURES
Figure 1. HF2211 Appearance ................................................................................................................................. 8
Figure 2. HF2211 Interface ....................................................................................................................................... 9
Figure 3. HF2211 Side View ................................................................................................................................... 10
Figure 4. RS232 Pin Defination(Male/Needle Type) ............................................................................................... 11
Figure 5. HF2211 RS422 Connection ..................................................................................................................... 12
Figure 6. RJ45 Pin Defination ................................................................................................................................. 12
Figure 7. HF2211 Mechanical Dimension ............................................................................................................... 13
Figure 8. HF2211 Rail ............................................................................................................................................ 13
Figure 9. HF2211 Product Order Information ......................................................................................................... 14
Figure 11. HF2211 Function Structure ................................................................................................................... 15
Figure 12. General AP Network .............................................................................................................................. 16
Figure 13. STA Application ..................................................................................................................................... 17
Figure 14. AP+STA Wireless Network .................................................................................................................... 18
Figure 16. Configure Wi-Fi Parameter .................................................................................................................... 19
Figure 17. STA Scan Parameter............................................................................................................................. 19
Figure 18. Configure the Wi-Fi Parameter .............................................................................................................. 20
Figure 19. STA Scan .............................................................................................................................................. 20
Figure 20. Ethernet Interface Function ................................................................................................................... 21
Figure 21. Ethernet Interface Function(Router) ...................................................................................................... 22
Figure 22. Ethernet Port Function(Bridge) .............................................................................................................. 23
http://www.iotworkshop.com -3-
HF2211 Serial Server Device User Manual
LIST OF TABLES
HISTORY
Ed. V1.0 08-03-2017 First Version
http://www.iotworkshop.com -4-
HF2211 Serial Server Device User Manual
1. PRODUCT OVERVIEW
The HF2211 using highly integrated hardware and software platform. It has been optimized for all
kinds of applications in the industrial control, smart grid, personal medical application and remote
control that have lower data rates, and transmit or receive data on an infrequent basis.
The HF2211 integrates all serial to Ethernet functionality with 95 x 65 x 25mm size.
Item Parameters
System Information
Processor/Frequency MIPS/320MHz
Flash/SDRAM 4MB/8MB
Operating System eCos
Ethernet Port
1 RJ45
Port Number
1 WAN/LAN switchable
Interface Standard 10/100 Base-T Auto-Negotiation
Protection 8KV Isolation
Transformer Integrated
IP, TCP, UDP, DHCP, DNS, HTTP Server/Client, ARP,
Network Protocol BOOTP, AutoIP, ICMP, Web socket, Telnet, uPNP, NTP,
Modbus TCP
TLS v1.2
Security Protocol AES 128Bit
DES3
Wi-Fi Interface
Standard 802.11 b/g/n
Frequency 2.412GHz-2.484GHz
Network Mode STA/AP/STA+AP
Security WEP/WPAPSK/WPA2PSK
Encryption WEP64/WEP128/TKIP/ AES
802.11b: +20dBm (Max.)
Tx Power 802.11g: +18dBm (Max.)
802.11n: +15dBm (Max.)
http://www.iotworkshop.com -5-
HF2211 Serial Server Device User Manual
802.11b: -89dBm
Rx Sensitive 802.11g: -81dBm
802.11n: -71dBm
Antenna 3dBi Stick Antenna
Serial Port
Port Number 1 RS232/RS485/RS422
RS232: DB9
Interface Standard RS485/RS422: 5.08mm connector
Support one channel of RS232/RS422/RS485.
Data Bits 8
Stop Bit 1,2
Check Bit None, Even, Odd
Baud Rate TTL: 2400 bps~230400 bps
No Flow Control
Flow Control Hardware RTS/CTS、DSR/DTR
Software Xon/ Xoff flow control
Software
Http Web Configuration
Web Pages
Customization of HTTP Web Pages
Web
CLI
Configuration XML import
Telnet
IOTService PC Software
Firmware Upgrade Web
Basic Parameter
Size 95 x 65 x 25 mm
Operating Temp. -25 ~ 85°C
Storage Temp. -45 ~ 105°C, 5 ~ 95% RH(no condensation)
Input Voltage 5~36VDC
Working Current ~200mA
Power <700mW
Other Information
Certificate CE, FCC, RoHS
The HF2211 device connects serial device to Ethernet networks using the TCP/IP protocol:
⚫ Remote equipment monitoring
⚫ Asset tracking and telemetry
⚫ Security Application
⚫ Industrial sensors and controls
⚫ Medical devices
⚫ ATM machines
⚫ Data collection devices
⚫ Universal Power Supply (UPS) management units
⚫ Telecommunications equipment
⚫ Data display devices
http://www.iotworkshop.com -6-
HF2211 Serial Server Device User Manual
⚫ Handheld instruments
⚫ Modems
⚫ Time/attendance clocks and terminals
http://www.iotworkshop.com -7-
HF2211 Serial Server Device User Manual
2. HARDWARE INTRODUCTION
The HF2211 unit is a complete solution for serial port device connecting to network. This powerful
device supports a 10/100BASE-T Ethernet connection, a reliable and proven operating system stored
in flash memory, an embedded web server, a full TCP/IP protocol stack, and standards-based (AES)
encryption.
Through Ethernet cable connect router with HF2211 serial server for data transfer, which makes the
data transformation very simple. HF2211 meet EMC Class B security level, It can pass every countries
relevant certification test
http://www.iotworkshop.com -8-
HF2211 Serial Server Device User Manual
http://www.iotworkshop.com -9-
HF2211 Serial Server Device User Manual
http://www.iotworkshop.com - 10 -
HF2211 Serial Server Device User Manual
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.
RS485 use two wire links, A(DATA+), B(DATA-). Connect A(+) to A(+), B(-) to B(-) for communication.
The RS485 interface support maximum 32 485 device, special hardware version can support max 255
device. The cable maximum length is 1200 meters. Need to add 120Ohm terminal resistor for over
300 meters.
RS422 interface use T+/T-/R+/R-, cross connect to device as the following picture.
Name Description
TX+ Transfer Data+
TX- Transfer Data-
RX+ Receive Data+
RX- Receive Data-
http://www.iotworkshop.com - 11 -
HF2211 Serial Server Device User Manual
Ethernet port is 10M/100M adaptive, support AUTO MDI/MDIX which means it support direct
connecting to PC with Ethernet cable.
http://www.iotworkshop.com - 12 -
HF2211 Serial Server Device User Manual
http://www.iotworkshop.com - 13 -
HF2211 Serial Server Device User Manual
http://www.iotworkshop.com - 14 -
HF2211 Serial Server Device User Manual
3. NETWORK STRUCTURE
3.1. Wireless Network
HF2211 can be set as a wireless STA and AP as well. And logically, it supports two wireless interfaces,
one is used as STA and the other is AP. Other STA devices can join into the wireless network through
AP interface. So the it can provide flexible networking method and network topology. Functions is as
follow:
<Introductions>
AP: Wireless access point which is the central joint. Usually, wireless router is a AP, other STA
devices can connect with AP to join the network.
STA: Wireless station which is terminal of a wireless network. Such as laptop and pad etc.
3.1.1. AP Network
HF2211 can construct a wireless network as AP. All the STA devices will consider the AP as the
centre of the wireless network. The mutual communication can be transponded by AP,shown as follow:
http://www.iotworkshop.com - 15 -
HF2211 Serial Server Device User Manual
Take the following picture as example. When router works in AP mode, HF2211 connects to the
user’s devices by RS232/RS485 interface. In this topology, the whole wireless network can be easily
stretched.
http://www.iotworkshop.com - 16 -
HF2211 Serial Server Device User Manual
HF2211 can support AP+STA method. It can support AP and STA interface at the same time.Shown
as follow:
http://www.iotworkshop.com - 17 -
HF2211 Serial Server Device User Manual
In this picture, HF2211 open the AP+STA function and the STA interface can be connected to the
remote server by the router. Similarly, the AP interface can also be used. Phone/PAD can be
connected to the AP interface and to control the serial devices or set itself.
Through AP+STA function, it is convenient to use Phone/PAD to monitor the user’s devices and not
change its original settings.
Through AP+STA function, it is convenient to configure the product.And it solves the problem that the
formal product can only configure by serial port.
Notes that:
http://www.iotworkshop.com - 18 -
HF2211 Serial Server Device User Manual
When the AP+STA function is opened, the STA interface needs to connect to other router.
Otherwise, STA interface will endlessly scan the router information nearby. When it is scanning,
it will bring bad effects to the AP interface, like losing data etc.
AP and STA parts must set to the different sub-network for the product working as APSTA
mode.
Open the IOTService after connect to the AP hotspot generated by HF2211 or connect to Product
Ethernet port to PC, then configure the parameter.
http://www.iotworkshop.com - 19 -
HF2211 Serial Server Device User Manual
Use PC to connect with HF2211 through its AP hotspot or Ethernet connection. Input the default
IP(10.10.100.254, default username and password: admin/admin) to login the webpage to configure
the parameter.
HF2211 provides with a 100M Ethernet interface. Through the 100M Ethernet interface, user can
achieve the connection among WIFI, serial port and Ethernet port.
http://www.iotworkshop.com - 20 -
HF2211 Serial Server Device User Manual
HF2211 servers as APSTA and generate a central network. The IP addresses of all the devices and
module’s are in the same network segment.
Note:
If product works in AP mode, then the Ethernet is working as WAN mode, PC will use Auto-IP to
set its IP when connect via Ethernet. Better to change via Wi-Fi, then the PC and other devices are all
in same subnetwork.(10.10.100.xxx)
http://www.iotworkshop.com - 21 -
HF2211 Serial Server Device User Manual
The HF2211 device Ethernet interface work in router mode. When connect to router, it will get IP
address from router(as picture 192.168.1.100). The product itself generate a subnet(10.10.100.254
default). The device from the Ethernet interface is assigned with IP address by module
(10.10.100.101 ).Then the device and the PC1 are in the same subnet for network communication. A
connection fro PC1 to PC2, but PC2 cannot actively connect to PC1.
http://www.iotworkshop.com - 22 -
HF2211 Serial Server Device User Manual
The HF2211 device Ethernet interface work in router mode. When connect to router, it will get IP
address from router(as picture 192.168.1.101). AT the whole network, the product is like an invisible
device. PC1 ad PC2 can communicated mutually without any constraint. But if product needs to
connect with other devices, it needs set LAN IP address(192.168.1.10 as picture)
Notes:
Webpage, IOTService, or Cli command to set working mode, by default is router mode. It need
reboot when change its working mode.
http://www.iotworkshop.com - 23 -
HF2211 Serial Server Device User Manual
http://www.iotworkshop.com - 24 -
HF2211 Serial Server Device User Manual
4. FUNCTION DESCRIPTION
Refer to “IOT_Device_Series_Software_Funtion” document for more detailed function.
http://www.iotworkshop.com - 25 -
HF2211 Serial Server Device User Manual
APPENDIX A:REFERENCES
A.1.Test Tools
http://www.hi-flying.com/download-center-1/applications-1/download-item-iotservice
1.1 http://www.hi-flying.com/index.php?route=download/category&path=1_4
http://www.hi-flying.com/wi-fi-iot/wi-fi-serial-server/rs232-rs485-rs422-to-wifi-serial-server
http://www.iotworkshop.com - 26 -
HF2211 Serial Server Device User Manual
------------------------------------------------------------------------------------------------------------
Address: Room 1002,Building 1,No.3000,Longdong Avenue,Pudong New
Area,Shanghai,China,201203
Web: www.iotworkshop.com or www.hi-flying.com
Contact:
Sales: [email protected]
Support: [email protected]
Service: [email protected]
Business: [email protected]
---------------------------------------------------------------------------- -------------------------------
For more information about IOTworkshop modules, applications, and solutions, please visit our web
site www.iotworkshop.com
<END OF DOCUMENT>
http://www.iotworkshop.com - 27 -