background image

Datasheet

MKGW2-LW Configuration Guide

MOKO LoRaWAN Gateway

MOKO TECHNOLOGY LTD.

Version 1.1

www.mokosmart.com

Configuration Guide

MKGW2-LW

Summary of Contents for MKGW2-LW

Page 1: ...Datasheet MKGW2 LW Configuration Guide MOKO LoRaWAN Gateway MOKO TECHNOLOGY LTD Version 1 1 www mokosmart com Configuration Guide MKGW2 LW ...

Page 2: ...2 Package Information 9 3 Installation 10 4 Connecting the Hardware 11 4 1 Connect the Gateway 11 4 2 Power Up and Turn ON OFF 11 5 Log into the Gateway 12 6 Internet setting 13 6 1 Ethernet to Internet 13 6 2 WiFi to Internet 14 7 WiFi Setting 16 8 LAN Setting 17 9 Diagnostics 18 10 Server Access 18 11 System setting 20 11 1 Device setting 20 11 1 1 Modify Login Password 20 11 1 2 Time Configurat...

Page 3: ... Your End device with TTN 28 14 Gateway Default Frequency 31 16 Revision 32 MOKO TECHNOLOGY LTD 33 List of Tables Table1 MKGW2 LW Main Specifications 7 Table2 MKGW2 LW Hardware Interfaces 8 Table3 MKGW2 LW Package List 9 Table4 Default Frequency 31 List of Figures Figure1 MKGW2 LW Interface 7 Figure2 MKGW2 LW Mechanical Size 8 Figure3 MKGW2 LW Package 9 Figure4 MKGW2 LW Installation 1 10 Figure5 M...

Page 4: ...r Connection Check 19 Figure23 Gateway Login Password Modify 20 Figure24 Gateway Time Configuration 20 Figure25 Gateway Restart Configuration 21 Figure26 Gateway Log File 21 Figure27 Gateway LED Configuration 21 Figure28 Gateway Configuration File Download and Upload 22 Figure29 Gateway Firmware Upgrade On line 22 Figure30 Gateway Server Address Configuration 23 Figure31 TTN Login Page 24 Figure32...

Page 5: ...4 Figure41 TTN Device Uplink Data 30 ...

Page 6: ... 2 modes AP and STA as router offers 2 4Ghz Wi Fi and wired Ethernet for connecting internet The gateway built in OpenWRT operating system users can flexibly configure network parameters and LoRaWAN protocol parameters through the Web management platform The MKGW2 LW Gateway can be connected to LoRaWAN terminals in various application nodes collects useful information and sends the data to cloud s...

Page 7: ...itivity 270Mbps 61dBm 10 PER 135Mbps 65dBm 10 PER 108Mbps 68dBm 8 PER 54Mbps 68dBm 10 PER 11Mbps 85dBm 8 PER 6Mbps 88dBm 10 PER 1Mbps 90dBm 8 PER LoRa Output Power Max 23dBm LoRa Sensitivity 141dBm SF12 BW 125kHz LED Power LED 1 System operating normally Solid green 2 System operating abnormally Solid red 3 System upgrade Blink green Network LED 1 No network Solid yellow 2 ETH connection Solid blu...

Page 8: ... and Indicator Figure1 MKGW2 LW Interface No Type Function Remark 1 Reset button 1 Reset to factory setting 2 Firmware upgrade 1 Reset Insert and press the button then keep 5s 2 Update Before firmware upgrade insert USB Flash Drive and short press the button 2 USB Port Plug a USB flash drive with upgrade file for firmware upgrade The name of upgrade file is required to be MKGW2 LW Upgrade bin 3 PO...

Page 9: ...stem upgrade Blink green 10 Network LED Indicate network status 1 No network Solid yellow 2 ETH connection Solid blue 3 WIFI connection Solid green 11 Communicatio n LED Indicate Lora and server communicate status 1 LoRa COMM Server COMM Solid blue 2 LoRa COMM x Server COMM Solid yellow 3 LoRa COMM Server COMM Solid green 4 LoRa COMM x Server COMM x Solid red Table2 MKGW2 LW Hardware Interfaces 2 ...

