Last modified by Karry Zhuang on 2024/07/11 11:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -24,6 +24,7 @@ 24 24 **Connection** 25 25 26 26 27 + 27 27 [[image:image-20220527091942-2.png]](% style="display:none" %) 28 28 29 29 **Connection** ... ... @@ -50,6 +50,7 @@ 50 50 **Connection** 51 51 52 52 54 + 53 53 [[image:image-20220527092146-4.png||height="507" width="906"]] 54 54 55 55 **Connection** ... ... @@ -74,6 +74,8 @@ 74 74 75 75 ((( 76 76 This example describes a single-phase meter.This is the connection between the RS485-LN and the energy meter. 79 + 80 + 77 77 ))) 78 78 79 79 [[image:image-20220527092419-5.png]] ... ... @@ -81,6 +81,7 @@ 81 81 **Connection1** 82 82 83 83 88 + 84 84 ((( 85 85 (% style="color:blue" %)**How to connect with Energy Meter:** 86 86 ... ... @@ -105,6 +105,8 @@ 105 105 106 106 ((( 107 107 Once there is power, the RS485-LN will be on. 113 + 114 + 108 108 ))) 109 109 110 110 [[image:image-20220527092514-6.png]] ... ... @@ -112,6 +112,7 @@ 112 112 **Connection2** 113 113 114 114 122 + 115 115 [[image:image-20220527092555-7.png]] 116 116 117 117 **Connection3** ... ... @@ -198,6 +198,7 @@ 198 198 **AT COMMAND** 199 199 200 200 209 + 201 201 PAYLOAD is available after the valid value is intercepted. 202 202 203 203 [[image:image-20220601143046-7.png]] ... ... @@ -205,6 +205,7 @@ 205 205 **AT COMMAND** 206 206 207 207 217 + 208 208 You can get configured PAYLOAD on TTN. 209 209 210 210 [[image:image-20220601143519-1.png]] ... ... @@ -268,6 +268,7 @@ 268 268 AT COMMAND 269 269 270 270 281 + 271 271 (% style="color:blue" %)**01 is device address,00 02 is the current, 08 DC is the voltage,00 00 00 44 is the total active energy.** 272 272 273 273 ... ... @@ -276,6 +276,7 @@ 276 276 AT COMMAND 277 277 278 278 290 + 279 279 ==== **1.3.3.2 via LoRaWAN DOWNLINK** ==== 280 280 281 281 ... ... @@ -286,6 +286,7 @@ 286 286 ))) 287 287 288 288 301 + 289 289 ((( 290 290 (% style="color:blue" %)**Type Code 0xAF** 291 291 ))) ... ... @@ -347,21 +347,25 @@ 347 347 **DOWNLINK** 348 348 349 349 363 + 350 350 [[image:image-20220601143803-3.png]] 351 351 352 352 **DOWNLINK** 353 353 354 354 369 + 355 355 [[image:image-20220601144053-5.png]] 356 356 357 357 **DOWNLINK** 358 358 359 359 375 + 360 360 [[image:image-20220601143921-4.png]] 361 361 362 362 **DOWNLINK** 363 363 364 364 381 + 365 365 [[image:image-20220601142805-5.png]] 366 366 367 367 **DOWNLINK** ... ... @@ -388,6 +388,8 @@ 388 388 389 389 ((( 390 390 check digit: Even 408 + 409 + 391 391 ))) 392 392 393 393 [[image:image-20220527093708-21.png]] ... ... @@ -395,6 +395,7 @@ 395 395 **USB** 396 396 397 397 417 + 398 398 [[image:image-20220527093747-22.png]] 399 399 400 400 **USB** ... ... @@ -420,6 +420,7 @@ 420 420 **USB** 421 421 422 422 443 + 423 423 === 1.3.5 How to configure multiple devices and modify device addresses === 424 424 425 425 ... ... @@ -544,22 +544,7 @@ 544 544 545 545 [[image:image-20220527094556-31.png]] 546 546 547 - 548 548 Network Structure 549 549 550 -* [[Reference Instruction>>url:https://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Schneider%20Electric%20PLC/]] 551 551 552 - 553 - 554 -== 1.8 Example 8: This sketch is supposed to test Dragino RS485-BL (Modbus master), using an Arduino UNO as a Modbus slave. == 555 - 556 - 557 -This sketch uses 4 registers: some of them can be set by Dragino with a command, another is used to store value from a DS18B20 temperature sensor, or a random generated number. All data is 16bit uint, but the sketch shows also how to represent booleans and negative numbers. 558 - 559 -In the next days I will be adding more documentation, but I think it already explains users how to build their own modbus sensor to pair with Dragino RS485-BL. 560 - 561 -This is released the code under GNU LGPL licence on Github: 562 - 563 -[[https:~~/~~/github.com/zorbaproject/ArduinoModbusForDraginoRS485>>url:https://github.com/zorbaproject/ArduinoModbusForDraginoRS485]] 564 - 565 - 571 +* [[Reference Instruction>>url:https://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Schneider%20Electric%20PLC/]]