Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/10 15:06
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Saxer - Content
-
... ... @@ -245,6 +245,7 @@ 245 245 (% aria-label="1652953553383-907.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1652953553383-907.png||data-widget="image" height="514" width="724"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 246 246 247 247 248 + 248 248 ((( 249 249 (% 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. 250 250 ... ... @@ -266,10 +266,10 @@ 266 266 (% style="color:red" %)**Note: below description and commands are for firmware version >v1.1, if you have firmware version v1.0. Please check the [[user manual v1.0>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/&file=RS485-LN_UserManual_v1.0.1.pdf]] or upgrade the firmware to v1.1** 267 267 ))) 268 268 270 +=== === 269 269 270 270 === 3.3.1 Method 1 ~-~- via RS485 Configure Tool === 271 271 272 - 273 273 Use the RS485 Configure tool is the recommand method. Please see the instruction of how to use the tool: 274 274 275 275 * **[[RS485 Configure Tool Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/RS485_Configure_Tool/]]** ... ... @@ -276,15 +276,18 @@ 276 276 277 277 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/RS485-LB_Waterproof_RS485UART_to_LoRaWAN_Converter/WebHome/image-20231127144411-1.png?width=494&height=368&rev=1.1||alt="image-20231127144411-1.png" height="368" width="494"]] 278 278 280 +=== === 279 279 280 280 === 3.3.2 Method 2 ~-~- via AT Commands === 281 281 ))) 282 282 ))) 283 283 284 -==== 3.3.2.1 Configure UART settings for RS485 communication ==== 286 +==== 3.3.2.1 Configure UART settings for RS485 or TTL communication ==== 285 285 286 - To useRS485-LNto read data from RS485 sensors,connect the RS485-LNA/B tracestothesensors.ThelatedcommandsforUARTsettingsare:288 +RS485-LN can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect. 287 287 290 +To use RS485-LN to read data from RS485 sensors, connect the RS485-LN A/B traces to the sensors. And user need to make sure RS485-LN use the match UART setting to access the sensors. The related commands for UART settings are: 291 + 288 288 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 289 289 |=(% style="width: 126px; background-color:#D9E2F3;color:#0070C0" %)((( 290 290 **AT Commands** ... ... @@ -562,6 +562,7 @@ 562 562 563 563 RS485-LN support external Interrupt uplink since hardware v1.2 release. 564 564 569 + 565 565 (% aria-label="1654157342174-798.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654157342174-798.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 566 566 567 567 Connect the Interrupt pin to RS485-LN INT port and connect the GND pin to V- port. When there is a high voltage (Max 24v) on INT pin. Device will send an uplink packet. ... ... @@ -571,12 +571,12 @@ 571 571 572 572 573 573 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 574 -|(% style="background-color:# d9e2f3;c0; width:70px" %)(((575 - **Size(bytes)**579 +|=(% scope="row" style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)((( 580 +Size(bytes) 576 576 )))|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:360px" %)((( 577 577 **Length depends on the return from the commands** 578 578 ))) 579 -|(% style="width:90px" %)((( 584 +|=(% style="width: 90px;" %)((( 580 580 Value 581 581 )))|(% style="width:114px" %)((( 582 582 PAYLOAD_VER ... ... @@ -588,9 +588,13 @@ 588 588 provided in the LoRaWAN server. 589 589 ))) 590 590 591 -(% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]] (%%)Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors.596 +(% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]] 592 592 598 +(% title="Click and drag to resize" %) 593 593 600 +Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors. 601 + 602 + 594 594 == 3.5 Configure RS485-LN via AT or Downlink == 595 595 596 596 ... ... @@ -1385,6 +1385,8 @@ 1385 1385 To enable the listening mode, use can run the command (% style="color:#4472c4" %)** AT+RXMODE**. 1386 1386 ))) 1387 1387 1397 + 1398 + 1388 1388 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 1389 1389 |=(% style="width: 156px; background-color:#D9E2F3;color:#0070C0" %)((( 1390 1390 **Command example** ... ... @@ -1644,6 +1644,7 @@ 1644 1644 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H4.2.FirmwareupgradeusingSTM32Cubeprogramer>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H4.2.FirmwareupgradeusingSTM32Cubeprogramer]] 1645 1645 1646 1646 1658 + 1647 1647 (% style="color:red" %)**Notice**: **In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:** 1648 1648 1649 1649 (% aria-label="image-20220602175638-10.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602175638-10.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) ... ... @@ -1807,6 +1807,7 @@ 1807 1807 [[RS485 Configure Tool - DRAGINO>>url:http://wiki.dragino.com/xwiki/bin/view/Main/RS485_Configure_Tool/#HTableofContentsFF1A]] 1808 1808 1809 1809 1822 + 1810 1810 = 7. Trouble Shooting = 1811 1811 1812 1812 == 7.1 Downlink doesn't work, how to solve it? ==