Home

HLK-RM04 user manual

image

Contents

1. gt 3 TM OR ALFA IRA Shenzhen Hi Link Electronic Co Ltd E HFLI n k Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 HiLink Shenzhen Hi Link ElectronicTechnology co Ltd HLK RM04 User Manual ETHERNET WIFI Full Function Serial Network Wireless Module EB do gyuoU e 5 2 SUMMARIZE 5 gt 3 TM RITA Ar Shenzhen Hi Link Electronic Co Ltd Fj HFLI my k Http www hiktech com Tel 0755 83575155 Fax 0755 83575189 2 1 TECHNICAL SPECIFICATIONS ccceeeeeeeeee e eee eene enne nn ee nnn sen rns e i es in reise e essen re sen reisen see di nered rese eun 5 22 HARDWARE EXPLANATION ici 6 2 2 1 Mechanical DImensiOHs eeuetettiu MEL D E DAR I IE Me ua In ee An ein ce E En Ee LUN EE e enin boe 6 3 QUICK START 8 3 1 RESTORE FACTORY SETTINGS ccsscsccssssecccescscccnsceccensvsceensveceenscscsensceceenscsceenavecsenscessenacecsenacsssanacessensesssenavess 8 3 2 CONFIGURATE NETWORK PARAMETER ccccccseececcseecccccseccecsueccecuceccscueccssucccseueccessucesssuueccessueecsssueecsseueesesaneess 8 3 3 CONFIGURATE SERIAL NETWORK PARAMETER sssseccccesececcseecceceuecesceueccecueceseeueccscuueessseueccseeusecsseueesseueeceseneres 9 4 FUNCTION DESCRIPTION siscccccccccscecccccscccccccscsaccassccassnssceaccecscsascessteacsossesasceesceascecsesascessteeccocscsasceesteescececseseess
2. In any condition keep ES RST feet low level of time but more than Tes and less than Trst the module will enter AT instruction mode immediately gt Tes V ES RST lt Trst AT Command 6 2 AT Command In AT mode you can configurate the system parameters through the serial port AT instruction Instruction format is as follows At command value r According to the different command module will return a different return value For example at remoteip 192 168 11 133 n set remote ip address as 192 168 11 133 For example at remoteip n Inquiry remote ip address At command is as follows netmode Network mode wifi_conf Wifi configuration dhcpc Dhep client configuration net_ip Network ip address 16 Hitp Avww hiktech com Tel 0755 83575155 Fax 0755 83575189 Ed iLi n k RA Hh AL YL FA RA Shenzhen Hi Link Electronic Co Ltd net_dns Network dns address dhcpd Dhcp server configuration dhcpd_ip Dhcp server ip address dhcpd_dns Dhcp server dns address dhcpd_time Dhcp sever time allocation net_commit Submit network configuration out_trans Exit transparent transmission mode remoteip Remote server domain name or IP address remoteport The local or distal port number remotepro Network Protocol type timeout Network timeout mode Network mode uart Serial port configuration uartpacklen Serial group frame length uartpacktimeout Serial
3. framing time save Save the configuration and start service reconn Restart services default Restore factory value settings reboot Restart the module ver The version of module 6 2 1 Net mode Function Network mode setting Format At netmode lt netmode gt r Parameters Table 6 3 network mode value meaning 0 Default setup l Ethernet 2 Wifi client 3 Wifi ap 17 e TM RI Hh BRA FA S Shenzhen Hi Link Electronic Co Ltd n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 6 2 2 wifi conf Function Wireless parameter setting Format At wifi_conf lt ssid gt encrypt type password Ww Parameters ssid Network SSID Encrypt type Encryption mode Table 6 4 Encryption mode none Open network wep open Wep encryption open authentication method wep Wep encryption encryption authentication wpa_tkip wpa tkip wpa_aes wpa aes wpa2_tkip wpa2 tkip wpa2_aes wpa2 aes wpawpa2_tkip wpa wpa2 tkip wpawpa2_aes wpa wpa2 aes 6 2 3 dhcpe Function Dhcp client enable Format At dhcpce lt dhepe gt r Parameters Table 6 5 Dhcp client enable 0 Static ip address Dynamic ip address 18 H e RA AL YL FA RA Shenzhen Hi Link Electronic Co Ltd F i n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 6 2 4 net ip Function Network mode setting This parameter is not valid when Dhcp client
4. module and become the device under WIFI LAN 4 4 Default mode HLK RM04 WIFI CLIENT COMI Ka ans b S PHONE pad ETH2 DHCP ENABLE Chart 6 Default mode model In this mode WIFI enable module works in the AP mode ETH1 ETH2 function enable ETHI works as WAN ETH2 works as LAN Through the appropriate settings the data between COMI and network can achieve mutual conversion WIFI safety support all encryption methods at present In this mode WIFI device can connect with the module and become the device under WIFI LAN WAN default IP is dynamic IP address LAN WIFI for the same local area network enabled by default DHCP server 4 5 Parameter configuration direction The module provides two ways for the configuration parameters 1 Web page 2 Serial AT command Access to WEB configuration page requires the confirmation of the module s IP addresses as well as the user name and password that authenticated by WEB Configurating parameters through the serial port AT command needs to make the module into the AT command mode first 11 Hi e ZI AE FARA Shenzhen Hi Link Electronic Co Ltd F i n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 Serial configuration tool HLK RM04_CONFIG Configurate the module through AT command provide a easier and convenient configuration process through the configuration combination of each parameter 5 WEB configuration HLK RM04 Serial2Net Settings NetMo
5. 1 Primary DNS Server 921684311 Secondary DNS Server 8 8 8 Chart 9 Serial to Ethernet static 5 1 3 Serial to WIFI CLIENT dynamic ip NetMode WIFI CLIENT SERIAL SSID Hi Link Encrypt Type wPA2 AES Password 12345678 IP Type DHCP Chart 10 serial to WIFI CLIENT dynamic 13 e e TM RI Hh BRAT FA S Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 5 1 4 Serial to WIFI CLIENT static ip NetMode WIFI CLIENT SERIAL SSID Hi Link Encrypt Type WPA2 AES Password h 2345678 IP Type STATIC y IP Address 90216831254 2 Subnet Mask ps52552550 Default Gateway 924168311 Primary DNS Server 192 168 111 Secondary DNS Server 8 8 8 Chart 11 Serial to WIFI CLIENT static 5 1 5 Serial to WIFI AP NetMode WIFI AP SERIAL m SSID Hi Link Encrypt Type WPA2 AES E Password 12345678 IP Address f 92 168 11 254 Subnet Mask p55 255 255 0 Chart12 Serial to WIFI AP 5 2 WEB serial configuration Serial Web configuration page ser2net asp is as follows Eg e RI WP Ip ALL TARA Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 Serial Settings Current Updated Serial Configure 115200 8 n 1 f 15200 8 n 1 Serial Framing Lenth 64 l64 Serial Framing Timeout 10 milliseconds to milicoconds lt 256 0 for no timeout Network Mode client Client Remote S
6. 168 11 245 r n at remoteport 8080 n 25 e RI Pe eR ALL TARA Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 at remotepro tcpNNmN at timeout O r n at mode servervNN at uart 115200 8 n NAM at uartpacklenzZ64N NN at uartpacktimeout 10 r n at net_commit INNN at reconn 1 r n Com_send commands_eth Run and return at netmode 1 ok at dhcpc 1 at remoteip 192 168 11 245 ok at remoteport 8080 ok at remotepro tcp at timeout 0 ok at mode server at uart 115200 8 n 1 ok at uartpacklen 64 ok at uartpacktimeout 10 ok at net_commit 1 6 3 3 Serial to Ethernet static ip address Code char commands eth static X at netmode I r n at dhcpc 0O r n at net_ip 192 168 11 254 255 255 255 0 192 168 11 NAM at net_dns 192 168 11 1 8 8 8 5 45M at remoteip 192 168 11 245 r n at remoteport 8080 n at remotepro tcp Wn at timeout O r n at mode servervNN at uart 115200 8 n NAM at uartpacklen 64 r n at uartpacktimeout 10 r n at net_commit INNN 26 e RI Pe eR ALL TARA Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 at reconn 1 r n tti Com_send commands_eth_static Run and return at netmode 1 ok at dhcpc 0 at net_ip 192 168 11 254 255 255 255 0 192 168 11 1 ok at net_dns 192 168 11 1 8 8 8 8 ok at remoteip 192 168 11 245 ok at remoteport 8080 ok at remotepro tcp at tim
7. IFI ETH2 function close Through the appropriate settings the data between COMI and ETHI network can achieve mutual conversion Ethernet can be configured as dynamic IP address DHCP can also be configured as static IP address STATIC e e ZI AL YL FA RA Shenzhen Hi Link Electronic Co Ltd F i n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 4 2 Serial to WIFI CLIENT WIFI Client HLK RM04 fi ft o WIFI AP COMI DHCP IP STATIC IP Chart 4 Serial to WIFI CLIENT model In this mode WIFI enable module works in the client mode ETH1 ETH2 function close Through the appropriate settings the data between COMI and WIFI network can achieve mutual conversion WIFI CLIENT can be configured as dynamic IP address DHCP can also be configured as static IP address STATIC WIFI safety support all encryption methods at present 4 3 Serial to WIFI AP WIFI AP COM1 HLK RM04 WIFI CLIENT o t to d b PHONE pad DHCP ENABLE Chart 5 Serial to WIFI AP model In this mode WIFI enable module works in the AP mode ETH1 ETH2 function close 10 H e ZI AL YL FA RA Shenzhen Hi Link Electronic Co Ltd F i n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 Through the appropriate settings the data between COMI and WIFI network can achieve mutual conversion WIFI safety support all encryption methods at present In this mode WIFI device can connect with the
8. INNN at reconn 1 r n tti 5 Com send commands wifi client static Run and return at netmode 2 ok at wifi confZHI LINK wpa2 aes 12345678 ok at dhcpc 0 at net_ip 192 168 11 254 255 255 255 0 192 168 11 1 ok at net_dns 192 168 11 1 8 8 8 8 ok 28 e Zn Ip ALL TARA Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 at remoteip 192 168 11 245 ok at remoteport 8080 ok at remotepro tcp at timeout 0 ok at mode server at uart 115200 8 n 1 ok at uartpacklen 64 ok at uartpacktimeout 10 ok at net_commit 1 6 3 6 Serial to wifi AP Code char commands_wifi_ap at netmode 3 n at wifi conf Hi Link wpa2 aes 0000000000NNN at dhcpd NAM at dhcpd_ip 192 168 16 100 192 168 16 200 255 255 255 0 192 168 16 254AmM at dhcpd_dns 192 168 16 254 8 8 8 54m at dhcpd_time 864004M at net_ip 192 168 16 254 255 255 255 0 192 168 16 2544M at net_dns 192 168 16 254 8 8 8 85 15M at remoteip 192 168 11 245 r n at remoteport 8080 n at remotepro tcpiWm at timeout O r n at mode serveAAm at uart 115200 8 n NAM at uartpacklen 64 r n at uartpacktimeout 10 n at net_commit INNN at reconn 1 r n tti 5 Com send commands wifi ap Run and return at netmode 3 ok at wifi confzHi Link wpa2 aes 0000000000 ok at dhcpd 1 ok at dhcpd_ip 192 168 16 100 192 168 16 200 255 255 255 0 192 168 16 254 ok at dhcpd_dns 192 168 16 254 8 8 8 8 ok 29 HiHLink p RAL RS Shenz
9. ORDo cconocccononocnoncnoonononononoonononononoononononononnonnonrnoo nor sess essen senes 37 e e TM RSI TF eR AL FA MA Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 Brief Introduction HLK RMO04 is a new low cost embedded UART ETH WIFI module serial port Ethernet Wireless network developed by Shenzhen Hi Link ElectronicTechnology co Ltd This product is an embedded module based on the universal serial interface network standard built in TCP IP protocol stack enabling the user serial port Ethernet wireless network wifi interface between the conversions Through the HLK RM04 module the traditional serial devices do not need to change any configuration data can be transmitted through the Internet network Provide a quick solution for the user s serial devices to transfer data via Ethernet Serial Com WIFI CClient AP Ethernet Picturel F structure 2 Summarize 2 1 Technical Specifications Table2 1 Technical Specifications wireless IEEE 802 11n IEEE 802 11g IEEE 802 11b Network standard wired IEEE 802 3 IEEE 802 3u 11n maximum up to 150Mbps Wireless transmission rate 11g maximum up to 54Mbps 11b maximum up to 11 Mbps Tracks number 1 14 Frequency range 2 4 2 4835G Emission power 12 15DBM Interface 1 4 10 100Mbps LAN WAN multiplex interface interface Antenna Antenna type Onboard antenna External Ant
10. aU mE M O MI DE ed DTI EAE lE 16 6 2 1 NCE TMOG ste lli f AE E TAE TA A A AE D E ce EA aD EAE I 17 0 22 A tr eese O E 18 623 EP 18 OQ NEL AE RAN 19 0 2 5 A A E SR D ETE 19 PT EE LIU E 19 62 7 dhecpd ips siiiatuie niue n oe e pte ipee icc ples ep Acte ipei ipe ions 20 02 0 ANPA disset O 20 gt 3 TM RITA A MAS Shenzhen Hi Link Electronic Co Ltd ER HFLI my k Http www hiktech com Tel 0755 83575155 Fax 0755 83575189 UA MEME TUTTI 20 6 210 EN TE 20 621I A NN 21 OLAL TEMP a ERE RE ES 21 6 2 13 TA NN 21 OLA remoteprO il dep eee tins 22 021I IA A Na etr tol oet tie 22 0 2 10 node sie A ase eee aute eee du doa tede duode e deed eee deed 22 SUP EET ET 23 02 18 UAT pack LL 23 6 2 19 uartpackimeolt dette ac 23 0 2 20 SAVE uisus ect A OR INR adno diea voe Reg tudo edd eta dU eed itn A 23 AA MED TODO mn 24 RANA 24 6 3 AT COMMAND CONTROL CODE ROUTION sssssscceseceesscersscecesnereneceesaeecsacecsnseceseesesaeecacecsanesessesesaeeesanersaeeseea 24 6 3 1 Inquiry configuration information eese esee eene ener entere three enne enne tenens 24 6 3 2 Serial to Ethernet Dynamic ip address eese eene nennen nennen nennen enne nennt enne 25 6 3 3 Serial to Ethernet static ip address eese eene eene nennen enne nenen nnne ne
11. about 30 seconds the module will access to the default state 8 Device Search tools HLK RM04_Discover is a search tool of network end used to search the module HLK RM04 The interface is as follows HLK RM04_Discover By Shenzhen Hi Link ElectronicTechnology co Ltd 192 168 11 123 D HLK RMO4 V 1 39 Dec 14 2012 Chart 21 Device search tools Click on the button Discover the tools will search all the HLK RMO4 module connected with PCin the LAN The module being searched will show in the information box soon The module information including IP address MAC address and version of it 35 HiHLink 9 Restore factory Settings Appi E FA RA Shenzhen Hi Link Electronic Co Ltd Http Avww hiktech com Tel 0755 83575155 Fax 0755 83575189 Support the following ways to restore the factory settings 1 Through the Web page 2 By keeping the ES RST pin low level time greater than Trst V ES RST gt Trst Reset to Default Factory setting parameter values see the following list netmode 0 wifi_conf Hi Link_ wpa2_aes 12345678 dhcpc 1 net_ip 192 168 11 254 255 255 255 0 192 168 11 1 net_dns 192 168 11 1 8 8 8 8 dhcpd 1 dhcpd ip 192 168 16 100 192 168 16 200 255 255 255 0 192 168 16 1 dhcpd dns 192 168 16 1 8 8 8 8 dhcpd time 86400 remoteip 192 168 11 245 remoteport 8080 remotepro tcp timeout 0 mode none uart 115200 8 n 1 uartpacklen 64 uartp
12. acktimeout 10 IP address 192 168 16 254 Wifi password 12345678 Web username password admin admin 36 H TM RI FRA FA RAE Shenzhen Hi Link Electronic Co Ltd n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 Tes 100ms Trst 6s 10 Firmware upgrade 1 Restore the factory value 2 Pc can connect with module through Ethernet ip 192 168 16 123 255 255 255 0 Browser visits 192 168 16 254 Username password admin admin 3 Open the following page Select the appropriate firmware click apply upgrades Wait about 3 minutes Can not cut out the upgrade process otherwise it may cause damage to the module a TM LI n k WIRELESS N ROUTER IEEE 802 11N Upgrade Firmware en all close all Upgrade the HLK RM02 firmware to obtain new functionality It takes about 1 minute to upload Ej HLK RMO2 upgrade flash and be patient please Caution A corrupted image will hang up the system L Wizard Internet Settings mm z Wireless Settings 3 3 Administration Management 7 Upload Firmware Settings Manageme L Status Appendix A document revision record 1 00 Draft version 2012 9 10
13. arameter to save the entry into force 20 e TM RI Hh BRA FA S Shenzhen Hi Link Electronic Co Ltd n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 Format At Net commit Net commit gt r Parameters Table 6 7 submit to network setting 0 invalid submit 6 2 11 out trans Function Exit the transparent transmission mode Format At out_trans lt out_trans gt r Parameters Table 6 8 Exit the transparent transmission mode Arbitrarily Exit the transparent transmission mode 6 2 12 remoteip Function Remote ip or domain name setting Format At remoteip lt remoteip gt r Parameters Remote server domain name or IP address 6 2 13 remoteport Function Remote port setting Format At remoteport lt remoteport gt r Parameters Remoteport Remote port 21 e TM RI Hh BRAT FA R24 Shenzhen Hi Link Electronic Co Ltd n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 6 2 14 remotepro Function Protocol Type setting Format At remotepro lt remotepro gt r Parameters Table 6 9 remotepro parameters setting None No protocol Tcp Tcp protocol Udp Udp protocol 6 2 15 timeout Function Network time out Format At timeout lt timeout gt r Parameters Network time out server Network mode when there is not any data transfer during the time out the connection will be disconnected O specifies never disconnected 6 2 16
14. de Default E Current Updated Serial Configure 115200 8 n 1 h 15200 8 n 1 Serial Framing Lenth 64 e Serial Framing Timeout 10 milliseconds 10 milliseconds lt 256 0 for no timeout Network Mode none None Remote Server 24368131245 Domain IP 192 168 11 245 192 168 11 245 Locale Remote Port Number 8080 8080 Network Protocol tcp TCP gt Network Timeout 0 seconds fo AA timeout Apply Cancel Chart 7 WEB configuration page Through the correct module address default address http 192 168 16 254 ser2net asp you can access to the WEB configuration page The page can be divided into 3 areas Network configuration area 2 Serial function configuration areas 3 Configuration submit area 5 WEB network configuration Net mode selection Default default work mode ETH SERIAL Serial to Ethernet WIFI CLIENT SERIAL serial to WIFI CLIENT WIFI AP SERIAL Serial to WIFI AP Choose different work mode the web will show you different page Mode configuration page 12 e e TM RI Hh BRA FA R24 Shenzhen Hi Link Electronic Co Ltd F in Http Avww hiktech com Tel 0755 83575155 Fax 0755 83575189 is as follows 5 1 1 Serial to Ethernet dynamic ip NetMode ETH SERIAL z IP Type DHCP Chart 8 Serial to Ethernet dynamic 5 1 2 Serial to Ethernet static ip NetMode ETH SERIAL E IP Type STATIC y IP Address 021681331254 Subnet Mask 255 255 2550 Default Gateway 92168431
15. enna HiLink Functional Parameters WIFI work mode Client AP Router WDS Function Support WDS wireless bridge connection Wireless security Wireless MAC address filtering Wireless security function switch 64 128 152 bit WEP encryption IWPA PSK WPA2 PSK WPA WPA2 security mechanism Network management Remote Web management Configuration file import and export WEB software upgrade Serial to Ethernet Maximum transmission 230400bps rate TCP connection Max connection number gt 20 UDP connection Max connection number gt 20 Serial baud rate 50 230400bps Other Parameters Status indicator Status indicator Environmental standard Operating temperature 20 70 C Operating humidity 10 90 RH noncondensing Storage temperature 40 80 C Storage humidity 5 90 RH noncondensing Additional properties Frequency bandwidth optional 20MHz 40MHz Automatic JR HA A FAIR Shenzhen Hi Link Electronic Co Ltd Http Awww hiktech com Tel 0755 83575155 Fax 0755 83575189 2 2 Hardware Explanation 2 2 1 Mechanical Dimensions HLK RM04 Mechanical Dimensions is shown in the following picture Eg e e p eR AL FA RZ 4 Shenzhen Hi Link Electronic Co Ltd F i n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 MAIN IC Picture2 Dimensions Unit mm 2 2 2 Pins Interface The Pin of this prod
16. eout 0 ok at mode server at uart 115200 8 n 1 ok at uartpacklen 64 ok at uartpacktimeout 10 ok at net_commit 1 6 3 4 Serial to wifi client dynamic IP address Code char commands_wifi_client X at netmode 2 n at wifi_conf HI LINK wpa2_aes 12345678 r n at dhcpc I r n at remoteip 192 168 11 245 r n at remoteport 8080 n at remotepro tcp WWn at timeout O r n at mode server r n at uart 115200 8 n NAM at uartpacklenz64N NN at uartpacktimeout 10 r n at net_commit INNN at reconn 1 r n n Com_send commands_wifi_client Run and return 27 e RI Pe eR ALL TARA Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 at netmode 2 ok at wifi_conf HI LINK wpa2_aes 12345678 ok at dhcpc 1 at remoteip 192 168 11 245 ok at remoteport 8080 ok at remotepro tcp at timeout 0 ok at mode server at uart 115200 8 n 1 ok at uartpacklen 64 ok at uartpacktimeout 10 ok at net_commit 1 6 3 5 Serial to wifi client static IP address Code char commands wifi client static N at netmode 2NNN at wifi conf HI LINK wpa2 aes 123456785 AmM at dhcpc O r n at net_ip 192 168 11 254 255 255 255 0 192 168 11 1 n at net_dns 192 168 11 1 8 8 8 5 45M at remoteip 192 168 11 245 r n at remoteport 8080 n at remotepro tcpiWm at timeout O r n at mode serveAAm at uart 115200 8 n NAM at uartpacklen 64 r n at uartpacktimeout 10 n at net_commit
17. erver fi92 168 11 245 DomainAP 192 168 11 245 192 168 11 245 Locale Remote Port Number 080 Network Protocol udp UDP Network Timeout 0 seconds b seconds lt 256 0 for no timeout Submit Current shows the current configuration Updated shows the current revision parameters Submit submit the revision Serial Configure Serial configuration fomat Baud rate data bits parity bit stop bit For example 115200 8 n 1 Serial Framing Lenth The Lenth of Serial Framing Serial Framing Timeout The time of Serial Framing Network Mode choose Client Server or none Remote Server Domain IP Remote Server Domain IP address For exmpale 192 168 11 245 or www hlktech com Locale Remote Port Number The specified parameter is not the same under the different network modes Client specifies the port number on the remote Server specified local port number 15 H e RA We AL YL FA RA Shenzhen Hi Link Electronic Co Ltd F i n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 Network Protocol Use tcp or udp Protocol Network Timeout Under the server network mode no data transmission within the timeout period the connection will be disconnected O specifies never disconnected 6 Serial AT command configuration 6 1 Access to AT command mode Module in network fault such as fault allocation situation will automatically exit the transparent transmission mode enter AT instruction mode
18. es 9 4 1 SERTAL TO ETHERNET ui a ad Ee que Qe ed eu dee equ ve Dude des 9 42 SERLAL TO dI EGIBII MC 10 4 3 SERLIALTO WIELAP isis e GEENE ATES 10 Ll DEA MO RR CXu A T 11 4 5 PARAMETER CONFIGURATION DIRECTION ccccccsssssssssssssccssscsccscscscsssssccsccccccccccccccccccccccsccccssseees 11 5 WEB CONFIGURATION ici AA 12 5 1 WEB NETWORK CONFIGURATION ccccccccsssseccccesececcusecceceueccecueccseeeccscueeesesscccesuueecsseueccessueesessueecssaueeseusaeees 12 SA1 Serial to Eihernet dynamic ip ie ed tete abate ole bennett R ES 13 234 2 Senalto Ethernet Static iP o ias 13 5 1 3 Serial to WIFI CLIENT dynamic ip sscccesccceseccessccesseeesneecescecsscecesseeesseecsacecsscecssaeeesaeessaeecseeseeaesenaeeesaes 13 3 1 4 Serialito WIFI CLIENT static ip ioi incidiendo Fes Ee keep esl e ede ainda tess ode epa c 14 Debs SCTIAL TO WIFLAP emend 14 5 2 WEB SERIAL CONFIGURATION ccccccsessecccceseccccecececcueecccesueccecuseccscueccscueeeseusueccesuueessesueccessuceseseueesessueesessueees 14 6 SERIAL AT COMMAND CONFIGURATION eee eeeee eene nene nene nones ehe sepe pese s spese sese sepes ese sese sese sepes esee pepe e 16 6 1 ACCESS TO AT COMMAND MODE ee een eheenenn nr hhn tese enn i ires iss e nn sie e isse nn n aane ese e ene arenis e esee nun 16 005 XAT COMMAND etre uL a
19. feature is turned on Format At Net_ip lt ip gt mask lt gateway gt r Parameters Ip Ip address Mask Subnet mask Gateway Gateway Network Element 6 2 5 net dns Function Network mode setting This parameter is not valid when Dhcp client feature is turned on Format At Net_dns lt dns1 gt lt dns2 gt r parameters dns1 Major DNS address dns2 Minor DNS address 6 2 6 dhcpd Function Dhcp server enable This parameter is not valid when the network mode is AP Format At dhcpd lt dhpcd gt r Parameters Table 6 6 Dhcp servers enable value meaning 0 close 1 open 19 H e RA AL YL FA RA Shenzhen Hi Link Electronic Co Ltd F i n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 6 2 7 dhcpd ip Function Dhcp server IP setting Format At Dhcpd_ip lt ip start gt lt ip end gt mask gateway Ww parameters Ip start Ip started address Ip end Ip ended address Mask Subnet mask Gateway Gateway Network Element 6 2 8 dhcpd dns Function Dhcp server dns setting Format At Dhepd_dns lt dns1 gt lt dns2 gt r Parameters dns1 Major dns address dns2 Minor dns address 6 2 9 dhcpd time Function Dhcp server time setting Format At Dhcpd time time gt r Parameters time Dhcp effective time assigned to device 6 2 10 net commit Function Submit to network setting Network configuration parameters set to be submitted by this p
20. hen Hi Link Electronic Co Ltd Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 at dhcpd_time 86400 ok at net_ip 192 168 16 254 255 255 255 0 192 168 16 254 ok at net_dns 192 168 16 254 8 8 8 8 ok at remoteip 192 168 11 245 ok at remoteport 8080 ok at remotepro tcp at timeout 0 ok at mode server at uart 115200 8 n 1 ok at uartpacklen 64 ok at uartpacktimeout 10 ok at net_commit 1 6 3 7 Restore factory value Code char commands_device_default at default I n at reboot 1 r n Com send commands device default Run and return at default 1 configuration 7 Serial configuration tools port Tool interface is as follows After 30s the modules start normally all configuration parameters change to the factory HLK RM04 CONFIG is a configuration tools that configurate the module through the serial 30 E e RII WR ALLA RA Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 E HLE RE04_CONFIG By Shen hen Hi Link ElectronicIechnology co Ltd Command COM11 y Search m Operating Mode E deis n C WiFi Client C WiFi AP at remoteip 192 168 11 245 at remoteport 8080 at remotepro tcp at timeout 0 at mode server Network Protocol 3 WiFi Parameter at uart 115200 8 n 1 TCP Server SSID at uartpacklen 64 TCP Client lat uartpacktimeout 10 Enc Type at net_c
21. low EXC x Save current config to user Chart 19 Pop up Dialog of parameter saving Click on the button yes the instruction in the ready for sent AT instruction area will save for userO parameter group After this step when you click userO anytime this parameter group can be called immediately and covered to the ready for sent AT instruction area The stored user parameter will save as text file in the tools contents file name respectively userO userl user2 user3 7 5 Inquiry configuration Click on the button inquery The tool will send a series of AT instructions immediately to the module to inquires the current configuration of the module the result of execution will show in AT instruction return information area at once each configuration items will make corresponding change with the return information 7 6 Access to transparent transmission mode If the module has already in the AT instruction mode click on the button T T you can access to the transparent transmission mode at once 7 Restore factory factory value setting Click on the button reset the tool will pop up a confirmed box shown as below EX x Reset to Default Setting 34 H e TM IRI RAL FA S Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 Chart 20 Pop up box for reset default setting Click on the button yes The tools will send AT instruction immediately after
22. mode Function The conversion mode setting Format At mode lt mode gt r Parameters Table 6 10 mode setting None No protocol Client Tcp protocol Server Udp protocol 22 e e TM RI PARA FA IRA 4 Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 6 2 17 uart Function Serial configuration setting Format At uart lt baud gt lt data gt lt parity gt lt stop gt r parameters Baud Baud rate Data Data bits Parity Parity bit Stop length of stop bit 6 2 18 uartpacklen Function Serial framing length setting Format At uartpacklen lt uartpacklen gt r Parameters uartpacklen Serial framing length Unit bit Default value 64 6 2 19 uartpacktimeout Function Serial framing time setting Format At uartpacktimeout lt uartpacktimeout gt r Parameters uartpacktimeout Serial framing time unit ms Default value 10 6 2 20 save Function Submitted to serial converter configuration and restart the service Format At save lt save gt r Parameters Table 6 11 submit to network setting 23 H Link JR HA A FAIR Shenzhen Hi Link Electronic Co Ltd Http Avww hiktech com Tel 0755 83575155 Fax 0755 83575189 invalid submit 6 2 21 reconn Function Restart serial transformation service Format At reconn lt reconn gt r Parameters Table 6 12 reconn arbitrarily Re
23. ne en neret 26 6 3 4 Serial to wifi client dynamic IP address eese eene nne neret enne enn 27 6 3 5 Serial to wifi client static IP address eese senem nennen nennen en nennen 28 6 3 6 Y TA O 29 OSS Restore factory val ocio e de ied ac 30 7 SERIAL CONFIGURATION TOOLS cese ecce eese e eerte ee etes esset ense sett tns esee enses etes esset enses eee es sese tense ee tena eae 30 TA SEARCHING THE MODULE eire rH OP OO I RP REP Teteres 32 7 2 SET EACH PARAMETERS i cictiesieios resiste rese eel eese Peng EH t dba FE inge LEE EXPL o Pe Pug ee e Hue Me Pere Hed e ie aei boue ee cogida 32 1 3 SUBMIT THE CONFIGURATION T L 33 14 JUSER IDATA RETENTION 3 ox deed ertet dure deste A e E S a E E ES S 34 TD INQUIRY CONFIGURATION RR lila 34 7 6 ACCESS TO TRANSPARENT TRANSMISSION MODE cessceesssecesceceseeeesacecsscecseeceseesesaeecsaeecsaeecsaeeesaeeesaeersaeeenea 34 Td RESTORE FACTORY FACTORY VALUE SETTING i ertt cet edocs PHP HEP YE PE cueensnees ee ati E EE EU T vA Eee erates 34 S DEVICE SEARCH M LOO Pc 35 9 RESTORE FACTORY SETTINGS scsssssssssscsscsssenssscedassesoussaussasdunseseescavestedessecastsoussusdensesssoadeasesdensoansuadeaseedenteass 36 10 FIRMWARE UPGRADE De S 37 E TM RA Ae tAr Shenzhen Hi Link Electronic Co Ltd E HFLI n k Http www hiktech com Tel 0755 83575155 Fax 0755 83575189 APPENDIX A DOCUMENT REVISION REC
24. odule HLK RM04 the module will be searched if it has been connected and in AT instruction mode The module information will be found in the AT instruction return information area Shown as below gt at Found Device at COM11 115200 Chart 16 searching the module At this time The PC and module have been able to establish the normal AT command communication All the AT interactive orders need to process based on the normal AT instruction communication 7 2 Set each Parameters Configurate the required function through the configuration items 3 4 5 6 7 The Configuration and modification information would immediately create the matching AT command in the ready for sent AT instruction area The generated AT instruction will not send to the module at once Shown as below 32 E e RII WR ALLA RA Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 E HLE RM04_ CONFIG By ShenZhen Hi Link Electroniclechnology co Ltd Command COM11 v Search Operating Mode ES Ser2WIFI WiFi Client C WiFi AP at remoteip 192 168 11 245 jat remoteport 8080 at remotepro tcp at timeout 0 Network Protocol WiFi Parameter at mode server at uart 115200 8 n 1 3 TCP Server SSID at uartpacklen 64 TCP Client at uartpacktimeout 10 Enc Type at net_commit 1 UDP Server ME v UDP Client Key Resp
25. ommit 1 UDP Server Seite v C UDP Client Key Response Po E Serial Parameter Baud 115200 y Data E y Parity NONE Stop Bit fi y Y DHCP Network Parameter a x x 9 Mask Pa 2 Gateway A Saved User Parameter DNS sero 5 Useri E User2 s User3 El Commit Query Conal Transparent Reset Default Chart 13 Configuration tools interface Description l Com 11 stands for configuration serial option Search module searching button Operation mode work mode selection Wifi Parameter wireless parameter configuration Network Protocol Network protocol selection Serial Parameter Serial parameter configuration IP Network IP address configuration Commit submit the configuration me pe ee O pe eec Dec qu Query config Inquiry the configuration ha e Transparent Access to transparent transmission mode E E Reset Default Restore the factory value setting ha N Saved User Parameter User parameter holding area p Command Ready for sent AT instruction area 31 A H e RA xU Shenzhen Hi Link Electronic Co Ltd F i n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 14 Response AT instruction return information area 7 Searching the Module Through the configure serial port choice choose PC serial number and click on the search module button the tool will use the specified serial search the m
26. onse PS E Serial Parameter Baud 115200 y Data s y Port S086 Parity NONE Stop Bit E y Y DHCP Network Parameter IP Mask Gateway Saved User Parameter DNS User s Useri s User2 s User3 5 Commit Query Config Transparent Reset Default Chart 17 Serial configuration tool generates AT command 7 3 Submit the configuration Click the submit configuration button the tool will send the AT instruction in the ready for sent area to the module immediately The information of command execution results will be shown in AT instruction return information area AFATE at dhcpc 0 at net_ip 192 168 11 254 255 255 255 0 192 168 11 1 ok at net_dns 192 168 11 1 0 0 0 0 ok at remotepro tcp at mode client at remoteip 192 168 11 245 ok at remoteport 8080 ok at timeout 0 ok at uart 115200 8 n 1 ok at uartpacklen 264 ok at uartpacktimeout 10 ok at net commit 1 33 EA e e ZI AL YL FA RA Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 Chart18 Serial configuration tools instruction execution 7 4 User Data Retention The user parameter holding area provides parameter saving function Through this function you can save up four sets of parameters at most respectively userO user1 user2 user3 Click S button it will pop up a confirmation dialog shown as be
27. start serial transformation service 6 2 22 ver Function Inquiry the firmware version Format At ver r Parameters None 6 3 AT command control code roution 6 3 1 Inquiry configuration information Code char query at netmode r n at wifi_conf Anm at dhcpd r n at dhcpd_ip Ann at dhcpd_dns Ann at dhcpd_time r n at dhcpc r n at net_ip r n at net_dns r n at net_wanip r n X 24 H e TM RI PARA FA IRA 4 Shenzhen Hi Link Electronic Co Ltd F In Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 at remoteip r n at remoteport r n at remotepro r n at timeout AMM at mode Am at uart r n at uartpacklen Ann at uartpacktimeout r n at ver r n 5 Com send query Run return at netmode 0 at wifi_conf Hi Link wpa2_aes 12345678 at dhcpd 0 at dhcpd_ip 192 168 14 1 192 168 15 254 255 255 254 0 192 168 15 254 at dhcpd_dns 192 168 15 254 0 0 0 0 at dhcpd_time 86400 at dhcpc 1 at net_ip 192 168 15 254 255 255 254 0 192 168 11 1 at net_dns 192 168 11 1 0 0 0 0 at net_wanip at remoteip 192 168 11 245 at remoteport 8080 at remotepro tcp at timeout 0 at mode server at uart 115200 8 n 1 at uartpacklen 64 at uartpacktimeout 10 at ver V1 39 Dec 62012 6 3 2 Serial to Ethernet Dynamic ip address Code char commands_eth at netmode 1 r n at dhcpc 1 r n at remoteip 192
28. tes for the system to start after the start completion pulled ES RST pin down and make it surpass Trst release ES RST pin the system will automatically restart After rebooting the system is already in Factory mode 3 2 Configurate network parameter Set the PC to static IP mode and then connect it with the module via Ethernet or wifi The IP address is set to 192 168 16 100 255 255 255 0 gateway 192 168 16 254 The wifi default ssid and the default password see this document open the browser http 192 168 16 254 enter the web configuration page default user name and password is admin admin Modify the network parameters through the web Now the module s IP address is 192 168 16 254 Configuration details can be seen in 5 1 Eg H e RA Rx Shenzhen Hi Link Electronic Co Ltd F i n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 3 3 Configurate serial network parameter Opens the browser http 192 168 16 254 ser2net asp enter the serial to network web configuration page Configure the serial to network parameters as needed through a web page Configuration details can be seen in 5 2 4 Function Description The module can be divided into four major modes default mode serial to Ethernet serial to WIFI CLIENT and serial to WIFI AP 4 Serial to Ethernet HLK RM04 SWITCH COMI ETHI ROUTER DHCP IP STATIC IP Chart3 serial to Ethernet model In this mode ETHI enable W
29. uct as shown above is defined as follows Table2 2 module pin interface No Function Direction Explanation 1 VDDSV A 5 Power input 2 GND GND Power ground 3 GND G Serial sending 4 3 3V I 3 3V power output 5 LINK1 T O Net gape 1 LED indicte 6 USB_P USB signal 7 USB_M USB signal 8 DS SD I2C DATA GPIO 9 DS CLK I2C CLK GPIO 10 GIOPO T O Universal GPIO 11 TXOP1 T O Net gape 1 TX P Eg H e RA He ALL FA RAE Shenzhen Hi Link Electronic Co Ltd F i n Http www hlktech com Tel 0755 83575155 Fax 0755 83575189 12 TXONI T O Net gape 1 TX N 13 RXIP2 T O Net gape 2 RX P 14 RXIN2 T O Net gape 2 RX N 15 RXIN1 T O Net gape 1 RX P 16 RXIP1 T O Net gape 1 RX P 17 TXON2 T O Net gape 2 TX N 18 TXOP2 T O Net gape 2 TX P 19 RTS_N I All function serial RTS 20 UART_RX I Simple serial RX 21 UART_TX O Simple serial TX 22 RXD I All function serial RX 23 LINK2 T O Net gape 2 LED T O indicte 24 CTS_N O All function serial CTS 25 RIN I GPIO 26 TXD O All function serial TX 27 1 8V Power Out Net gape 1 8V output 28 VDDSV Power In SV input 3 Quick Start 3 Restore factory settings In order to ensure that all of configuration process is correct bringing the module to restore the factory settings firstly Factory mode the module can skip this step Above 5V 500mA to power the module on the power wait about 2 5 minu

Download Pdf Manuals

image

Related Search

Related Contents

  Silvercrest A1 User's Manual  Approche pratique dans une stratégie marketing de PME  Fitness Quest NBP01060-2 Home Gym User Manual  ALLEGRO Benutzerhandbuch  ATD Tools ATD-8696 User's Manual  Peugeot GPS Guide & User Manual  Operation Manual  

Copyright © All rights reserved.
Failed to retrieve file