Hi-flying HF2221 User Manual

Hi-flying HF2221 User Manual

Serial server device.
Table of Contents

Advertisement

HF2221 Serial Server Device User Manual
Serial Server Device User Manual
Overview of Characteristic
MIPS MCU with 4MB Flash and 8MB SRAM. Run on eCos
Support TCP/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 Upgrade
http://www.iotworkshop.com
HF2221
V 1.2
- 1 -

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HF2221 and is the answer not in the manual?

Questions and answers

Summary of Contents for Hi-flying HF2221

  • Page 1 HF2221 Serial Server Device User Manual HF2221 Serial Server Device User Manual V 1.2 Overview of Characteristic  MIPS MCU with 4MB Flash and 8MB SRAM. Run on eCos  Support TCP/IP/Telnet /Modbus TCP Protocol  Support 2 channel RS232/RS422/RS485 to Ethernet/Wi-Fi Conversion, Serial Speed Upto 230400 bps ...
  • Page 2 HF2221 Serial Server Device User Manual  Wide DC Input 5~36VDC  Size: 108 x 146 x 25 mm (L x W x H) http://www.iotworkshop.com - 2 -...
  • Page 3: Table Of Contents

    HF2221 Serial Server Device User Manual TABLE OF CONTENTS TABLE OF CONTENTS TABLE OF CONTENTS TABLE OF CONTENTS ................3 LIST OF FIGURES ..........................4 LIST OF TABLES ..........................5 HISTORY ............................5 PRODUCT OVERVIEW ......................6 1.1. General Description ......................6 1.2.
  • Page 4: List Of Figures

    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.
  • Page 5: List Of Tables

    HF2221 Serial Server Device User Manual LIST OF 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.
  • Page 6: Product Overview

    The HF2221 integrate TCP/IP controller, memory, 10/100M Ethernet transceiver, high- speed serial port and integrates a fully developed TCP/IP network stack and ECos OS.The HF2221 also includes an embedded web server used to remotely configure, monitor, or troubleshoot the attached device.
  • Page 7: Key Application

    -45 ~ 105° C, 5 ~ 95% RH(no condensation) Input Voltage 5~36VDC Working Current ~200mA Power <700mW 1.3. Key Application The HF2221 device connects serial device to Ethernet networks using the TCP/IP protocol: ⚫ Remote equipment monitoring http://www.iotworkshop.com - 7 -...
  • Page 8 HF2221 Serial Server Device User Manual ⚫ 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 ⚫...
  • Page 9: Hardware Introduction

    HF2221 Serial Server Device User Manual 2. HARDWARE INTRODUCTION The HF2221 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.
  • Page 10: Pins Definition

    HF2221 Serial Server Device User Manual 2.1. Pins Definition Figure 2. HF2221 Interface Figure 3. HF2221 Side View http://www.iotworkshop.com - 10 -...
  • Page 11: Table 2. Hf2221 Interface Definition

    HF2221 Serial Server Device User Manual Table 2. HF2221 Interface Definition Function Name Description External 10/100M Ethernet Ethernet 1 Interface LAN function 10/100M Ethernet Default is WAN function in AP mode (Can be Ethernet 2 configured to LAN Function), connect to router LAN port for network access.
  • Page 12: Rs232 Interface

    HF2221 Serial Server Device User Manual 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.
  • Page 13: Rj45 Interface

    Description Transfer Data+ Transfer Data- Receive Data+ PHY-VCC Transformer Tap Voltage PHY-VCC Transformer Tap Voltage Receive Data- N.C. None Connect N.C. None Connect 2.6. Mechanical Size The dimensions of HF2221 are defined as following picture (mm): http://www.iotworkshop.com - 13 -...
  • Page 14: Rail Mounting

    HF2221 Serial Server Device User Manual 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. http://www.iotworkshop.com - 14 -...
  • Page 15: Figure 9. Hf2221 Product Order Information

    HF2221 Serial Server Device User Manual Figure 9. HF2221 Product Order Information http://www.iotworkshop.com - 15 -...
  • Page 16: Network Structure

    3.1. Wireless Network HF2221 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.
  • Page 17: Sta Wireless Network

    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: Ap+Sta Wireless Network

    HF2221 Serial Server Device User Manual 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: http://www.iotworkshop.com - 18 -...
  • Page 19: Figure 14. Ap+Sta Wireless Network

    HF2221 Serial Server Device User Manual Figure 14. AP+STA Wireless Network In this picture, HF2221 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.
  • Page 20: Iotservice Software

    AP and STA 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.
  • Page 21: Webpage Configuration

    Figure 17. STA Scan Parameter 3.1.5. Webpage Configuration 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.
  • Page 22: Ethernet Interface Function

    HF2221 Serial Server Device User Manual 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. http://www.iotworkshop.com - 22 -...
  • Page 23: Ethernet Port With Wi-Fi

    3.2.1. Ethernet 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.
  • Page 24: Ethernet Port Bridge Function

    HF2221 Serial Server Device User Manual The HF2221 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).
  • Page 25: Figure 24. Ethernet Port Function2 (Bridge)

    Figure 24. Ethernet Port Function2 (Bridge) The HF2221 device Ethernet interface work in bridge mode. Default Ethernet 2 is WAN for connecting 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).
  • Page 26: Cascade Mode

    3.2.4. Cascade 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: Function Description

    HF2221 Serial Server Device User Manual 4. FUNCTION DESCRIPTION Refer to “IOT_Device_Series_Software_Funtion” document for more detailed function. http://www.iotworkshop.com - 27 -...
  • Page 28: Appendix A:references

    HF2221 Serial Server Device User Manual APPENDIX A:REFERENCES A.1.Test Tools IOTService 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 http://www.iotworkshop.com - 28 -...
  • Page 29: Appendix B: Contact Information

    HF2221 Serial Server Device User Manual APPENDIX B: CONTACT INFORMATION ------------------------------------------------------------------------------------------------------------ Address: Room 1002,Building 1,No.3000,Longdong Avenue,Pudong New Area,Shanghai,China,201203 Web: www.iotworkshop.com 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...

Table of Contents