Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -14,11 +14,70 @@ 14 14 15 15 **Table of Contents:** 16 16 17 -{{toc/}} 18 - 19 - 20 20 (% aria-label="macro:toc widget" contenteditable="false" role="region" tabindex="-1" %) 21 21 ((( 19 +(% class="macro" data-macro="startmacro:toc|-|" data-widget="xwiki-macro" %) 20 +((( 21 +(% class="macro-placeholder hidden" %) 22 +((( 23 +macro:toc 24 +))) 25 + 26 +* [[1.Introduction>>doc:null||anchor="H1.Introduction"]] 27 +** [[1.1 What is RS485-LN RS485 to LoRaWAN Converter>>doc:null||anchor="H1.1A0WhatisRS485-LNRS485toLoRaWANConverter"]] 28 +** [[1.2 Specifications>>doc:null||anchor="H1.2A0Specifications"]] 29 +** [[1.3 Features>>doc:null||anchor="H1.3Features"]] 30 +** [[1.4 Applications>>doc:null||anchor="H1.4A0Applications"]] 31 +** [[1.5 Firmware Change log>>doc:null||anchor="H1.5A0FirmwareChangelog"]] 32 +** [[1.6 Hardware Change log>>doc:null||anchor="H1.6HardwareChangelog"]] 33 +* [[2. Power ON Device>>doc:null||anchor="H2.PowerONDevice"]] 34 +* [[3. Operation Mode>>doc:null||anchor="H3.A0OperationMode"]] 35 +** [[3.1 How it works?>>doc:null||anchor="H3.1Howitworks3F"]] 36 +** [[3.2 Example to join LoRaWAN network>>doc:null||anchor="H3.2ExampletojoinLoRaWANnetwork"]] 37 +** [[3.3 Configure Commands to read data>>doc:null||anchor="H3.3ConfigureCommandstoreaddata"]] 38 +*** [[3.3.1 onfigure UART settings for RS485 or TTL communication>>doc:null||anchor="H3.3.1onfigureUARTsettingsforRS485orTTLcommunication"]] 39 +*** [[3.3.2 Configure sensors>>doc:null||anchor="H3.3.2Configuresensors"]] 40 +*** [[3.3.3 Configure read commands for each sampling>>doc:null||anchor="H3.3.3Configurereadcommandsforeachsampling"]] 41 +*** [[3.3.4 Compose the uplink payload>>doc:null||anchor="H3.3.4Composetheuplinkpayload"]] 42 +*** [[3.3.5 Uplink on demand>>doc:null||anchor="H3.3.5Uplinkondemand"]] 43 +*** [[3.3.6 Uplink on Interrupt>>doc:null||anchor="H3.3.6UplinkonInterrupt"]] 44 +** [[3.4 Uplink Payload>>doc:null||anchor="H3.4UplinkPayload"]] 45 +** [[3.5 Configure RS485-LN via AT or Downlink>>doc:null||anchor="H3.5ConfigureRS485-LNviaATorDownlink"]] 46 +*** [[3.5.1 Common Commands>>doc:null||anchor="H3.5.1CommonCommands"]] 47 +*** [[3.5.2 Sensor related commands>>doc:null||anchor="H3.5.2Sensorrelatedcommands"]] 48 +*** [[3.5.3 Sensor related commands>>doc:null||anchor="H3.5.3A0Sensorrelatedcommands"]] 49 +**** [[RS485 Debug Command>>doc:null||anchor="HRS485DebugCommand"]] 50 +**** [[Set Payload version>>doc:null||anchor="HSetPayloadversion"]] 51 +**** [[Set RS485 Sampling Commands>>doc:null||anchor="HSetRS485SamplingCommands"]] 52 +**** [[Fast command to handle MODBUS device>>doc:null||anchor="HFastcommandtohandleMODBUSdevice"]] 53 +**** [[RS485 command timeout>>doc:null||anchor="HRS485commandtimeout"]] 54 +**** [[Uplink payload mode>>doc:null||anchor="HUplinkpayloadmode"]] 55 +**** [[Manually trigger an Uplink>>doc:null||anchor="HManuallytriggeranUplink"]] 56 +**** [[Clear RS485 Command>>doc:null||anchor="HClearRS485Command"]] 57 +**** [[Set Serial Communication Parameters>>doc:null||anchor="HSetSerialCommunicationParameters"]] 58 +** [[3.6 Listening mode for RS485 network>>doc:null||anchor="H3.6A0ListeningmodeforRS485network"]] 59 +** [[3.7 Buttons>>doc:null||anchor="H3.7Buttons"]] 60 +** [[3.8 LEDs>>doc:null||anchor="H3.8LEDs"]] 61 +* [[4. Case Study>>doc:null||anchor="H4.CaseStudy"]] 62 +* [[5. Use AT Command>>doc:null||anchor="H5.UseATCommand"]] 63 +** [[5.1 Access AT Command>>doc:null||anchor="H5.1AccessATCommand"]] 64 +** [[5.2 Common AT Command Sequence>>doc:null||anchor="H5.2CommonATCommandSequence"]] 65 +*** [[5.2.1 Multi-channel ABP mode (Use with SX1301/LG308)>>doc:null||anchor="H5.2.1Multi-channelABPmode28UsewithSX13012FLG30829"]] 66 +*** [[5.5.2 Single-channel ABP mode (Use with LG01/LG02)>>doc:null||anchor="H5.5.2Single-channelABPmode28UsewithLG012FLG0229"]] 67 +* [[6. FAQ>>doc:null||anchor="H6.FAQ"]] 68 +** [[6.1 How to upgrade the image?>>doc:null||anchor="H6.1Howtoupgradetheimage3F"]] 69 +** [[6.2 How to change the LoRa Frequency Bands/Region?>>doc:null||anchor="H6.2HowtochangetheLoRaFrequencyBands2FRegion3F"]] 70 +** [[6.3 How many RS485-Slave can RS485-LN connects?>>doc:null||anchor="H6.3HowmanyRS485-SlavecanRS485-LNconnects3F"]] 71 +** [[6.4 Compatible question to ChirpStack and TTI LoRaWAN server ?>>doc:null||anchor="H6.4CompatiblequestiontoChirpStackandTTILoRaWANserver3F"]] 72 +* [[7. Trouble Shooting>>doc:null||anchor="H7.TroubleShooting"]] 73 +** [[7.1 Downlink doesn’t work, how to solve it?>>doc:null||anchor="H7.1Downlinkdoesn2019twork2Chowtosolveit3F"]] 74 +** [[7.2 Why I can’t join TTN V3 in US915 /AU915 bands?>>doc:null||anchor="H7.2WhyIcan2019tjoinTTNV3inUS9152FAU915bands3F"]] 75 +* [[8. Order Info>>doc:null||anchor="H8.OrderInfo"]] 76 +* [[9.Packing Info>>doc:null||anchor="H9.PackingInfo"]] 77 +* [[10. FCC Caution for RS485LN-US915>>doc:null||anchor="H10.FCCCautionforRS485LN-US915"]] 78 +* [[11. Support>>doc:null||anchor="H11.Support"]] 79 +))) 80 + 22 22 (% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||height="15" role="presentation" title="Click and drag to move" width="15"]] 23 23 ))) 24 24 ... ... @@ -80,13 +80,11 @@ 80 80 ** Idle: 32mA@12v 81 81 ** 20dB Transmit: 65mA@12v 82 82 83 - 84 84 **Interface for Model:** 85 85 86 86 * RS485 87 87 * Power Input 7~~ 24V DC. 88 88 89 - 90 90 **LoRa Spec:** 91 91 92 92 * Frequency Range: ... ... @@ -109,8 +109,6 @@ 109 109 * Packet engine up to 256 bytes with CRC 110 110 111 111 112 - 113 - 114 114 == 1.3 Features == 115 115 116 116 * LoRaWAN Class A & Class C protocol (default Class C) ... ... @@ -123,8 +123,6 @@ 123 123 * Support Interrupt uplink (Since hardware version v1.2) 124 124 125 125 126 - 127 - 128 128 == 1.4 Applications == 129 129 130 130 * Smart Buildings & Home Automation ... ... @@ -135,8 +135,6 @@ 135 135 * Smart Factory 136 136 137 137 138 - 139 - 140 140 == 1.5 Firmware Change log == 141 141 142 142 [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]] ... ... @@ -339,6 +339,7 @@ 339 339 ))) 340 340 341 341 393 + 342 342 === 3.3.2 Configure sensors === 343 343 344 344 ((( ... ... @@ -364,6 +364,7 @@ 364 364 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 365 365 366 366 419 + 367 367 === 3.3.3 Configure read commands for each sampling === 368 368 369 369 ((( ... ... @@ -585,7 +585,7 @@ 585 585 586 586 587 587 588 -==== **(% style="color:#037691" %)RS485 Debug Command**(%%) ====641 +==== (% style="color:#037691" %)**RS485 Debug Command**(%%) ==== 589 589 590 590 ((( 591 591 This command is used to configure the RS485 devices; they won’t be used during sampling. ... ... @@ -592,7 +592,7 @@ 592 592 ))) 593 593 594 594 * ((( 595 - **(% style="color:#037691" %)AT Command**648 +(% style="color:#037691" %)**AT Command** 596 596 597 597 **AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m** 598 598 ... ... @@ -703,7 +703,7 @@ 703 703 704 704 705 705 706 -==== ** (% style="color:blue" %)Set Payload version** ====759 +==== **Set Payload version** ==== 707 707 708 708 ((( 709 709 This is the first byte of the uplink payload. RS485-LN can connect to different sensors. User can set the PAYVER field to tell server how to decode the current payload. ... ... @@ -710,7 +710,7 @@ 710 710 ))) 711 711 712 712 * ((( 713 -** (% style="color:#037691" %)AT Command:**766 +**AT Command:** 714 714 ))) 715 715 716 716 (% class="box infomessage" %) ... ... @@ -721,7 +721,7 @@ 721 721 ))) 722 722 723 723 * ((( 724 -** (% style="color:#037691" %)Downlink Payload:**777 +**Downlink Payload:** 725 725 ))) 726 726 727 727 ((( ... ... @@ -735,7 +735,7 @@ 735 735 736 736 737 737 738 -==== ** (% style="color:blue" %)Set RS485 Sampling Commands** ====791 +==== **Set RS485 Sampling Commands** ==== 739 739 740 740 ((( 741 741 AT+COMMANDx or AT+DATACUTx ... ... @@ -750,18 +750,29 @@ 750 750 ))) 751 751 752 752 * ((( 753 -** (% style="color:#037691" %)AT Command:**806 +**AT Command:** 754 754 ))) 755 755 756 - 809 +(% class="box infomessage" %) 810 +((( 811 +((( 757 757 **AT+COMMANDx: Configure RS485 read command to sensor.** 813 +))) 814 +))) 758 758 759 - 816 +(% class="box infomessage" %) 817 +((( 818 +((( 760 760 **AT+DATACUTx: Configure how to handle return from RS485 devices.** 820 +))) 821 +))) 761 761 823 +((( 824 + 825 +))) 762 762 763 763 * ((( 764 -** (% style="color:#037691" %)Downlink Payload:**828 +**Downlink Payload:** 765 765 ))) 766 766 767 767 ((( ... ... @@ -815,7 +815,7 @@ 815 815 816 816 817 817 818 -==== ** (% style="color:blue" %)Fast command to handle MODBUS device** ====882 +==== **Fast command to handle MODBUS device** ==== 819 819 820 820 ((( 821 821 AT+MBFUN is valid since v1.3 firmware version. The command is for fast configure to read Modbus devices. It is only valid for the devices which follow the [[MODBUS-RTU protocol>>url:https://www.modbustools.com/modbus.html]].