Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -69,11 +69,15 @@ 69 69 ** Idle: 32mA@12v 70 70 ** 20dB Transmit: 65mA@12v 71 71 72 + 73 + 72 72 **Interface for Model:** 73 73 74 74 * RS485 75 75 * Power Input 7~~ 24V DC. 76 76 79 + 80 + 77 77 **LoRa Spec:** 78 78 79 79 * Frequency Range: ... ... @@ -109,6 +109,9 @@ 109 109 * Support Modbus protocol 110 110 * Support Interrupt uplink (Since hardware version v1.2) 111 111 116 + 117 + 118 + 112 112 == 1.4 Applications == 113 113 114 114 * Smart Buildings & Home Automation ... ... @@ -118,6 +118,9 @@ 118 118 * Smart Cities 119 119 * Smart Factory 120 120 128 + 129 + 130 + 121 121 == 1.5 Firmware Change log == 122 122 123 123 [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]] ... ... @@ -192,7 +192,7 @@ 192 192 ))) 193 193 194 194 ((( 195 -(% style="color:blue" %) **Step 1**(%%): Create a device in TTN V3 with the OTAA keys from RS485-LN.205 +**(% style="color:blue" %)Step 1**(%%): Create a device in TTN V3 with the OTAA keys from RS485-LN. 196 196 ))) 197 197 198 198 ((( ... ... @@ -233,7 +233,7 @@ 233 233 234 234 235 235 ((( 236 -(% style="color:blue" %) **Step 2**(%%): Power on RS485-LN and it will auto join to the TTN V3 network. After join success, it will start to upload message to TTN V3 and user can see in the panel.246 +**(% style="color:blue" %)Step 2**(%%): Power on RS485-LN and it will auto join to the TTN V3 network. After join success, it will start to upload message to TTN V3 and user can see in the panel. 237 237 ))) 238 238 239 239 [[image:1652953568895-172.png||height="232" width="724"]] ... ... @@ -244,7 +244,7 @@ 244 244 ((( 245 245 ((( 246 246 ((( 247 -There are plenty of RS485 devices in the market and each device has different command to read the valid data. To support these devices in flexible, RS485-LN supports flexible command set. User can use [[AT Commands>>||anchor="H3.5ConfigureRS485-L NviaATorDownlink"]] or LoRaWAN Downlink Command to configure what commands RS485-LN should send for each sampling and how to handle the return from RS485 devices.257 +There are plenty of RS485 devices in the market and each device has different command to read the valid data. To support these devices in flexible, RS485-LN supports flexible command set. User can use [[AT Commands>>||anchor="H3.5ConfigureRS485-BLviaATorDownlink"]] or LoRaWAN Downlink Command to configure what commands RS485-LN should send for each sampling and how to handle the return from RS485 devices. 248 248 ))) 249 249 ))) 250 250 ... ... @@ -319,7 +319,6 @@ 319 319 ))) 320 320 ))) 321 321 322 - 323 323 === 3.3.2 Configure sensors === 324 324 325 325 ((( ... ... @@ -344,7 +344,6 @@ 344 344 ))) 345 345 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 346 346 347 - 348 348 === 3.3.3 Configure read commands for each sampling === 349 349 350 350 ((( ... ... @@ -357,7 +357,7 @@ 357 357 During each sampling, the RS485-LN can support 15 commands to read sensors. And combine the return to one or several uplink payloads. 358 358 359 359 360 - (% style="color:#037691" %)**Each RS485 commands include two parts:**368 +**Each RS485 commands include two parts:** 361 361 362 362 ~1. What commands RS485-LN will send to the RS485 sensors. There are total 15 commands from **AT+COMMAD1**, **ATCOMMAND2**,…, to **AT+COMMANDF**. All commands are of same grammar. 363 363 ... ... @@ -372,11 +372,11 @@ 372 372 Below are examples for the how above AT Commands works. 373 373 374 374 375 - (% style="color:#037691" %)**AT+COMMANDx**(%%)**: **This command will be sent to RS485 devices during each sampling, Max command length is 14 bytes. The grammar is:383 +**AT+COMMANDx : **This command will be sent to RS485 devices during each sampling, Max command length is 14 bytes. The grammar is: 376 376 377 377 (% border="1" style="background-color:#4bacc6; color:white; width:499px" %) 378 378 |(% style="width:496px" %)((( 379 - (% style="color:#037691" %)**AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m**387 +**AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m** 380 380 381 381 **xx xx xx xx xx xx xx xx xx xx xx xx: The RS485 command to be sent** 382 382 ... ... @@ -388,7 +388,7 @@ 388 388 In the RS485-LN, we should use this command AT+COMMAND1=01 03 0B B8 00 02,1 for the same. 389 389 390 390 391 - (% style="color:#037691" %)**AT+DATACUTx**(%%)**: **This command defines how to handle the return from AT+COMMANDx, max return length is 45 bytes.399 +**AT+DATACUTx : **This command defines how to handle the return from AT+COMMANDx, max return length is 45 bytes. 392 392 393 393 (% border="1" style="background-color:#4bacc6; color:white; width:510px" %) 394 394 |(% style="width:510px" %)((( ... ... @@ -401,21 +401,20 @@ 401 401 402 402 **Examples:** 403 403 404 -* (% style="color:#037691" %)**Grab bytes**412 +* Grab bytes: 405 405 406 406 [[image:image-20220602153621-1.png]] 407 407 408 408 409 -* (% style="color:#037691" %)**Grab a section**417 +* Grab a section. 410 410 411 411 [[image:image-20220602153621-2.png]] 412 412 413 413 414 -* (% style="color:#037691" %)**Grab different sections**422 +* Grab different sections. 415 415 416 416 [[image:image-20220602153621-3.png]] 417 417 418 - 419 419 420 420 ))) 421 421 ... ... @@ -524,7 +524,7 @@ 524 524 Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors. 525 525 526 526 527 -== 3.5 Configure RS485-L Nvia AT or Downlink ==534 +== 3.5 Configure RS485-BL via AT or Downlink == 528 528 529 529 ((( 530 530 User can configure RS485-LN via AT Commands or LoRaWAN Downlink Commands ... ... @@ -690,7 +690,7 @@ 690 690 ==== **Set Payload version** ==== 691 691 692 692 ((( 693 -This is the first byte of the uplink payload. RS485-L Ncan connect to different sensors. User can set the PAYVER field to tell server how to decode the current payload.700 +This is the first byte of the uplink payload. RS485-BL can connect to different sensors. User can set the PAYVER field to tell server how to decode the current payload. 694 694 ))) 695 695 696 696 * ((( ... ... @@ -788,7 +788,7 @@ 788 788 XX XX XX XX: AT+COMMAND or AT+DATACUT command 789 789 ))) 790 790 * ((( 791 -YY: If YY=0, RS485-L Nwill execute the downlink command without uplink; if YY=1, RS485-LN will execute an uplink after got this command.798 +YY: If YY=0, RS485-BL will execute the downlink command without uplink; if YY=1, RS485-LN will execute an uplink after got this command. 792 792 ))) 793 793 794 794 ((( ... ... @@ -1227,7 +1227,7 @@ 1227 1227 == 5.1 Access AT Command == 1228 1228 1229 1229 ((( 1230 -RS485-L Nsupports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to RS485-LNto use AT command, as below.1237 +RS485-BL supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to RS485-BL to use AT command, as below. 1231 1231 ))) 1232 1232 1233 1233 [[image:1654162355560-817.png]] ... ... @@ -1234,7 +1234,7 @@ 1234 1234 1235 1235 1236 1236 ((( 1237 -In PC, User needs to set (% style="color:blue" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console of RS485-L N. The default password is 123456. Below is the output for reference:1244 +In PC, User needs to set (% style="color:blue" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console of RS485-BL. The default password is 123456. Below is the output for reference: 1238 1238 ))) 1239 1239 1240 1240 [[image:1654162368066-342.png]] ... ... @@ -1383,9 +1383,9 @@ 1383 1383 User can follow the introduction for [[how to upgrade image>>||anchor="H6.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 1384 1384 1385 1385 1386 -== 6.3 How many RS485-Slave can RS485-L Nconnects? ==1393 +== 6.3 How many RS485-Slave can RS485-BL connects? == 1387 1387 1388 -The RS485-L Ncan support max 32 RS485 devices. Each uplink command of RS485-LNcan support max 16 different RS485 command. So RS485-LNcan support max 16 RS485 devices pre-program in the device for uplink. For other devices no pre-program, user can use the [[downlink message (type code 0xA8) to poll their info>>||anchor="H3.3.3Configurereadcommandsforeachsampling"]].1395 +The RS485-BL can support max 32 RS485 devices. Each uplink command of RS485-BL can support max 16 different RS485 command. So RS485-BL can support max 16 RS485 devices pre-program in the device for uplink. For other devices no pre-program, user can use the [[downlink message (type code 0xA8) to poll their info>>||anchor="H3.3.3Configurereadcommandsforeachsampling"]]. 1389 1389 1390 1390 1391 1391 == 6.4 Compatible question to ChirpStack and TTI LoRaWAN server ? ==