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

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

Summary

Details

Page properties
Content
... ... @@ -7,15 +7,12 @@
7 7  **RS485-BL – Waterproof RS485 to LoRaWAN Converter User Manual**
8 8  
9 9  
10 -
11 11  **Table of Contents:**
12 12  
13 -{{toc/}}
14 14  
15 15  
16 16  
17 17  
18 -
19 19  = 1.Introduction =
20 20  
21 21  == 1.1 What is RS485-BL RS485 to LoRaWAN Converter ==
... ... @@ -54,8 +54,6 @@
54 54  
55 55  [[image:1652953304999-717.png||height="424" width="733"]]
56 56  
57 -
58 -
59 59  == 1.2 Specifications ==
60 60  
61 61  **Hardware System:**
... ... @@ -65,7 +65,7 @@
65 65  * Power Consumption (exclude RS485 device):
66 66  ** Idle: 6uA@3.3v
67 67  
68 -*
63 +*
69 69  ** 20dB Transmit: 130mA@3.3v
70 70  
71 71  **Interface for Model:**
... ... @@ -95,8 +95,6 @@
95 95  * 127 dB Dynamic Range RSSI.
96 96  * Automatic RF Sense and CAD with ultra-fast AFC. ​​​
97 97  
98 -
99 -
100 100  == 1.3 Features ==
101 101  
102 102  * LoRaWAN Class A & Class C protocol (default Class A)
... ... @@ -108,8 +108,6 @@
108 108  * Support Modbus protocol
109 109  * Support Interrupt uplink
110 110  
111 -
112 -
113 113  == 1.4 Applications ==
114 114  
115 115  * Smart Buildings & Home Automation
... ... @@ -119,13 +119,10 @@
119 119  * Smart Cities
120 120  * Smart Factory
121 121  
122 -
123 -
124 124  == 1.5 Firmware Change log ==
125 125  
126 126  [[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);"]]
127 127  
128 -
129 129  == 1.6 Hardware Change log ==
130 130  
131 131  (((
... ... @@ -152,8 +152,6 @@
152 152  
153 153  (((
154 154  Release version ​​​​​
155 -
156 -
157 157  )))
158 158  
159 159  = 2. Pin mapping and Power ON Device =
... ... @@ -167,7 +167,6 @@
167 167  
168 168  The Left TXD and RXD are TTL interface for external sensor. TTL level is controlled by 3.3/5v Jumper.
169 169  
170 -
171 171  = 3. Operation Mode =
172 172  
173 173  == 3.1 How it works? ==
... ... @@ -174,8 +174,6 @@
174 174  
175 175  (((
176 176  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.
177 -
178 -
179 179  )))
180 180  
181 181  == 3.2 Example to join LoRaWAN network ==
... ... @@ -239,9 +239,7 @@
239 239  == 3.3 Configure Commands to read data ==
240 240  
241 241  (((
242 -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>>||anchor="H3.5ConfigureRS485-BLviaATorDownlink"]] Command to configure how RS485-BL should read the sensor and how to handle the return from RS485 or TTL sensors.
243 -
244 -
225 +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.
245 245  )))
246 246  
247 247  === 3.3.1 onfigure UART settings for RS485 or TTL communication ===
... ... @@ -668,57 +668,41 @@
668 668  
669 669  Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors.
670 670  
671 -(((
652 +
672 672  function Decoder(bytes, port) {
673 -)))
674 674  
675 -(((
676 676  ~/~/Payload Formats of RS485-BL Deceive
677 -)))
678 678  
679 -(((
680 680  return {
681 -)))
682 682  
683 -(((
684 684   ~/~/Battery,units:V
685 -)))
686 686  
687 -(((
688 688   BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,
689 -)))
690 690  
691 -(((
692 692   ~/~/GPIO_EXTI 
693 -)))
694 694  
695 -(((
696 696   EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",
697 -)))
698 698  
699 -(((
700 700   ~/~/payload of version
701 -)))
702 702  
703 -(((
704 704   Pay_ver:bytes[2],
705 -)))
706 706  
707 -(((
708 708   };
709 -)))
710 710  
711 -(((
712 712   }
713 -)))
714 714  
715 -(((
675 +
676 +
677 +
678 +
679 +
680 +
716 716  TTN V3 uplink screen shot.
717 -)))
718 718  
719 -[[image:1653274001211-372.png||height="192" width="732"]]
683 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
720 720  
721 -== 3.5 Configure RS485-BL via AT or Downlink ==
685 +1.
686 +11. Configure RS485-BL via AT or Downlink
722 722  
723 723  User can configure RS485-BL via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
724 724  
... ... @@ -728,15 +728,15 @@
728 728  
729 729  * **Sensor Related Commands**: These commands are special designed for RS485-BL.  User can see these commands below:
730 730  
731 -1.
732 -11.
696 +1.
697 +11.
733 733  111. Common Commands:
734 734  
735 735  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]]
736 736  
737 737  
738 -1.
739 -11.
703 +1.
704 +11.
740 740  111. Sensor related commands:
741 741  
742 742  ==== Choose Device Type (RS485 or TTL) ====
... ... @@ -1042,13 +1042,13 @@
1042 1042  
1043 1043  
1044 1044  
1045 -1.
1010 +1.
1046 1046  11. Buttons
1047 1047  
1048 1048  |**Button**|**Feature**
1049 1049  |**RST**|Reboot RS485-BL
1050 1050  
1051 -1.
1016 +1.
1052 1052  11. +3V3 Output
1053 1053  
1054 1054  RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor.
... ... @@ -1066,7 +1066,7 @@
1066 1066  By default, the AT+3V3T=0. This is a special case, means the +3V3 output is always on at any time
1067 1067  
1068 1068  
1069 -1.
1034 +1.
1070 1070  11. +5V Output
1071 1071  
1072 1072  RS485-BL has a Controllable +5V output, user can use this output to power external sensor.
... ... @@ -1086,13 +1086,13 @@
1086 1086  
1087 1087  
1088 1088  
1089 -1.
1054 +1.
1090 1090  11. LEDs
1091 1091  
1092 1092  |**LEDs**|**Feature**
1093 1093  |**LED1**|Blink when device transmit a packet.
1094 1094  
1095 -1.
1060 +1.
1096 1096  11. Switch Jumper
1097 1097  
1098 1098  |**Switch Jumper**|**Feature**
... ... @@ -1138,7 +1138,7 @@
1138 1138  
1139 1139  
1140 1140  
1141 -1.
1106 +1.
1142 1142  11. Common AT Command Sequence
1143 1143  111. Multi-channel ABP mode (Use with SX1301/LG308)
1144 1144  
... ... @@ -1157,8 +1157,8 @@
1157 1157  
1158 1158  ATZ
1159 1159  
1160 -1.
1161 -11.
1125 +1.
1126 +11.
1162 1162  111. Single-channel ABP mode (Use with LG01/LG02)
1163 1163  
1164 1164  AT+FDR   Reset Parameters to Factory Default, Keys Reserve
... ... @@ -1233,7 +1233,7 @@
1233 1233  [[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]]
1234 1234  
1235 1235  
1236 -1.
1201 +1.
1237 1237  11. How to change the LoRa Frequency Bands/Region?
1238 1238  
1239 1239  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
... ... @@ -1240,7 +1240,7 @@
1240 1240  
1241 1241  
1242 1242  
1243 -1.
1208 +1.
1244 1244  11. How many RS485-Slave can RS485-BL connects?
1245 1245  
1246 1246  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]].
... ... @@ -1257,7 +1257,7 @@
1257 1257  
1258 1258  
1259 1259  
1260 -1.
1225 +1.
1261 1261  11. Why I can’t join TTN V3 in US915 /AU915 bands?
1262 1262  
1263 1263  It might about the channels mapping. Please see for detail.
1653274001211-372.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -91.4 KB
Content