Last modified by Xiaoling on 2025/04/23 15:57

From version 28.3
edited by Xiaoling
on 2022/05/23 10:46
Change comment: There is no comment for this version
To version 29.5
edited by Xiaoling
on 2022/06/01 18:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,12 +7,15 @@
7 7  **RS485-BL – Waterproof RS485 to LoRaWAN Converter User Manual**
8 8  
9 9  
10 +
10 10  **Table of Contents:**
11 11  
13 +{{toc/}}
12 12  
13 13  
14 14  
15 15  
18 +
16 16  = 1.Introduction =
17 17  
18 18  == 1.1 What is RS485-BL RS485 to LoRaWAN Converter ==
... ... @@ -609,13 +609,21 @@
609 609  
610 610  [[image:1653273818896-432.png]]
611 611  
615 +(((
612 612  AT+INTMOD=0  Disable Interrupt
617 +)))
613 613  
619 +(((
614 614  AT+INTMOD=1  Interrupt trigger by rising or falling edge.
621 +)))
615 615  
623 +(((
616 616  AT+INTMOD=2  Interrupt trigger by falling edge. ( Default Value)
625 +)))
617 617  
627 +(((
618 618  AT+INTMOD=3  Interrupt trigger by rising edge.
629 +)))
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 -
655 +(((
645 645  function Decoder(bytes, port) {
657 +)))
646 646  
659 +(((
647 647  ~/~/Payload Formats of RS485-BL Deceive
661 +)))
648 648  
663 +(((
649 649  return {
665 +)))
650 650  
667 +(((
651 651   ~/~/Battery,units:V
669 +)))
652 652  
671 +(((
653 653   BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,
673 +)))
654 654  
675 +(((
655 655   ~/~/GPIO_EXTI 
677 +)))
656 656  
679 +(((
657 657   EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",
681 +)))
658 658  
683 +(((
659 659   ~/~/payload of version
685 +)))
660 660  
687 +(((
661 661   Pay_ver:bytes[2],
689 +)))
662 662  
691 +(((
663 663   };
693 +)))
664 664  
695 +(((
665 665   }
697 +)))
666 666  
667 -
668 -
669 -
670 -
671 -
672 -
699 +(((
673 673  TTN V3 uplink screen shot.
701 +)))
674 674  
675 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
703 +[[image:1653274001211-372.png||height="192" width="732"]]
676 676  
677 -1.
678 -11. Configure RS485-BL via AT or Downlink
705 +== 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