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, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -609,66 +609,97 @@ 609 609 610 610 [[image:1653273818896-432.png]] 611 611 612 +((( 612 612 AT+INTMOD=0 Disable Interrupt 614 +))) 613 613 616 +((( 614 614 AT+INTMOD=1 Interrupt trigger by rising or falling edge. 618 +))) 615 615 620 +((( 616 616 AT+INTMOD=2 Interrupt trigger by falling edge. ( Default Value) 622 +))) 617 617 624 +((( 618 618 AT+INTMOD=3 Interrupt trigger by rising edge. 626 +))) 619 619 620 620 == 3.4 Uplink Payload == 621 621 622 -|**Size(bytes)**|**2**|**1**|**Length depends on the return from the commands** 623 -|Value|((( 630 +(% border="1" style="background-color:#4f81bd; color:white; width:850px" %) 631 +|**Size(bytes)**|(% style="width:130px" %)**2**|(% style="width:93px" %)**1**|(% style="width:509px" %)**Length depends on the return from the commands** 632 +|Value|(% style="width:130px" %)((( 633 +((( 624 624 Battery(mV) 635 +))) 625 625 637 +((( 626 626 & 639 +))) 627 627 641 +((( 628 628 Interrupt _Flag 629 -)))|((( 643 +))) 644 +)))|(% style="width:93px" %)((( 630 630 PAYLOAD_VER 631 631 632 632 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. 648 +)))|(% 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. 634 634 635 635 Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors. 636 636 637 - 652 +((( 638 638 function Decoder(bytes, port) { 654 +))) 639 639 656 +((( 640 640 ~/~/Payload Formats of RS485-BL Deceive 658 +))) 641 641 660 +((( 642 642 return { 662 +))) 643 643 664 +((( 644 644 ~/~/Battery,units:V 666 +))) 645 645 668 +((( 646 646 BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000, 670 +))) 647 647 672 +((( 648 648 ~/~/GPIO_EXTI 674 +))) 649 649 676 +((( 650 650 EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE", 678 +))) 651 651 680 +((( 652 652 ~/~/payload of version 682 +))) 653 653 684 +((( 654 654 Pay_ver:bytes[2], 686 +))) 655 655 688 +((( 656 656 }; 690 +))) 657 657 692 +((( 658 658 } 694 +))) 659 659 660 - 661 - 662 - 663 - 664 - 665 - 696 +((( 666 666 TTN V3 uplink screen shot. 698 +))) 667 667 668 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]700 +[[image:1653274001211-372.png||height="192" width="732"]] 669 669 670 -1. 671 -11. Configure RS485-BL via AT or Downlink 702 +== 3.5 Configure RS485-BL via AT or Downlink == 672 672 673 673 User can configure RS485-BL via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands 674 674
- 1653274001211-372.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +91.4 KB - Content