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,13 @@ 69 69 ** Idle: 32mA@12v 70 70 ** 20dB Transmit: 65mA@12v 71 71 72 + 72 72 **Interface for Model:** 73 73 74 74 * RS485 75 75 * Power Input 7~~ 24V DC. 76 76 78 + 77 77 **LoRa Spec:** 78 78 79 79 * Frequency Range: ... ... @@ -97,7 +97,6 @@ 97 97 98 98 99 99 100 - 101 101 == 1.3 Features == 102 102 103 103 * LoRaWAN Class A & Class C protocol (default Class C) ... ... @@ -109,6 +109,8 @@ 109 109 * Support Modbus protocol 110 110 * Support Interrupt uplink (Since hardware version v1.2) 111 111 113 + 114 + 112 112 == 1.4 Applications == 113 113 114 114 * Smart Buildings & Home Automation ... ... @@ -118,6 +118,8 @@ 118 118 * Smart Cities 119 119 * Smart Factory 120 120 124 + 125 + 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/]] ... ... @@ -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.252 +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 ... ... @@ -320,6 +320,8 @@ 320 320 ))) 321 321 322 322 328 + 329 + 323 323 === 3.3.2 Configure sensors === 324 324 325 325 ((( ... ... @@ -345,6 +345,8 @@ 345 345 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 346 346 347 347 355 + 356 + 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:**369 +**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:384 +**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**388 +**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.400 +**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,17 +401,17 @@ 401 401 402 402 **Examples:** 403 403 404 -* (% style="color:#037691" %)**Grab bytes**413 +* Grab bytes: 405 405 406 406 [[image:image-20220602153621-1.png]] 407 407 408 408 409 -* (% style="color:#037691" %)**Grab a section**418 +* Grab a section. 410 410 411 411 [[image:image-20220602153621-2.png]] 412 412 413 413 414 -* (% style="color:#037691" %)**Grab different sections**423 +* Grab different sections. 415 415 416 416 [[image:image-20220602153621-3.png]] 417 417 ... ... @@ -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.702 +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.800 +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.1239 +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:1246 +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? ==1395 +== 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"]].1397 +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 ? ==