Changes for page RS485-BL – Waterproof RS485 to LoRaWAN Converter
Last modified by Xiaoling on 2025/04/23 15:57
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,15 +7,12 @@ 7 7 **RS485-BL – Waterproof RS485 to LoRaWAN Converter User Manual** 8 8 9 9 10 - 11 11 **Table of Contents:** 12 12 13 -{{toc/}} 14 14 15 15 16 16 17 17 18 - 19 19 = 1.Introduction = 20 20 21 21 == 1.1 What is RS485-BL RS485 to LoRaWAN Converter == ... ... @@ -612,97 +612,66 @@ 612 612 613 613 [[image:1653273818896-432.png]] 614 614 615 -((( 616 616 AT+INTMOD=0 Disable Interrupt 617 -))) 618 618 619 -((( 620 620 AT+INTMOD=1 Interrupt trigger by rising or falling edge. 621 -))) 622 622 623 -((( 624 624 AT+INTMOD=2 Interrupt trigger by falling edge. ( Default Value) 625 -))) 626 626 627 -((( 628 628 AT+INTMOD=3 Interrupt trigger by rising edge. 629 -))) 630 630 631 631 == 3.4 Uplink Payload == 632 632 633 -(% border="1" style="background-color:#4f81bd; color:white; width:850px" %) 634 -|**Size(bytes)**|(% style="width:130px" %)**2**|(% style="width:93px" %)**1**|(% style="width:509px" %)**Length depends on the return from the commands** 635 -|Value|(% style="width:130px" %)((( 636 -((( 622 +|**Size(bytes)**|**2**|**1**|**Length depends on the return from the commands** 623 +|Value|((( 637 637 Battery(mV) 638 -))) 639 639 640 -((( 641 641 & 642 -))) 643 643 644 -((( 645 645 Interrupt _Flag 646 -))) 647 -)))|(% style="width:93px" %)((( 629 +)))|((( 648 648 PAYLOAD_VER 649 649 650 650 651 -)))| (% style="width:509px" %)If the valid payload is too long and exceed the maximum support payload length in server, server will show payload not provided in the LoRaWAN server.633 +)))|If the valid payload is too long and exceed the maximum support payload length in server, server will show payload not provided in the LoRaWAN server. 652 652 653 653 Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors. 654 654 655 - (((637 + 656 656 function Decoder(bytes, port) { 657 -))) 658 658 659 -((( 660 660 ~/~/Payload Formats of RS485-BL Deceive 661 -))) 662 662 663 -((( 664 664 return { 665 -))) 666 666 667 -((( 668 668 ~/~/Battery,units:V 669 -))) 670 670 671 -((( 672 672 BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000, 673 -))) 674 674 675 -((( 676 676 ~/~/GPIO_EXTI 677 -))) 678 678 679 -((( 680 680 EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE", 681 -))) 682 682 683 -((( 684 684 ~/~/payload of version 685 -))) 686 686 687 -((( 688 688 Pay_ver:bytes[2], 689 -))) 690 690 691 -((( 692 692 }; 693 -))) 694 694 695 -((( 696 696 } 697 -))) 698 698 699 -((( 660 + 661 + 662 + 663 + 664 + 665 + 700 700 TTN V3 uplink screen shot. 701 -))) 702 702 703 -[[image: 1653274001211-372.png||height="192" width="732"]]668 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]] 704 704 705 -== 3.5 Configure RS485-BL via AT or Downlink == 670 +1. 671 +11. Configure RS485-BL via AT or Downlink 706 706 707 707 User can configure RS485-BL via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands 708 708
- 1653274001211-372.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -91.4 KB - Content