Last modified by Karry Zhuang on 2024/07/11 11:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 16 removed)
- image-20220601142044-1.png
- image-20220601142354-2.png
- image-20220601142452-3.png
- image-20220601142607-4.png
- image-20220601142805-5.png
- image-20220601142936-6.png
- image-20220601143046-7.png
- image-20220601143115-8.png
- image-20220601143201-9.png
- image-20220601143257-10.png
- image-20220601143519-1.png
- image-20220601143642-2.png
- image-20220601143803-3.png
- image-20220601143921-4.png
- image-20220601144053-5.png
- image-20220601144149-6.png
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% class="wikigeneratedid" %) 2 - **Table of****Contents:**2 + **Contents:** 3 3 4 4 {{toc/}} 5 5 ... ... @@ -10,13 +10,11 @@ 10 10 11 11 = **1. Introduction** = 12 12 13 - 14 14 This article provide the examples for RS485-LN to connect to different type of RS485 sensors. 15 15 16 16 17 17 == **1.1 Example 1: Connect to Leak relay and VFD** == 18 18 19 - 20 20 This instruction is provided by Xavier Florensa Berenguer from [[NORIA GRUPO DE COMPRAS>>url:http://www.gruponovelec.com/]]. It is to show how to use RS485-LN to connect to Relay and VFD and communicate with Mobile. The structure is like below: 21 21 22 22 [[image:image-20220527091852-1.png]] ... ... @@ -38,13 +38,10 @@ 38 38 39 39 40 40 41 - 42 42 == **1.2 Example 2: Connect to Pulse Counter** == 43 43 44 - 45 45 This instruction is provided by Xavier Florensa Berenguer from [[NORIA GRUPO DE COMPRAS>>url:http://www.gruponovelec.com/]]. It is to show how to use RS485-LN to connect to Pulse Counter and communicate with Mobile. This example and example 2 compose the structure for a farm IoT solution. The structure is like below: 46 46 47 - 48 48 [[image:image-20220527092058-3.png]] 49 49 50 50 Connection ... ... @@ -56,12 +56,11 @@ 56 56 Connection 57 57 58 58 59 -* Configure Document:[[Pickdata MIO40 water pulse counter to LoRa with Dragino RS485-LN>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Pulse-Counter/]]54 +* [[Pickdata MIO40 water pulse counter to LoRa with Dragino RS485-LN>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Pulse-Counter/]] : Configure Document 60 60 * [[Dragino Solution in Farm>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/&file=Dragino%20on%20Farms.pptx]] 61 61 57 +== == 62 62 63 - 64 - 65 65 == **1.3 Example3: Use RS485-LN with energy meters** == 66 66 67 67 === **1.3.1 OverView** === ... ... @@ -109,7 +109,6 @@ 109 109 Connection2 110 110 111 111 112 - 113 113 [[image:image-20220527092555-7.png]] 114 114 115 115 Connection3 ... ... @@ -119,7 +119,7 @@ 119 119 120 120 If the user needs to read the parameters of the electric energy meter and use the modbus command,please refer to the appendix of the MODBUS communication protocol in the user manual of the energy meter. 121 121 122 -[[image:image-20220 601143257-10.png]]115 +[[image:image-20220527092629-8.png]] 123 123 124 124 125 125 (% class="box infomessage" %) ... ... @@ -167,7 +167,7 @@ 167 167 If the configured parameters and commands are incorrect, the return value is not obtained. 168 168 ))) 169 169 170 -[[image:image-20220 601143201-9.png]]163 +[[image:image-20220527092748-9.png]] 171 171 172 172 AT COMMAND 173 173 ... ... @@ -177,30 +177,28 @@ 177 177 AT+DATACUTx : This command defines how to handle the return from AT+COMMANDx, max reture length is 40 bytes. AT+DATACUTx=a,b,c 178 178 ))) 179 179 180 -a: 173 +a: length for the return of AT+COMMAND 181 181 182 -b: ;2: grab valid value by bytes section, max 3 sections.175 +b:1: grab valid value by byte, max 6 bytes. 2: grab valid value by bytes section, max 3 sections. 183 183 184 -c: 177 +c: define the position for valid value. 185 185 186 -[[image:image-20220 601143115-8.png]]179 +[[image:image-20220527092936-10.png]] 187 187 188 188 AT COMMAND 189 189 190 190 191 - 192 192 PAYLOAD is available after the valid value is intercepted. 193 193 194 194 195 -[[image:image-20220 601143046-7.png]]187 +[[image:image-20220527093059-11.png]] 196 196 197 197 AT COMMAND 198 198 199 199 200 - 201 201 You can get configured PAYLOAD on TTN. 202 202 203 -[[image:image-20220 601143519-1.png]]194 +[[image:image-20220527093133-12.png]] 204 204 205 205 ((( 206 206 AT COMMAND ... ... @@ -256,7 +256,7 @@ 256 256 Payload:01 00 02 39 85 08 DC 00 00 00 44 257 257 ))) 258 258 259 -[[image:image-20220 601142936-6.png]]250 +[[image:image-20220527093204-13.png]] 260 260 261 261 AT COMMAND 262 262 ... ... @@ -263,10 +263,8 @@ 263 263 264 264 (% style="color:#4f81bd" %)**01 is device address,00 02 is the current, 08 DC is the voltage,00 00 00 44 is the total active energy.** 265 265 257 +[[image:image-20220527093251-14.png]] 266 266 267 - 268 -[[image:image-20220601143642-2.png]] 269 - 270 270 AT COMMAND 271 271 272 272 ... ... @@ -330,8 +330,6 @@ 330 330 ))) 331 331 332 332 ((( 333 - 334 - 335 335 (% style="color:#4f81bd" %)**Example:** 336 336 ))) 337 337 ... ... @@ -339,32 +339,28 @@ 339 339 **AF 03 01 06 0A 05 00 04 00 01 00**: Same as AT+COMMAND3=0A 05 00 04 00 01,1 340 340 ))) 341 341 342 -[[image:image-20220 601144149-6.png]]329 +[[image:image-20220527093430-16.png]] 343 343 344 344 DOWNLINK 345 345 346 346 334 +[[image:image-20220527093508-17.png]] 347 347 348 -[[image:image-20220601143803-3.png]] 349 - 350 350 DOWNLINK 351 351 352 352 339 +[[image:image-20220527093530-18.png]] 353 353 354 -[[image:image-20220601144053-5.png]] 355 - 356 356 DOWNLINK 357 357 358 358 344 +[[image:image-20220527093607-19.png]] 359 359 360 -[[image:image-20220601143921-4.png]] 361 - 362 362 DOWNLINK 363 363 364 364 349 +[[image:image-20220527093628-20.png]] 365 365 366 -[[image:image-20220601142805-5.png]] 367 - 368 368 DOWNLINK 369 369 370 370 ... ... @@ -395,13 +395,11 @@ 395 395 USB 396 396 397 397 398 - 399 399 [[image:image-20220527093747-22.png]] 400 400 401 401 USB 402 402 403 403 404 - 405 405 ((( 406 406 The configuration command is consistent with the AT command, input the hexadecimal command directly into the serial port, and the serial port will output the command. 407 407 ))) ... ... @@ -429,7 +429,7 @@ 429 429 ))) 430 430 ))) 431 431 432 -[[image:image-20220 601142044-1.png]]413 +[[image:image-20220527093849-24.png]] 433 433 434 434 435 435 **Example**:These two meters are examples of setting parameters and device addresses. ... ... @@ -436,7 +436,6 @@ 436 436 437 437 [[image:image-20220527093950-25.png]] 438 438 439 - 440 440 [[image:image-20220527094028-26.png]] 441 441 442 442 ((( ... ... @@ -457,7 +457,7 @@ 457 457 ))) 458 458 ))) 459 459 460 -[[image:image-20220 601142354-2.png]]440 +[[image:image-20220527094100-27.png]] 461 461 462 462 (% class="box infomessage" %) 463 463 ((( ... ... @@ -484,10 +484,10 @@ 484 484 485 485 Its default device address is 01, and the following are the parameters for configuring two energy meters. 486 486 487 -[[image:image-20220 601142452-3.png]]467 +[[image:image-20220527094150-28.png]] 488 488 489 489 490 -[[image:image-20220 601142607-4.png]]470 +[[image:image-20220527094224-29.png]] 491 491 492 492 **PAYLOAD:01 08 DF 43 62** 493 493 ... ... @@ -505,6 +505,7 @@ 505 505 506 506 * [[Circuit Breaker Remote Open Close>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Circuit_Breaker_Remote_Open_Close/]] : Configure Documen 507 507 488 + 508 508 == 1.5 Example 5: SEM Three Energy Meter with RS485-BL or RS485-LN == 509 509 510 510 This instruction is provided by Xavier Florensa Berenguer from [[NORIA GRUPO DE COMPRAS>>url:http://www.gruponovelec.com/]]. It is to show how to use RS485-BL to connect to SEM Three Energy Meter and send the data to mobile phone for remote minitor. The structure is like below:
- image-20220601142044-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.7 KB - Content
- image-20220601142354-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.8 KB - Content
- image-20220601142452-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -28.1 KB - Content
- image-20220601142607-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -26.9 KB - Content
- image-20220601142805-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -35.8 KB - Content
- image-20220601142936-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -26.7 KB - Content
- image-20220601143046-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -11.2 KB - Content
- image-20220601143115-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -11.9 KB - Content
- image-20220601143201-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -16.5 KB - Content
- image-20220601143257-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -9.1 KB - Content
- image-20220601143519-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -13.2 KB - Content
- image-20220601143642-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.4 KB - Content
- image-20220601143803-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -22.8 KB - Content
- image-20220601143921-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -29.2 KB - Content
- image-20220601144053-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.1 KB - Content
- image-20220601144149-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.4 KB - Content