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,13 +609,21 @@ 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 ... ... @@ -641,41 +641,57 @@ 641 641 642 642 Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors. 643 643 644 - 652 +((( 645 645 function Decoder(bytes, port) { 654 +))) 646 646 656 +((( 647 647 ~/~/Payload Formats of RS485-BL Deceive 658 +))) 648 648 660 +((( 649 649 return { 662 +))) 650 650 664 +((( 651 651 ~/~/Battery,units:V 666 +))) 652 652 668 +((( 653 653 BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000, 670 +))) 654 654 672 +((( 655 655 ~/~/GPIO_EXTI 674 +))) 656 656 676 +((( 657 657 EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE", 678 +))) 658 658 680 +((( 659 659 ~/~/payload of version 682 +))) 660 660 684 +((( 661 661 Pay_ver:bytes[2], 686 +))) 662 662 688 +((( 663 663 }; 690 +))) 664 664 692 +((( 665 665 } 694 +))) 666 666 667 - 668 - 669 - 670 - 671 - 672 - 696 +((( 673 673 TTN V3 uplink screen shot. 698 +))) 674 674 675 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]700 +[[image:1653274001211-372.png||height="192" width="732"]] 676 676 677 -1. 678 -11. Configure RS485-BL via AT or Downlink 702 +== 3.5 Configure RS485-BL via AT or Downlink == 679 679 680 680 User can configure RS485-BL via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands 681 681
- 1653274001211-372.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +91.4 KB - Content