background image

HF2221 Serial Server Device User Manual 

 

 

http://www.iotworkshop.com

 

 

-  4  - 

LIST OF FIGURES 

Figure 1. HF2221 Appearance ................................................................................................................................. 9

 

Figure 2. HF2221 Interface ..................................................................................................................................... 10

 

Figure 3. HF2221 Side View ................................................................................................................................... 10

 

Figure 4. RS232 Pin Defination(Male/Needle Type) ............................................................................................... 12

 

Figure 5. HF2221 RS422 Connection ..................................................................................................................... 13

 

Figure 6. RJ45 Pin Defination ................................................................................................................................. 13

 

Figure 7. HF2221 Mechanical Dimension ............................................................................................................... 14

 

Figure 8. HF2221 Rail ............................................................................................................................................ 14

 

Figure 9. HF2221 Product Order Information ......................................................................................................... 15

 

Figure 11. HF2221 Function Structure ................................................................................................................... 16

 

Figure 12. General AP Network .............................................................................................................................. 17

 

Figure 13. STA Application ..................................................................................................................................... 18

 

Figure 14. AP+STA Wireless Network .................................................................................................................... 19

 

Figure 16. Configure Wi-Fi Parameter .................................................................................................................... 20

 

Figure 17. STA Scan Parameter............................................................................................................................. 21

 

Figure 18. Configure the Wi-Fi Parameter .............................................................................................................. 21

 

Figure 19. STA Scan .............................................................................................................................................. 22

 

Figure 20. Ethernet Interface Function (AP) ........................................................................................................... 23

 

Figure 21. Ethernet Interface Function 1 (Router) .................................................................................................. 23

 

Figure 22. Ethernet Interface Function 1 (Router) .................................................................................................. 24

 

Figure 23. Ethernet Port Function1 (Bridge) ........................................................................................................... 24

 

Figure 24. Ethernet Port Function2 (Bridge) ........................................................................................................... 25

 

Figure 24 Cascade Mode ....................................................................................................................................... 26

 

Summary of Contents for HF2221

Page 1: ... IP Telnet Modbus TCP Protocol Support 2 channel RS232 RS422 RS485 to Ethernet Wi Fi Conversion Serial Speed Upto 230400 bps Support STA AP AP STA Mode Support Router or Bridge Network Working Mode Support 2 Channel 10 100M Ethernet Auto Negotiation Support Easy Configuration Through a Web Interface or PC IOTService Tool Support Security Protocol Such As TLS AES DES3 Support Web OTA Wirelss Upgrad...

Page 2: ...HF2221 Serial Server Device User Manual http www iotworkshop com 2 Wide DC Input 5 36VDC Size 108 x 146 x 25 mm L x W x H ...

Page 3: ...echanical Size 13 2 7 Rail Mounting 14 2 8 Order Information 14 3 NETWORK STRUCTURE 16 3 1 Wireless Network 16 3 1 1 AP Network 16 3 1 2 STA Wireless Network 17 3 1 3 AP STA Wireless Network 18 3 1 4 IOTService Software 20 3 1 5 Webpage Configuration 21 3 2 Ethernet Interface Function 22 3 2 1 Ethernet Port with Wi Fi 23 3 2 2 Ethernet Interface Router Function 23 3 2 3 Ethernet Port Bridge Functi...

Page 4: ...2221 Product Order Information 15 Figure 11 HF2221 Function Structure 16 Figure 12 General AP Network 17 Figure 13 STA Application 18 Figure 14 AP STA Wireless Network 19 Figure 16 Configure Wi Fi Parameter 20 Figure 17 STA Scan Parameter 21 Figure 18 Configure the Wi Fi Parameter 21 Figure 19 STA Scan 22 Figure 20 Ethernet Interface Function AP 23 Figure 21 Ethernet Interface Function 1 Router 23...

Page 5: ...F TABLES Table 1 HF2221 Technical Specifications 6 Table 2 HF2221 Interface Definition 11 Table 3 RS232 Interface 12 Table 4 RJ45 Interface 13 HISTORY Ed V1 0 05 11 2017 First Version Ed V1 1 01 16 2018 Modify LED and button description Ed V1 2 02 15 2019 Fix LED description ...

Page 6: ...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 HF2221 integrates all serial to Ethernet functionality with 108 x 146 x 25mm size 1 2 Device Paremeters Table 1 HF2221 Technical Specifications Item Parameters System Information Processor Frequency MIPS 320MHz Flash SDRAM 4MB 8MB Operatin...

Page 7: ... Bits 8 Stop Bit 1 2 Check Bit None Even Odd Baud Rate TTL 2400 bps 230400 bps Flow Control No Flow Control Hardware RTS CTS DSR DTR Software Xon Xoff flow control Software Web Pages Http Web Configuration Customization of HTTP Web Pages Configuration Web CLI XML import Telnet IOTService PC Software Firmware Upgrade Web Basic Parameter Size 108 x 146 x 25 mm Operating Temp 25 85 C Storage Temp 45 ...

Page 8: ...ng 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 Handheld instruments Modems Time attendance clocks and terminals ...

Page 9: ... 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 HF2221 serial server for data transfer which makes the data transformation very simple HF2221 meet EMC Class B security level It can pass every countries relevant certification test Figur...

