<
From version < 39.1 >
edited by Xiaoling
on 2022/06/02 16:33
To version < 38.3 >
edited by Xiaoling
on 2022/06/02 16:10
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -470,44 +470,79 @@
470 470  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.
471 471  
472 472  
473 -== 3.4 Uplink Payload ==
473 +1.
474 +11. Uplink Payload
474 474  
475 -(% border="1" style="background-color:#4bacc6; color:white; width:734px" %)
476 -|**Size(bytes)**|(% style="width:120px" %)**2**|(% style="width:116px" %)**1**|(% style="width:386px" %)**Length depends on the return from the commands**
477 -|Value|(% style="width:120px" %)(((
476 +|**Size(bytes)**|**2**|**1**|**Length depends on the return from the commands**
477 +|Value|(((
478 478  Battery(mV)
479 479  
480 480  &
481 481  
482 482  Interrupt _Flag
483 -)))|(% style="width:116px" %)(((
483 +)))|(((
484 484  PAYLOAD_VER
485 485  
486 486  
487 -)))|(% style="width:386px" %)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.
487 +)))|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.
488 488  
489 489  Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors.
490 490  
491 491  
492 -== 3.5 Configure RS485-BL via AT or Downlink ==
492 +function Decoder(bytes, port) {
493 493  
494 -User can configure RS485-LN via AT Commands or LoRaWAN Downlink Commands
494 +~/~/Payload Formats of RS485-BL Deceive
495 495  
496 -There are two kinds of Commands:
496 +return {
497 497  
498 -* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.3, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
498 + ~/~/Battery,units:V
499 499  
500 -* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-LN.  User can see these commands below:
500 + BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,
501 501  
502 + ~/~/GPIO_EXTI 
502 502  
504 + EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",
503 503  
504 -=== 3.5.1 Common Commands ===
506 + ~/~/payload of version
505 505  
506 -They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.3, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
508 + Pay_ver:bytes[2],
507 507  
510 + };
508 508  
509 -=== 3.5.2 Sensor related commands: ===
512 + }
510 510  
514 +
515 +
516 +
517 +
518 +
519 +
520 +TTN V3 uplink screen shot.
521 +
522 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
523 +
524 +1.
525 +11. Configure RS485-BL via AT or Downlink
526 +
527 +User can configure RS485-BL via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
528 +
529 +There are two kinds of Commands:
530 +
531 +* **Common Commands**: They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.3, user can find what common commands it supports: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands
532 +
533 +* **Sensor Related Commands**: These commands are special designed for RS485-BL.  User can see these commands below:
534 +
535 +1.
536 +11.
537 +111. Common Commands:
538 +
539 +They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.3, user can find what common commands it supports: [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands>>url:http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands]]
540 +
541 +
542 +1.
543 +11.
544 +111. Sensor related commands:
545 +
511 511  ==== Choose Device Type (RS485 or TTL) ====
512 512  
513 513  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
... ... @@ -811,13 +811,13 @@
811 811  
812 812  
813 813  
814 -1.
849 +1.
815 815  11. Buttons
816 816  
817 817  |**Button**|**Feature**
818 818  |**RST**|Reboot RS485-BL
819 819  
820 -1.
855 +1.
821 821  11. +3V3 Output
822 822  
823 823  RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor.
... ... @@ -835,7 +835,7 @@
835 835  By default, the AT+3V3T=0. This is a special case, means the +3V3 output is always on at any time
836 836  
837 837  
838 -1.
873 +1.
839 839  11. +5V Output
840 840  
841 841  RS485-BL has a Controllable +5V output, user can use this output to power external sensor.
... ... @@ -855,13 +855,13 @@
855 855  
856 856  
857 857  
858 -1.
893 +1.
859 859  11. LEDs
860 860  
861 861  |**LEDs**|**Feature**
862 862  |**LED1**|Blink when device transmit a packet.
863 863  
864 -1.
899 +1.
865 865  11. Switch Jumper
866 866  
867 867  |**Switch Jumper**|**Feature**
... ... @@ -907,7 +907,7 @@
907 907  
908 908  
909 909  
910 -1.
945 +1.
911 911  11. Common AT Command Sequence
912 912  111. Multi-channel ABP mode (Use with SX1301/LG308)
913 913  
... ... @@ -926,8 +926,8 @@
926 926  
927 927  ATZ
928 928  
929 -1.
930 -11.
964 +1.
965 +11.
931 931  111. Single-channel ABP mode (Use with LG01/LG02)
932 932  
933 933  AT+FDR   Reset Parameters to Factory Default, Keys Reserve
... ... @@ -1002,7 +1002,7 @@
1002 1002  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image035.png]] [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image036.png]]
1003 1003  
1004 1004  
1005 -1.
1040 +1.
1006 1006  11. How to change the LoRa Frequency Bands/Region?
1007 1007  
1008 1008  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
... ... @@ -1009,7 +1009,7 @@
1009 1009  
1010 1010  
1011 1011  
1012 -1.
1047 +1.
1013 1013  11. How many RS485-Slave can RS485-BL connects?
1014 1014  
1015 1015  The RS485-BL can support max 32 RS485 devices. Each uplink command of RS485-BL can support max 16 different RS485 command. So RS485-BL can support max 16 RS485 devices pre-program in the device for uplink. For other devices no pre-program, user can use the [[downlink message (type code 0xA8) to poll their info>>path:#downlink_A8]].
... ... @@ -1026,7 +1026,7 @@
1026 1026  
1027 1027  
1028 1028  
1029 -1.
1064 +1.
1030 1030  11. Why I can’t join TTN V3 in US915 /AU915 bands?
1031 1031  
1032 1032  It might about the channels mapping. Please see for detail.
1654158783574-851.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -40.6 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0