We have been deeply involved in the industry for more than ten years, and have served more than 10W+ customers. WiFi modules, Bluetooth modules, power modules and other products are in more than 80 countries and regions, providing customers with professional and reliable IoT module products.
Industrial grade dual serial port to Ethernet module
HLK-RM08N has two serial ports up to 2Mbps, built-in 5 Ethernet ports, which can be connected to the network through a network cable, built-in complete TCP/IP protocol stack, and has complete software and hardware networking capabilities.
After the module is connected to the network cable and connected to the network, the IP address of the module can be found in the network. The access module only needs to follow the set transmission protocol (TCP or UDP) and establish a transparent transmission connection with the module through the IP + port number to perform serial-network connection. data communication.
(Function diagram)
Support two serial ports-network transparent transmission at the same time, both can be configured and work independently
Support two serial ports-network transparent transmission at the same time, both can be configured and work independently
Stable and reliable transmission, support disconnection detection and automatic reconnection
Support and define the content of serial port heartbeat packet and network login packet
Support TCP/UDP client/serve& domain name access
Built-in WDG watchdog function, effectively preventing abnormal software crashes, and WDG signal output
Built-in TCP/IP protocol stack, supporting rich functions such as DHCP and DNS
Support access to Alibaba Cloud IoT platform (you need to purchase Alibaba Cloud activation code and burn it into the module)
*Dimensions of bottom plate 90*50*18mm/42g
ES0 function description:
1. The Exit/Default of the bottom board corresponds to the ES0 pin of the module;
2. ES0 inputs low level when the button is pressed, and is left floating when it is not pressed.
Factory restoration method:
1. Through the input pins of the module: After the module is started, the ES0 or ES1 pin inputs a low level for 6s~12s to restore the factory settings;
2. Serial AT command or UDP network AT command sends ResetD to restore the default setting command.
The module supports two networking methods, wired routing and wired bridging, and users can modify different networking methods through the Network Mode parameter.
In the default mode, the parameters related to networking are:
WAN port IP, the IP address used by the module under the upper-level routing, dynamically obtained or static IP, when using static IP, you need to set the value of static IP and the IP of the gateway.
The LAN port IP and DHCP service switch are used to set the IP and network segment of the module’s LAN port. When the DHCP service of the LAN port is enabled, the module can assign dynamic IP addresses to the devices connected to the LAN port (the same network segment as the module’s LAN IP) of).
In the default mode, the parameters related to networking are:
If you want to use the serial port transparent transmission function in this mode, you must set the LAN IP of the module to an IP address valid under the upper-level router (equivalent to a static IP under the upper-level router), and set the LAN Gateway IP as the IP of the upper-level router .
Working current measured
The module has a large operating current at the moment of startup, and the peak current can reach about 200mA. After starting, the average working current is about 95mA when the network cable is not inserted; the current increases by about 20mA for each network cable inserted.
Serial port heartbeat packet function and configuration
Up to 10 heartbeat data can be set, each can be switched on and off separately, the data is in hexadecimal format, and the maximum length is 64 bytes;
Sending cycle: how often to send a round, when each sending cycle comes, send all the open heartbeat data once, the unit is 1s;
Sending interval: how long is the interval after each data is sent before sending the next one, the unit is 1s
According to the actual measurement of the above configuration, the effect of the serial port heartbeat packet output by the module serial port 0 is as follows:
Alibaba Cloud IoT platform access function
The transparent transmission corresponding to the serial port 0 of the module can realize the access to the Alibaba Cloud IoT platform, and forward the data and serial data of the Alibaba Cloud IoT platform. The specific forwarding rules are determined according to different requirements and specific product functions defined in the cloud.
*The module is shipped by default with no activation code programmed. If users need to use Alibaba Cloud IoT platform Please be sure to contact our technical staff to confirm the specific product type and functional requirements, and then purchase the correct activation code to burn.
Hardware parameters | |
Core chip | MTK7688K |
RAM/Flash | 8MB/2MB |
Interface Type | UART*2/Ethernet port*5/GPIO |
Package form | Patch/pin |
physical dimension | 40*29*3.3mm |
Module weight | 5g |
Function parameter | |
Networking method | Wired Ethernet/Wired Bridge |
Number of network ports | IEEE802.3、IEEE802.3u DHCP Server, DHCP Client, DNS, ARP, etc. |
Parameter configuration | Serial AT command, UDP network AT command, local web page |
Network protocol | IPv4, TCP/UDP |
Configuration file import/export &software upgrade | Access the module web page locally |
Transparent transmission function | |
Transparent transmission channel | 2 channels (independent of each other, can be configured and work independently) |
Transparent connection protocol | TCP Server、TCP Client、UDP Server、 UDP Client Alibaba Cloud IoT platform access (Alibaba Cloud activation code needs to be purchased and burned, corresponding to serial port 0) |
Heartbeat packet of serial port 0 | Up to 10 serial heartbeat packet data can be customized, and the sending period and interval can be configured |
Network login package | The content of the login package can be customized, and the mac address of the module can be automatically added to the login package |
Serial port baud rate | 1200-2000000bps |
Maximum TCP connections | Up to 30 clients can be connected simultaneously under TCP Server, the number is configurable |
Other parameters | |
Operating Voltage | standard DC5V±0.2V |
Working current | ≥500mA |
Peak current | 200mA |
Average power consumption | 95mA |
I/O voltage | 3.3V |
I/O current | ≤10mA |
Environmental standards | Operating temperature:-40-85℃ Working humidity:10%-90%RH(Non-condensing) storage temperature:-40-85℃ Storage humidity:5%-90%RH(Non-condensing) |