Page 10: ...ge List Item Qty Remark MKGW2 LW 1 Gateway WiFi Antenna 1 Lora Antenna 1 Micro USB cable 1 Positioning screws 2 Used for fixing on the wall Expansion rubber plug 2 Used for fixing on the wall PET localizer 1 Table3 MKGW2 LW Package List 2 5 2 Package Information Figure3 MKGW2 LW Package ...

Page 11: ...ollowing picture and then plug the screw anchors in the wall Figure4 MKGW2 LW Installation 1 Step 2 Install the screw into the wall and keep about 3 mm of clearance Figure5 MKGW2 LW Installation 2 Step 3 Insert the screw head into the hanging hole behind the equipment then gently pull down to complete the installation Figure6 MKGW2 LW Installation 3 ...

Page 12: ...e7 MKGW2 LW Botton Silk 2 Connect the power supply Refer to Chapter 4 2 Power up and Turn ON OFF for additional information 4 2 Power Up and Turn ON OFF Figure8 MKGW2 LW Side Silk Power Up follow the silk on the enclosure you can select different power solution 1 Micro USB 5V 2A 2 DC Power Port 12V 1A 3 POE Port POE IEEE 802 3af Turn ON OFF After power up the gateway it needs to push down the powe...

Page 13: ...erify the password Default Moko4321 and connect to the gateway Figure9 Gateway SSID 3 After successful connection the WEB management platform can be accessed through the IP address 192 168 22 1 of the gateway LAN interface Log on using the following default credentials Username Admin Password admin It is recommended that the default password is changed for security reasons For details on changing ...

Page 14: ...IP requires WAN IP subnet mask gateway IP DNS etc After the network configuration is completed wait for the gateway to access the network You can check the network status in gateway STATUS web page and also can check the network LED indicator No network Solid yellow ETH connection Solid blue WIFI connection Solid green 6 1 Ethernet to Internet Use a network cable to connect to the PoE port of the ...

Page 15: ... Ethernet Static IP 6 2 WiFi to Internet Connect to a Wireless Router via WLAN to access the Internet Select a wireless router and connect to it After the configuration is complete the gateway will restart And the network status can be check in the STATUS page ...

Page 16: ...MOKO LoRaWAN Gateway MKGW2 LW www mokosmart com 15 Figure14 WiFi Automatic IP Figure15 WiFi Automatic IP Select a Wireless Router Figure16 WiFi Static IP ...

Page 17: ...Network Status Check 7 WiFi Setting You can modify the SSID of the gateway whether to hide the SSID encryption mode and password After the configuration is complete the gateway will be restarted for the configuration to take effect Figure18 Gateway WiFi Setting ...

Page 18: ...A1PSKWPA2PSK AES WPA2PSK TKIPAES WPA2PSK AES WPA2PSK TKIP WPAPSK TKIPAES WPAPSK AES WPAPSK TKIP WEP NONE No encryption 8 LAN Setting You can modify the gateway LAN IP and subnet mask After the configuration is complete the gateway will be restarted for the configuration to take effect Figure19 Gateway LAN Setting ...

Page 19: ...eway Network Diagnostics 10 Server Access MKGW2 LW LoRaWAN gateway only support Semtech UDP Packet Forwarder to access the LoRa server now You need to fill in the LoRa Server Address Server Up Port Server Down Port and select the Frequency Channel and HeartBeat After the LoRa server connect successfully you can check the server access status in gateway STATUS web page and also can check the LoRa s...

Page 20: ...MOKO LoRaWAN Gateway MKGW2 LW www mokosmart com 19 Figure21 Gateway Server configuration Figure22 Gateway Server Connection Check ...

Page 21: ...nd needs to be verified with the old password Figure23 Gateway Login Password Modify 11 1 2 Time Configuration User selects the time zone and then checks Set Automatically The NTP server follows the default settings and automatically updates to the current time in the time zone If the user needs to set the time to match the local browser time close Set Automatically and click Sync With Browser to ...

