<
From version < 38.1 >
edited by Xiaoling
on 2022/06/02 16:09
To version < 39.1 >
edited by Xiaoling
on 2022/06/02 16:33
>
Change comment: Uploaded new attachment "1654158783574-851.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -461,94 +461,53 @@
461 461  
462 462  
463 463  
464 -1.
465 -11.
466 -111. Uplink on Interrupt
464 +=== 3.3.6 Uplink on Interrupt ===
467 467  
468 -Put the interrupt sensor between 3.3v_out and GPIO ext.[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]
466 +RS485-LN support external Interrupt uplink since hardware v1.2 release.
469 469  
470 -AT+INTMOD=0  Disable Interrupt
468 +[[image:1654157342174-798.png]]
471 471  
472 -AT+INTMOD=1  Interrupt trigger by rising or falling edge.
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.
473 473  
474 -AT+INTMOD=2  Interrupt trigger by falling edge. ( Default Value)
475 475  
476 -AT+INTMOD=3  Interrupt trigger by rising edge.
473 +== 3.4 Uplink Payload ==
477 477  
478 -
479 -1.
480 -11. Uplink Payload
481 -
482 -|**Size(bytes)**|**2**|**1**|**Length depends on the return from the commands**
483 -|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" %)(((
484 484  Battery(mV)
485 485  
486 486  &
487 487  
488 488  Interrupt _Flag
489 -)))|(((
483 +)))|(% style="width:116px" %)(((
490 490  PAYLOAD_VER
491 491  
492 492  
493 -)))|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.
494 494  
495 495  Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors.
496 496  
497 497  
498 -function Decoder(bytes, port) {
492 +== 3.5 Configure RS485-BL via AT or Downlink ==
499 499  
500 -~/~/Payload Formats of RS485-BL Deceive
494 +User can configure RS485-LN via AT Commands or LoRaWAN Downlink Commands
501 501  
502 -return {
496 +There are two kinds of Commands:
503 503  
504 - ~/~/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]]
505 505  
506 - 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:
507 507  
508 - ~/~/GPIO_EXTI 
509 509  
510 - EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",
511 511  
512 - ~/~/payload of version
504 +=== 3.5.1 Common Commands ===
513 513  
514 - 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]]
515 515  
516 - };
517 517  
518 - }
509 +=== 3.5.2 Sensor related commands: ===
519 519  
520 -
521 -
522 -
523 -
524 -
525 -
526 -TTN V3 uplink screen shot.
527 -
528 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
529 -
530 -1.
531 -11. Configure RS485-BL via AT or Downlink
532 -
533 -User can configure RS485-BL via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
534 -
535 -There are two kinds of Commands:
536 -
537 -* **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
538 -
539 -* **Sensor Related Commands**: These commands are special designed for RS485-BL.  User can see these commands below:
540 -
541 -1.
542 -11.
543 -111. Common Commands:
544 -
545 -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]]
546 -
547 -
548 -1.
549 -11.
550 -111. Sensor related commands:
551 -
552 552  ==== Choose Device Type (RS485 or TTL) ====
553 553  
554 554  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
... ... @@ -852,13 +852,13 @@
852 852  
853 853  
854 854  
855 -1.
814 +1.
856 856  11. Buttons
857 857  
858 858  |**Button**|**Feature**
859 859  |**RST**|Reboot RS485-BL
860 860  
861 -1.
820 +1.
862 862  11. +3V3 Output
863 863  
864 864  RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor.
... ... @@ -876,7 +876,7 @@
876 876  By default, the AT+3V3T=0. This is a special case, means the +3V3 output is always on at any time
877 877  
878 878  
879 -1.
838 +1.
880 880  11. +5V Output
881 881  
882 882  RS485-BL has a Controllable +5V output, user can use this output to power external sensor.
... ... @@ -896,13 +896,13 @@
896 896  
897 897  
898 898  
899 -1.
858 +1.
900 900  11. LEDs
901 901  
902 902  |**LEDs**|**Feature**
903 903  |**LED1**|Blink when device transmit a packet.
904 904  
905 -1.
864 +1.
906 906  11. Switch Jumper
907 907  
908 908  |**Switch Jumper**|**Feature**
... ... @@ -948,7 +948,7 @@
948 948  
949 949  
950 950  
951 -1.
910 +1.
952 952  11. Common AT Command Sequence
953 953  111. Multi-channel ABP mode (Use with SX1301/LG308)
954 954  
... ... @@ -967,8 +967,8 @@
967 967  
968 968  ATZ
969 969  
970 -1.
971 -11.
929 +1.
930 +11.
972 972  111. Single-channel ABP mode (Use with LG01/LG02)
973 973  
974 974  AT+FDR   Reset Parameters to Factory Default, Keys Reserve
... ... @@ -1043,7 +1043,7 @@
1043 1043  [[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]]
1044 1044  
1045 1045  
1046 -1.
1005 +1.
1047 1047  11. How to change the LoRa Frequency Bands/Region?
1048 1048  
1049 1049  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
... ... @@ -1050,7 +1050,7 @@
1050 1050  
1051 1051  
1052 1052  
1053 -1.
1012 +1.
1054 1054  11. How many RS485-Slave can RS485-BL connects?
1055 1055  
1056 1056  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]].
... ... @@ -1067,7 +1067,7 @@
1067 1067  
1068 1068  
1069 1069  
1070 -1.
1029 +1.
1071 1071  11. Why I can’t join TTN V3 in US915 /AU915 bands?
1072 1072  
1073 1073  It might about the channels mapping. Please see for detail.
1654158783574-851.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +40.6 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0