<
From version < 6.2 >
edited by Xiaoling
on 2022/05/19 17:43
To version < 5.1 >
edited by Xiaoling
on 2022/05/19 17:41
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,7 @@
1 1  (% style="text-align:center" %)
2 2  [[image:1652947681187-144.png||height="385" width="385"]]
3 3  
4 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image001.jpg]]
4 4  
5 5  
6 6  
... ... @@ -26,7 +26,7 @@
26 26  )))
27 27  
28 28  (((
29 -RS485-BL can interface to RS485 sensor, 3.3v/5v UART sensor or interrupt sensor. RS485-BL provides **a 3.3v output** and** a 5v output** to power external sensors. Both output voltages are controllable to minimize the total system power consumption.
30 +RS485-BL can interface to RS485 sensor, 3.3v/5v UART sensor or interrupt sensor. RS485-BL provides **a 3.3v output** and** a 5v output** to power external sensors. Both output voltages are controllable to minimize the total system power consumption.
30 30  )))
31 31  
32 32  (((
... ... @@ -49,7 +49,7 @@
49 49  Each RS485-BL pre-load with a set of unique keys for LoRaWAN registration, register these keys to LoRaWAN server and it will auto connect after power on.
50 50  )))
51 51  
52 -[[image:1652953304999-717.png||height="424" width="733"]]
53 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png]]
53 53  
54 54  == 1.2 Specifications ==
55 55  
... ... @@ -56,11 +56,11 @@
56 56  **Hardware System:**
57 57  
58 58  * STM32L072CZT6 MCU
59 -* SX1276/78 Wireless Chip 
60 +* SX1276/78 Wireless Chip
60 60  * Power Consumption (exclude RS485 device):
61 61  ** Idle: 6uA@3.3v
62 62  
63 -*
64 +*
64 64  ** 20dB Transmit: 130mA@3.3v
65 65  
66 66  **Interface for Model:**
... ... @@ -110,7 +110,7 @@
110 110  * Smart Cities
111 111  * Smart Factory
112 112  
113 -== 1.5 Firmware Change log ==
114 +== 1.5 Firmware Change log ==
114 114  
115 115  [[RS485-BL Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/RS485-BL/Firmware/||style="background-color: rgb(255, 255, 255);"]]
116 116  
... ... @@ -144,26 +144,26 @@
144 144  
145 145  = 2. Pin mapping and Power ON Device =
146 146  
147 -(((
148 148  The RS485-BL is powered on by 8500mAh battery. To save battery life, RS485-BL is shipped with power off. User can put the jumper to power on RS485-BL.
149 -)))
150 150  
151 151  [[image:1652953055962-143.png||height="387" width="728"]]
152 152  
152 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
153 153  
154 154  The Left TXD and RXD are TTL interface for external sensor. TTL level is controlled by 3.3/5v Jumper.
155 155  
156 -= 3. Operation Mode =
157 157  
158 -== 3.1 How it works? ==
159 159  
158 +3. Operation Mode
159 +3.1 How it works?
160 +
160 160  The RS485-BL is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the RS485-BL. It will auto join the network via OTAA.
161 161  
162 162  
163 -1.
164 +1.
164 164  11. Example to join LoRaWAN network
165 165  
166 -Here shows an example for how to join the TTN V3 Network. Below is the network structure, we use [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]] as LoRaWAN gateway here. 
167 +Here shows an example for how to join the TTN V3 Network. Below is the network structure, we use [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]] as LoRaWAN gateway here.
167 167  
168 168  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]]
169 169  
... ... @@ -217,6 +217,7 @@
217 217  )))
218 218  
219 219  
221 +
220 220  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
221 221  
222 222  Add APP KEY and DEV EUI
... ... @@ -231,14 +231,14 @@
231 231  
232 232  
233 233  
234 -1.
236 +1.
235 235  11. Configure Commands to read data
236 236  
237 237  There are plenty of RS485 and TTL level devices in the market and each device has different command to read the valid data. To support these devices in flexible, RS485-BL supports flexible command set. User can use [[AT Commands or LoRaWAN Downlink>>path:#AT_COMMAND]] Command to configure how RS485-BL should read the sensor and how to handle the return from RS485 or TTL sensors.
238 238  
239 239  
240 -1.
241 -11.
242 +1.
243 +11.
242 242  111. Configure UART settings for RS485 or TTL communication
243 243  
244 244  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
... ... @@ -286,8 +286,9 @@
286 286  
287 287  
288 288  
289 -1.
290 -11.
291 +
292 +1.
293 +11.
291 291  111. Configure sensors
292 292  
293 293  Some sensors might need to configure before normal operation. User can configure such sensor via PC or through RS485-BL AT Commands AT+CFGDEV.
... ... @@ -310,8 +310,8 @@
310 310  
311 311  
312 312  
313 -1.
314 -11.
316 +1.
317 +11.
315 315  111. Configure read commands for each sampling
316 316  
317 317  RS485-BL is a battery powered device; it will sleep most of time. And wake up on each period and read RS485 / TTL sensor data and uplink.
... ... @@ -415,7 +415,7 @@
415 415  
416 416  * **a: length for the return of AT+COMMAND**
417 417  * **b:1: grab valid value by byte, max 6 bytes. 2: grab valid value by bytes section, max 3 sections.**
418 -* **c: define the position for valid value.  **
421 +* **c: define the position for valid value. **
419 419  )))
420 420  
421 421  Examples:
... ... @@ -456,8 +456,8 @@
456 456  
457 457  
458 458  
459 -1.
460 -11.
462 +1.
463 +11.
461 461  111. Compose the uplink payload
462 462  
463 463  Through AT+COMMANDx and AT+DATACUTx we got valid value from each RS485 commands, Assume these valid value are RETURN1, RETURN2, .., to RETURNx. The next step is how to compose the LoRa Uplink Payload by these RETURNs. The command is **AT+DATAUP.**
... ... @@ -521,8 +521,8 @@
521 521  
522 522  
523 523  
524 -1.
525 -11.
527 +1.
528 +11.
526 526  111. Uplink on demand
527 527  
528 528  Except uplink periodically, RS485-BL is able to uplink on demand. The server sends downlink command to RS485-BL and RS485 will uplink data base on the command.
... ... @@ -535,8 +535,8 @@
535 535  
536 536  
537 537  
538 -1.
539 -11.
541 +1.
542 +11.
540 540  111. Uplink on Interrupt
541 541  
542 542  Put the interrupt sensor between 3.3v_out and GPIO ext.[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]
... ... @@ -550,9 +550,10 @@
550 550  AT+INTMOD=3  Interrupt trigger by rising edge.
551 551  
552 552  
553 -1.
556 +1.
554 554  11. Uplink Payload
555 555  
559 +
556 556  |**Size(bytes)**|**2**|**1**|**Length depends on the return from the commands**
557 557  |Value|(((
558 558  Battery(mV)
... ... @@ -601,7 +601,7 @@
601 601  
602 602  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
603 603  
604 -1.
608 +1.
605 605  11. Configure RS485-BL via AT or Downlink
606 606  
607 607  User can configure RS485-BL via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
... ... @@ -612,17 +612,20 @@
612 612  
613 613  * **Sensor Related Commands**: These commands are special designed for RS485-BL.  User can see these commands below:
614 614  
615 -1.
616 -11.
619 +
620 +1.
621 +11.
617 617  111. Common Commands:
618 618  
624 +
619 619  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]]
620 620  
621 621  
622 -1.
623 -11.
628 +1.
629 +11.
624 624  111. Sensor related commands:
625 625  
632 +
626 626  ==== Choose Device Type (RS485 or TTL) ====
627 627  
628 628  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
... ... @@ -663,6 +663,7 @@
663 663  * XX XX XX XX: RS485 command total NN bytes
664 664  * YY: How many bytes will be uplink from the return of this RS485 command, if YY=0, RS485-BL will execute the downlink command without uplink; if YY>0, RS485-BL will uplink total YY bytes from the output of this RS485 command
665 665  
673 +
666 666  **Example 1:**
667 667  
668 668  To connect a Modbus Alarm with below commands.
... ... @@ -771,6 +771,7 @@
771 771  
772 772  * AT+MBFUN=0: Disable Modbus fast reading.
773 773  
782 +
774 774  Example:
775 775  
776 776  * AT+MBFUN=1 and AT+DATACUT1/AT+DATACUT2 are not configure (0,0,0).
... ... @@ -855,7 +855,7 @@
855 855  
856 856  Etc. AT+CMDEAR=1,10 means erase AT+COMMAND1/AT+DATACUT1 to AT+COMMAND10/AT+DATACUT10
857 857  
858 -Example screen shot after clear all RS485 commands. 
867 +Example screen shot after clear all RS485 commands.
859 859  
860 860  
861 861  
... ... @@ -899,6 +899,7 @@
899 899  * A7 01 00 60   same as AT+BAUDR=9600
900 900  * A7 01 04 80  same as AT+BAUDR=115200
901 901  
911 +
902 902  A7 02 aa: Same as  AT+PARITY=aa  (aa value: 00 , 01 or 02)
903 903  
904 904  A7 03 aa: Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
... ... @@ -926,18 +926,20 @@
926 926  
927 927  
928 928  
929 -1.
939 +1.
930 930  11. Buttons
931 931  
942 +
932 932  |**Button**|**Feature**
933 933  |**RST**|Reboot RS485-BL
934 934  
935 -1.
946 +
947 +1.
936 936  11. +3V3 Output
937 937  
938 938  RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor.
939 939  
940 -The +3V3 output will be valid for every sampling. RS485-BL will enable +3V3 output before all sampling and disable the +3V3 after all sampling. 
952 +The +3V3 output will be valid for every sampling. RS485-BL will enable +3V3 output before all sampling and disable the +3V3 after all sampling.
941 941  
942 942  
943 943  The +3V3 output time can be controlled by AT Command.
... ... @@ -950,12 +950,12 @@
950 950  By default, the AT+3V3T=0. This is a special case, means the +3V3 output is always on at any time
951 951  
952 952  
953 -1.
965 +1.
954 954  11. +5V Output
955 955  
956 956  RS485-BL has a Controllable +5V output, user can use this output to power external sensor.
957 957  
958 -The +5V output will be valid for every sampling. RS485-BL will enable +5V output before all sampling and disable the +5v after all sampling. 
970 +The +5V output will be valid for every sampling. RS485-BL will enable +5V output before all sampling and disable the +5v after all sampling.
959 959  
960 960  
961 961  The 5V output time can be controlled by AT Command.
... ... @@ -970,13 +970,14 @@
970 970  
971 971  
972 972  
973 -1.
985 +1.
974 974  11. LEDs
975 975  
976 976  |**LEDs**|**Feature**
977 977  |**LED1**|Blink when device transmit a packet.
978 978  
979 -1.
991 +
992 +1.
980 980  11. Switch Jumper
981 981  
982 982  |**Switch Jumper**|**Feature**
... ... @@ -997,6 +997,7 @@
997 997  
998 998  1. Case Study
999 999  
1013 +
1000 1000  User can check this URL for some case studies.
1001 1001  
1002 1002  [[http:~~/~~/wiki.dragino.com/index.php?title=APP_RS485_COMMUNICATE_WITH_SENSORS>>url:http://wiki.dragino.com/index.php?title=APP_RS485_COMMUNICATE_WITH_SENSORS]]
... ... @@ -1022,7 +1022,7 @@
1022 1022  
1023 1023  
1024 1024  
1025 -1.
1039 +1.
1026 1026  11. Common AT Command Sequence
1027 1027  111. Multi-channel ABP mode (Use with SX1301/LG308)
1028 1028  
... ... @@ -1041,8 +1041,8 @@
1041 1041  
1042 1042  ATZ
1043 1043  
1044 -1.
1045 -11.
1058 +1.
1059 +11.
1046 1046  111. Single-channel ABP mode (Use with LG01/LG02)
1047 1047  
1048 1048  AT+FDR   Reset Parameters to Factory Default, Keys Reserve
... ... @@ -1084,6 +1084,7 @@
1084 1084  * For bug fix
1085 1085  * Change LoRaWAN bands.
1086 1086  
1101 +
1087 1087  Below shows the hardware connection for how to upload an image to RS485-BL:
1088 1088  
1089 1089  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
... ... @@ -1117,7 +1117,7 @@
1117 1117  [[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]]
1118 1118  
1119 1119  
1120 -1.
1135 +1.
1121 1121  11. How to change the LoRa Frequency Bands/Region?
1122 1122  
1123 1123  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
... ... @@ -1124,9 +1124,10 @@
1124 1124  
1125 1125  
1126 1126  
1127 -1.
1142 +1.
1128 1128  11. How many RS485-Slave can RS485-BL connects?
1129 1129  
1145 +
1130 1130  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]].
1131 1131  
1132 1132  
... ... @@ -1137,11 +1137,11 @@
1137 1137  
1138 1138  Please see this link for debug:
1139 1139  
1140 -[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#LoRaWAN_Communication_Debug>>url:http://wiki.dragino.com/index.php?title=Main_Page#LoRaWAN_Communication_Debug]] 
1156 +[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#LoRaWAN_Communication_Debug>>url:http://wiki.dragino.com/index.php?title=Main_Page#LoRaWAN_Communication_Debug]]
1141 1141  
1142 1142  
1143 1143  
1144 -1.
1160 +1.
1145 1145  11. Why I can’t join TTN V3 in US915 /AU915 bands?
1146 1146  
1147 1147  It might about the channels mapping. Please see for detail.
... ... @@ -1152,6 +1152,7 @@
1152 1152  
1153 1153  1. Order Info
1154 1154  
1171 +
1155 1155  **Part Number: RS485-BL-XXX**
1156 1156  
1157 1157  **XXX:**
... ... @@ -1167,6 +1167,7 @@
1167 1167  * **RU864**: frequency bands RU864
1168 1168  * **KZ865: **frequency bands KZ865
1169 1169  
1187 +
1170 1170  1. Packing Info
1171 1171  
1172 1172  **Package Includes**:
... ... @@ -1175,6 +1175,7 @@
1175 1175  * Stick Antenna for LoRa RF part x 1
1176 1176  * Program cable x 1
1177 1177  
1196 +
1178 1178  **Dimension and weight**:
1179 1179  
1180 1180  * Device Size: 13.5 x 7 x 3 cm
... ... @@ -1182,6 +1182,7 @@
1182 1182  * Package Size / pcs : 14.5 x 8 x 5 cm
1183 1183  * Weight / pcs : 170g
1184 1184  
1204 +
1185 1185  1. Support
1186 1186  
1187 1187  * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1652953304999-717.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -139.7 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0