Page 22: ... and steadily Figure25 Gateway Restart Configuration 11 1 4 Log Once the user finds the device abnormal during use the system Log File and LoRa Packet Log file can be downloaded to the local Please send the log file to MOKO to check the system error Figure26 Gateway Log File 11 1 5 LED Configuration User can turn off the device LED After saving the operation takes effect immediately In the state o...

Page 23: ...aded system parameters are consistent with the current system configuration parameters Figure29 Gateway Firmware Upgrade On line USB upgrade method Step1 Copy the upgrade file named MKGW2 LW Upgrade bin to the USB flash drive Step2 Insert the USB flash drive into the gateway USB Port short press the RESET button and power LED will blink green that indicate the device upgrading now With USB upgrade...

Page 24: ...WEB and get the gateway ID We use EU868 as a examples in below instructions Other frequency band server address of TTN please refer to TTN website https www thethingsnetwork org docs gateways packet forwarder semtech udp html Examples gateway ID 68B9D3FFFED191D8 Figure30 Gateway Server Address Configuration 13 1 Set up your account with TTN TTN web link https www thethingsnetwork org Create an acc...

Page 25: ...MOKO LoRaWAN Gateway MKGW2 LW www mokosmart com 24 Figure31 TTN Login Page 13 2 Register your gateway with TTN 1 After login your TTN account go into the CONSOLE page And click the gateway ...

Page 26: ... MKGW2 LW www mokosmart com 25 Figure32 TTN Console Page Figure33 Register gateway 2 Fill in the gateway ID obtain from gateway Web Examples gateway ID 68B9D3FFFED191D8 forwarder Semtech packet forwarder and frequency plan ...

Page 27: ...MOKO LoRaWAN Gateway MKGW2 LW www mokosmart com 26 Figure34 Register gateway 3 After the gateway register successfully you can check the status ...

Page 28: ...smart com 27 Figure35 Gateway Status Check 13 3 Create an Application with TTN 1 Click Applications in the top menu of TTN website and Add Application 2 Fill in the application information and click Add application Figure36 Add Application ...

Page 29: ... After create the application click the register device in the application screen Figure37 Application Screen 2 Fill in the device ID and EUI in the Register Device page We will use our end device LW004 PB as an example in below Noted The end device frequency should be the same as the gateway ...

Page 30: ...ll generate the Application EUI and App Key after register the device We need to configure the end device and keep the same the Application EUI and App Key For the end device parameter configuration please refer to our actual device user manual Figure39 TTN Device EUI Application EUI App Key ...

Page 31: ...osmart com 30 4 After device parameter configure to the same with TTN and connect the TTN server successfully you can check the device status and data in the TTN device page Figure40 TTN Device Status Check Figure41 TTN Device Uplink Data ...

Page 32: ... 7 913 9 914 1 914 3 914 5 914 7 914 9 914 2 AU915 0 7 64 915 2 915 4 915 6 915 8 916 0 916 2 916 4 916 6 915 9 8 15 65 916 8 917 0 917 2 917 4 917 6 917 8 918 0 918 2 917 5 16 23 66 918 4 918 6 918 8 919 0 919 2 919 4 919 6 919 8 919 1 24 31 67 920 0 920 2 920 4 920 6 920 8 921 0 921 2 921 4 920 7 32 39 68 921 6 921 8 922 0 922 2 922 4 922 6 922 8 923 0 922 3 40 47 69 923 2 923 4 923 6 923 8 924 ...

Page 33: ...device Do not paint the device paint would cause improper operation Do not disassemble the device casually or use the tools for maintenance without permission Handle your device and accessories with care The suggestions above help you keep your device operational 16 Revision Version Description Editor Date 1 0 Initial Version Iris 2020 8 26 1 1 1 Update document format 2 Add TTN server address lin...

Page 34: ... reserves all the rights for the final explanation Please contact MOKO sales team or visit https www mokosmart com to get more related information if needed MOKO TECHNOLOGY LTD 4F Buidling2 Guanghui Technology Park MinQing Rd Longhua Shenzhen Guangdong China Tel 86 755 23573370 829 Support_lora mokotechnology com https www mokosmart com ...

Reviews: