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: ... ... @@ -95,6 +95,9 @@ 95 95 * Automatic RF Sense and CAD with ultra-fast AFC. 96 96 * Packet engine up to 256 bytes with CRC 97 97 102 + 103 + 104 + 98 98 == 1.3 Features == 99 99 100 100 * LoRaWAN Class A & Class C protocol (default Class C) ... ... @@ -106,6 +106,9 @@ 106 106 * Support Modbus protocol 107 107 * Support Interrupt uplink (Since hardware version v1.2) 108 108 116 + 117 + 118 + 109 109 == 1.4 Applications == 110 110 111 111 * Smart Buildings & Home Automation ... ... @@ -115,6 +115,9 @@ 115 115 * Smart Cities 116 116 * Smart Factory 117 117 128 + 129 + 130 + 118 118 == 1.5 Firmware Change log == 119 119 120 120 [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]] ... ... @@ -189,7 +189,7 @@ 189 189 ))) 190 190 191 191 ((( 192 -(% 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. 193 193 ))) 194 194 195 195 ((( ... ... @@ -230,7 +230,7 @@ 230 230 231 231 232 232 ((( 233 -(% 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. 234 234 ))) 235 235 236 236 [[image:1652953568895-172.png||height="232" width="724"]] ... ... @@ -241,7 +241,7 @@ 241 241 ((( 242 242 ((( 243 243 ((( 244 -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. 245 245 ))) 246 246 ))) 247 247 ... ... @@ -316,7 +316,6 @@ 316 316 ))) 317 317 ))) 318 318 319 - 320 320 === 3.3.2 Configure sensors === 321 321 322 322 ((( ... ... @@ -341,7 +341,6 @@ 341 341 ))) 342 342 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 343 343 344 - 345 345 === 3.3.3 Configure read commands for each sampling === 346 346 347 347 ((( ... ... @@ -354,7 +354,7 @@ 354 354 During each sampling, the RS485-LN can support 15 commands to read sensors. And combine the return to one or several uplink payloads. 355 355 356 356 357 - (% style="color:#037691" %)**Each RS485 commands include two parts:**368 +**Each RS485 commands include two parts:** 358 358 359 359 ~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. 360 360 ... ... @@ -369,11 +369,11 @@ 369 369 Below are examples for the how above AT Commands works. 370 370 371 371 372 - (% 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: 373 373 374 374 (% border="1" style="background-color:#4bacc6; color:white; width:499px" %) 375 375 |(% style="width:496px" %)((( 376 - (% 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** 377 377 378 378 **xx xx xx xx xx xx xx xx xx xx xx xx: The RS485 command to be sent** 379 379 ... ... @@ -385,7 +385,7 @@ 385 385 In the RS485-LN, we should use this command AT+COMMAND1=01 03 0B B8 00 02,1 for the same. 386 386 387 387 388 - (% 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. 389 389 390 390 (% border="1" style="background-color:#4bacc6; color:white; width:510px" %) 391 391 |(% style="width:510px" %)((( ... ... @@ -398,21 +398,20 @@ 398 398 399 399 **Examples:** 400 400 401 -* (% style="color:#037691" %)**Grab bytes**412 +* Grab bytes: 402 402 403 403 [[image:image-20220602153621-1.png]] 404 404 405 405 406 -* (% style="color:#037691" %)**Grab a section**417 +* Grab a section. 407 407 408 408 [[image:image-20220602153621-2.png]] 409 409 410 410 411 -* (% style="color:#037691" %)**Grab different sections**422 +* Grab different sections. 412 412 413 413 [[image:image-20220602153621-3.png]] 414 414 415 - 416 416 417 417 ))) 418 418 ... ... @@ -521,7 +521,7 @@ 521 521 Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors. 522 522 523 523 524 -== 3.5 Configure RS485-L Nvia AT or Downlink ==534 +== 3.5 Configure RS485-BL via AT or Downlink == 525 525 526 526 ((( 527 527 User can configure RS485-LN via AT Commands or LoRaWAN Downlink Commands ... ... @@ -687,7 +687,7 @@ 687 687 ==== **Set Payload version** ==== 688 688 689 689 ((( 690 -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. 691 691 ))) 692 692 693 693 * ((( ... ... @@ -785,7 +785,7 @@ 785 785 XX XX XX XX: AT+COMMAND or AT+DATACUT command 786 786 ))) 787 787 * ((( 788 -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. 789 789 ))) 790 790 791 791 ((( ... ... @@ -1224,7 +1224,7 @@ 1224 1224 == 5.1 Access AT Command == 1225 1225 1226 1226 ((( 1227 -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. 1228 1228 ))) 1229 1229 1230 1230 [[image:1654162355560-817.png]] ... ... @@ -1231,7 +1231,7 @@ 1231 1231 1232 1232 1233 1233 ((( 1234 -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: 1235 1235 ))) 1236 1236 1237 1237 [[image:1654162368066-342.png]] ... ... @@ -1380,9 +1380,9 @@ 1380 1380 User can follow the introduction for [[how to upgrade image>>||anchor="H6.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 1381 1381 1382 1382 1383 -== 6.3 How many RS485-Slave can RS485-L Nconnects? ==1393 +== 6.3 How many RS485-Slave can RS485-BL connects? == 1384 1384 1385 -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"]]. 1386 1386 1387 1387 1388 1388 == 6.4 Compatible question to ChirpStack and TTI LoRaWAN server ? ==