Page 10: ...HF2221 Serial Server Device User Manual http www iotworkshop com 10 2 1 Pins Definition Figure 2 HF2221 Interface Figure 3 HF2221 Side View ...

Page 11: ...tect Earth DC Power Input DC Power 5 36V LED Indicator Power Internal Power Supply Indicator On Power is OK Off Power is NG LAN Net 2 Ethernet 1 Connection Indicator On Ethernet connection is OK Off No Ethernet connection Active 1 UART1 channel data transfer Indicator Flash Send data Off No data sent Active 2 UART2 channel data transfer Indicator Flash Send data Off No data sent Link WiFi Network ...

Page 12: ...terface 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 2 3 RS485 Interface 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...

Page 13: ... support direct connecting to PC with Ethernet cable Figure 6 RJ45 Pin Defination Table 4 RJ45 Interface 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 2 6 Mechanical Size The dimensions of HF2221 are defined as following picture mm ...

Page 14: ...er Manual http www iotworkshop com 14 Figure 7 HF2221 Mechanical Dimension 2 7 Rail Mounting We support to provide rail for mounting as the following picture Figure 8 HF2221 Rail 2 8 Order Information HF2221 is defined as following ...

Page 15: ...HF2221 Serial Server Device User Manual http www iotworkshop com 15 Figure 9 HF2221 Product Order Information ...

Page 16: ... networking method and network topology Functions is as follow Figure 11 HF2221 Function Structure Introductions AP Wireless access point which is the central joint Usually wireless router is 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 HF2221 can construct a wireless network as...

Page 17: ... com 17 Figure 12 General AP Network 3 1 2 STA Wireless Network Take the following picture as example When router works in AP mode HF2221 connects to the user s devices by RS232 RS485 interface In this topology the whole wireless network can be easily stretched ...

Page 18: ... Server Device User Manual http www iotworkshop com 18 r Figure 13 STA Application 3 1 3 AP STA Wireless Network HF2221 can support AP STA method It can support AP and STA interface at the same time shown as follow ...

Page 19: ...ices 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 When the AP STA function is opened the STA interface needs to connect to router Otherwise STA i...

Page 20: ...A parts must set to the different sub network 3 1 4 IOTService Software Open the IOTService after connect to the AP hotspot generated by HF2221 or PC and HF2221 connect to same router WAN port connect to router LAN port Then configure the parameter Figure 16 Configure Wi Fi Parameter ...

Page 21: ...ion Use PC to connect with HF2221 through its AP SSID IP 10 10 100 254 or PC and HF2221 connect to same router WAN port connect to router LANN port IP is assigned by router Type the product IP default username and password admin admin to login the webpage to configure the parameter Figure 18 Configure the Wi Fi Parameter ...

Page 22: ...ual http www iotworkshop com 22 Figure 19 STA Scan 3 2 Ethernet Interface Function HF2221 provides with a 100M Ethernet interface Through the 100M Ethernet interface user can achieve the connection among WIFI serial port and Ethernet port ...

Page 23: ...net Port with Wi Fi Figure 20 Ethernet Interface Function AP HF2221 servers as AP and generate a central network The IP addresses of all the devices and modules are in the same network segment 3 2 2 Ethernet Interface Router Function Figure 21 Ethernet Interface Function 1 Router ...

Page 24: ... 1 Router The HF2221 device Ethernet interface work in router mode Default Ethernet 2 is WAN which is used to IP addres s as figure 192 168 1 100 Default Ethernet 1 is LAN and the device itself constitute a subnet 10 10 100 254 default The device IP is assigned by module as figure 192 168 1 100 3 2 3 Ethernet Port Bridge Function Figure 23 Ethernet Port Function1 Bridge The HF2221 device Ethernet ...

Page 25: ...cting to the router while the Ethernet 1 is LAN to connect to the PC PC acquire the IP address 192 168 1 101 as figure In the whole network device is like a transparent PC1 and PC2 can connect each other without any constraint But iif need to connect other device it will set as LAN IP address 192 168 1 10 as figure Notes Webpage IOTService or Cli command to set working mode by default is router mo...

Page 26: ... Mode Figure 24 Cascade Mode Devices can work as cascade to add connection nodes Multiple HF2221 LAN and gateway address is not constraint each other LAN1 192 168 2 1 LAN2 192 168 3 1 as figure By ethernet connection modules can acquire upper router IP address to become cascade mode ...

Page 27: ...HF2221 Serial Server Device User Manual http www iotworkshop com 27 4 FUNCTION DESCRIPTION Refer to IOT_Device_Series_Software_Funtion document for more detailed function ...

Page 28: ...TService Configure Software http www hi flying com download center 1 applications 1 download item iotservice UART Network Test software http www hi flying com index php route download category path 1_4 A 2 Quick Start Manual See our product application on website http www hi flying com network device hf2221 ...

Page 29: ... Pudong New Area Shanghai China 201203 Web www iotworkshop com or www hi flying com Contact Sales sales iotworkshop com Support support iotworkshop com Service service iotworkshop com Business business iotworkshop com For more information about IOTworkshop modules applications and solutions please visit our web site www iotworkshop com END OF DOCUMENT ...

Reviews: