Changes for page MS48-LR -- LoRaWAN To Modbus Gateway
Last modified by Kilight Cao on 2025/07/14 15:15
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -107,9 +107,9 @@ 107 107 108 108 = 2. Quick Start = 109 109 110 - 111 111 == 2.1 Access Configure Web UI == 112 112 112 + 113 113 **Web Interface** 114 114 115 115 Open a browser on the PC and type the LPS8-V2 ip address (depends on your connect method) ... ... @@ -130,6 +130,7 @@ 130 130 131 131 === 2.2.1 Overview === 132 132 133 + 133 133 MS48-LR supports flexible network set up for different environment. This section describes the typical network topology can be set in MS48-LR. The typical network set up includes: 134 134 135 135 * **WAN Port Internet Mode** ... ... @@ -138,8 +138,10 @@ 138 138 139 139 * **Cellular Mode** 140 140 142 + 141 141 === 2.2.2 Use WAN port to access Internet === 142 142 145 + 143 143 By default, the MS48-LR is set to use the WAN port to connect to an upstream network. When you connect the MS48-LR's WAN port to an upstream router, MS48-LR will get an IP address from the router and have Internet access via the upstream router. The network status can be checked in the (% style="color:blue" %)**home page**: 144 144 145 145 ... ... @@ -146,6 +146,7 @@ 146 146 147 147 === 2.2.3 Access the Internet as a WiFi Client === 148 148 152 + 149 149 In the WiFi Client Mode, MS48-LR acts as a WiFi client and gets DHCP from an upstream router via WiFi. 150 150 151 151 The settings for WiFi Client is under page (% style="color:blue" %)**Network ~-~-> Wi-Fi** ... ... @@ -158,6 +158,7 @@ 158 158 159 159 === 2.2.4 Use built-in 4G modem for internet access === 160 160 165 + 161 161 Users can see whether MS48-LR has EC25 on the label of the gateway to determine whether there is 3G/4G Cellular modem. 162 162 163 163 If the MS48-LR has 3G/4G Cellular modem, user can use it as main internet connection or back up. ... ... @@ -177,6 +177,7 @@ 177 177 178 178 === 2.2.5 Check Internet connection === 179 179 185 + 180 180 In the (% style="color:blue" %)**Home**(%%) page, we can check the Internet connection. 181 181 182 182 * GREEN Tick [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1652436675869-206.png?width=15&height=14&rev=1.1||alt="1652436675869-206.png"]] : This interface has Internet connection. ... ... @@ -188,6 +188,7 @@ 188 188 189 189 === **Step 1: Configure the LoRa Radio to your area Frequency Plan** === 190 190 197 + 191 191 The Frequency Plan has to be set the same as the Sensor node Frequency Plan. 192 192 193 193 [[image:image-20231108164616-1.png||height="353" width="765"]] ... ... @@ -195,6 +195,7 @@ 195 195 196 196 === **Step 2: Copy the unique Gateway EUI & Configure the LoRaWAN Server address** === 197 197 205 + 198 198 Every MS48-LR has a unique gateway EUI. The ID can be found on the LoRaWAN Semtech page: 199 199 200 200 ... ... @@ -202,24 +202,27 @@ 202 202 203 203 204 204 205 -=== Step 3: Enable the Built-in Network Server === 213 +=== **Step 3: Enable the Built-in Network Server** === 206 206 215 + 207 207 [[image:image-20231110163133-2.png||height="522" width="1015"]] 208 208 209 209 210 -=== Step 4: Logging to the Built-in Network Server === 219 +=== **Step 4: Logging to the Built-in Network Server** === 211 211 221 + 212 212 [[image:image-20231110170323-4.png||height="526" width="1006"]] 213 213 214 214 215 -=== Step 5: Register the gateway to the built-in ChirpStack === 225 +=== **Step 5: Register the gateway to the built-in ChirpStack** === 216 216 227 + 217 217 Copy Gateway EUI from the previous step to the following interface: 218 218 219 219 [[image:image-20231110170802-5.png||height="675" width="1011"]] 220 220 221 221 222 -=== Step 6: Register the Snesor-node to the built-in ChirpStack === 233 +=== **Step 6: Register the Snesor-node to the built-in ChirpStack** === 223 223 224 224 225 225 The gateway is already set up to connect to the built-in ChirpStack network, so we now need to configure the built-in ChirpStack. ... ... @@ -227,12 +227,12 @@ 227 227 Create a device in ChirpStack with the OTAA keys from LHT65N. 228 228 229 229 230 -==== 1). Add Device Profiles ==== 241 +==== **1). Add Device Profiles** ==== 231 231 232 232 [[image:image-20231110172143-6.png||height="641" width="1017"]] 233 233 234 234 235 -==== 2.) Add End Node Device ==== 246 +==== **2.) Add End Node Device** ==== 236 236 237 237 238 238 **Create an Application** ... ... @@ -253,8 +253,8 @@ 253 253 [[image:image-20231110175007-11.png||height="660" width="1004"]] 254 254 255 255 267 +=== **Step 7: Configure Modbus RTU Slave** === 256 256 257 -=== Step 7: Configure Modbus RTU Slave === 258 258 259 259 The gateway can as a Modbus RTU slave to run, the user can set a range of the register to write a sensor node uplink data. 260 260 ... ... @@ -263,9 +263,8 @@ 263 263 264 264 So the sensor node 70b3d57ed0051e22 uplink data will be written to the 0xABCD - 0xABE1 register. 265 265 266 -**Note: Since the length of the payload is the same for different sensor nodes if The length of the data is greater than the configuration length, the data will be replaced with FFFF.** 277 +(% style="color:red" %)**Note: Since the length of the payload is the same for different sensor nodes if The length of the data is greater than the configuration length, the data will be replaced with FFFF.** 267 267 268 - 269 269 Enable Modbus Slave ~-~--> Enable Slave 270 270 271 271 Show Sensor History ~-~--> See the sensor data log ... ... @@ -278,7 +278,7 @@ 278 278 279 279 Register Length ~-~--> The maximum write length with register 280 280 281 -**Note: Only 1 sensor can be written in the range set by the registers** 291 +(% style="color:red" %)**Note: Only 1 sensor can be written in the range set by the registers** 282 282 283 283 [[image:image-20231110175420-12.png||height="504" width="1161"]] 284 284 ... ... @@ -313,20 +313,19 @@ 313 313 [[image:image-20231111105548-4.png||height="849" width="1173"]] 314 314 315 315 316 - 317 - 318 - 319 - 320 320 = 3. Web Configure Pages = 321 321 322 322 == 3.1 Home == 323 323 330 + 324 324 Shows the system running status: 325 325 333 + 326 326 == 3.2 LoRa Settings == 327 327 328 328 === 3.2.1 LoRa ~-~-> LoRa === 329 329 338 + 330 330 This page shows the LoRa Radio Settings. There is a set of default frequency bands according to LoRaWAN protocol, and users can customize the band* as well. 331 331 332 332 Different LPS8v2 hardware versions can support different frequency ranges: ... ... @@ -342,11 +342,11 @@ 342 342 //**Note *: See this instruction for how to customize the frequency band: __[[How to customized LoRaWAN frequency band - DRAGINO>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20customized%20LoRaWAN%20frequency%20band/]]__**// 343 343 344 344 345 - 346 346 == 3.3 LoRaWAN Settings == 347 347 348 348 === 3.3.1 LoRaWAN ~-~-> LoRaWAN Semtech UDP === 349 349 358 + 350 350 This page is for the connection set up to a general LoRaWAN Network server such as [[TTN>>url:http://www.thethingsnetwork.org/]], [[ChirpStack>>url:https://www.chirpstack.io/]], etc. 351 351 352 352 [[image:image-20231109145535-2.png||height="577" width="666"]] ... ... @@ -354,6 +354,7 @@ 354 354 355 355 === 3.3.2 LoRaWAN ~-~-> LoRaWAN Basic Station === 356 356 366 + 357 357 This page is for the connection set up to the TTN Basic Station, AWS-IoT, etc. 358 358 359 359 [[image:image-20231109145619-3.png||height="438" width="668"]] ... ... @@ -361,11 +361,11 @@ 361 361 Please see this instruction to know more detail and a demo for how to use of LoRaWAN Basic Station: __[[Use of LoRaWAN Basic Station - DRAGINO>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Use%20of%20LoRaWAN%20Basic%20Station/]]__ 362 362 363 363 364 - 365 365 == 3.4 Network Settings == 366 366 367 367 === 3.4.1 Network ~-~-> WiFi === 368 368 378 + 369 369 Users can configure the wifi WAN and enable Wifi Access Point on this interface 370 370 371 371 [[image:image-20231109145715-4.png||height="282" width="774"]] ... ... @@ -373,11 +373,13 @@ 373 373 374 374 === 3.4.2 Network ~-~-> System Status === 375 375 386 + 376 376 [[image:image-20231109145758-5.png||height="535" width="772"]] 377 377 378 378 379 379 === 3.4.3 Network ~-~-> Network === 380 380 392 + 381 381 In the **Network ~-~-> Network** interface, Users can set the Ethernet WAN static ip address. 382 382 383 383 [[image:image-20231109145841-6.png||height="248" width="783"]] ... ... @@ -385,6 +385,7 @@ 385 385 386 386 === 3.4.4 Network ~-~-> Cellular === 387 387 400 + 388 388 In the **Network ~-~-> Cellular** interface, Users can Enable Cellular WAN and configure Celluar. 389 389 390 390 **Note: APN cannot be empty.** ... ... @@ -399,11 +399,13 @@ 399 399 400 400 === 3.5.1 System ~-~-> System Overview === 401 401 415 + 402 402 Shows the system info: 403 403 404 404 405 405 === 3.5.2 System ~-~-> System General === 406 406 421 + 407 407 In the **System-> System General** interface, Users can customize the configuration System Password and set Timezone. 408 408 409 409 In addition, Users can customize the FallBack IP address. ... ... @@ -413,11 +413,13 @@ 413 413 414 414 === 3.5.3 System ~-~-> Backup/Restore === 415 415 431 + 416 416 [[image:image-20231109150130-9.png||height="217" width="830"]] 417 417 418 418 419 419 === 3.5.4 System ~-~-> Remoteit === 420 420 437 + 421 421 In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it. 422 422 423 423 the users can refer to this link to configure them: **[[Monitor & Remote Access Gateway>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access#H2.1A0RemoteAccessviaRemote.it.]]** ... ... @@ -427,6 +427,7 @@ 427 427 428 428 === 3.5.5 System ~-~-> Package Management === 429 429 447 + 430 430 In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages. 431 431 432 432 [[image:image-20231109150446-11.png||height="566" width="840"]] ... ... @@ -454,6 +454,7 @@ 454 454 455 455 == 4.1 LoRaWAN Network Server ~-~- ChirpStack == 456 456 475 + 457 457 You can access the gateway's built-in LNS server of **ChirpStack **via the URL( __**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__) in your browser. 458 458 459 459 Such as __**//http:~/~/dragino-54ff12:8080 or http:~/~/<Local-IPV4-Address>//**__ ... ... @@ -469,6 +469,7 @@ 469 469 470 470 == 4.2 Application Server ~-~- Node-Red == 471 471 491 + 472 472 You can access the gateway's built-in AS server of **Node-Red **via the URL(__**//http:~/~/<hostname>:1880 or http:~/~/<local-IPV4-address>//**__) in your browser. 473 473 474 474 Such as __**//http:~/~/dragino-54ff12:1880 or [[http:~~/~~/<Local-IPV4-Address~>>>http://<Local-IPV4-Address>]]//**__ ... ... @@ -484,6 +484,7 @@ 484 484 485 485 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]] 486 486 507 + 487 487 === **Upgrade the node.js** === 488 488 489 489 By default, the MS48-LR node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old.