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

Summary

Details

Page properties
Content
... ... @@ -470,79 +470,44 @@
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 -1.
474 -11. Uplink Payload
473 +== 3.4 Uplink Payload ==
475 475  
476 -|**Size(bytes)**|**2**|**1**|**Length depends on the return from the commands**
477 -|Value|(((
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" %)(((
478 478  Battery(mV)
479 479  
480 480  &
481 481  
482 482  Interrupt _Flag
483 -)))|(((
483 +)))|(% style="width:116px" %)(((
484 484  PAYLOAD_VER
485 485  
486 486  
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.
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.
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 -function Decoder(bytes, port) {
492 +== 3.5 Configure RS485-BL via AT or Downlink ==
493 493  
494 -~/~/Payload Formats of RS485-BL Deceive
494 +User can configure RS485-LN via AT Commands or LoRaWAN Downlink Commands
495 495  
496 -return {
496 +There are two kinds of Commands:
497 497  
498 - ~/~/Battery,units:V
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]]
499 499  
500 - BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,
500 +* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-LN.  User can see these commands below:
501 501  
502 - ~/~/GPIO_EXTI 
503 503  
504 - EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",
505 505  
506 - ~/~/payload of version
504 +=== 3.5.1 Common Commands ===
507 507  
508 - Pay_ver:bytes[2],
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]]
509 509  
510 - };
511 511  
512 - }
509 +=== 3.5.2 Sensor related commands: ===
513 513  
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 -
546 546  ==== Choose Device Type (RS485 or TTL) ====
547 547  
548 548  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
... ... @@ -846,13 +846,13 @@
846 846  
847 847  
848 848  
849 -1.
814 +1.
850 850  11. Buttons
851 851  
852 852  |**Button**|**Feature**
853 853  |**RST**|Reboot RS485-BL
854 854  
855 -1.
820 +1.
856 856  11. +3V3 Output
857 857  
858 858  RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor.
... ... @@ -870,7 +870,7 @@
870 870  By default, the AT+3V3T=0. This is a special case, means the +3V3 output is always on at any time
871 871  
872 872  
873 -1.
838 +1.
874 874  11. +5V Output
875 875  
876 876  RS485-BL has a Controllable +5V output, user can use this output to power external sensor.
... ... @@ -890,13 +890,13 @@
890 890  
891 891  
892 892  
893 -1.
858 +1.
894 894  11. LEDs
895 895  
896 896  |**LEDs**|**Feature**
897 897  |**LED1**|Blink when device transmit a packet.
898 898  
899 -1.
864 +1.
900 900  11. Switch Jumper
901 901  
902 902  |**Switch Jumper**|**Feature**
... ... @@ -942,7 +942,7 @@
942 942  
943 943  
944 944  
945 -1.
910 +1.
946 946  11. Common AT Command Sequence
947 947  111. Multi-channel ABP mode (Use with SX1301/LG308)
948 948  
... ... @@ -961,8 +961,8 @@
961 961  
962 962  ATZ
963 963  
964 -1.
965 -11.
929 +1.
930 +11.
966 966  111. Single-channel ABP mode (Use with LG01/LG02)
967 967  
968 968  AT+FDR   Reset Parameters to Factory Default, Keys Reserve
... ... @@ -1037,7 +1037,7 @@
1037 1037  [[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]]
1038 1038  
1039 1039  
1040 -1.
1005 +1.
1041 1041  11. How to change the LoRa Frequency Bands/Region?
1042 1042  
1043 1043  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
... ... @@ -1044,7 +1044,7 @@
1044 1044  
1045 1045  
1046 1046  
1047 -1.
1012 +1.
1048 1048  11. How many RS485-Slave can RS485-BL connects?
1049 1049  
1050 1050  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]].
... ... @@ -1061,7 +1061,7 @@
1061 1061  
1062 1062  
1063 1063  
1064 -1.
1029 +1.
1065 1065  11. Why I can’t join TTN V3 in US915 /AU915 bands?
1066 1066  
1067 1067  It might about the channels mapping. Please see for detail.
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0