LoRaWAN RTU – User guide version 1.0 LoRaWAN RTU Module By Adeunis User Guide Version 1.0 Document revision Version Date Author Comment 1.0 20/07/2019 EMT Initial release ADEUNIS 283 rue Louis Néel - Parc Technologique Pré Roux 38920 CROLLES - France Tel. : +33 (0)4 76 92 07 77 - Fax : +33 (0)4 76 04 80 87 www.adeunis.com arf@adeunis.
Information Document information Title Subtitle Document type Document status LoRaWAN RTU by Adeunis User Guide Version 1.0 User Guide This document applies to the following products Name Reference Firmware version RTU LoRa module ARF8133A V1.07.
Table of contents DOCUMENT INFORMATION ..................................................................................................................................... 2 TABLE OF CONTENTS .................................................................................................................................. 3 DISCLAIMER .................................................................................................................................................... 4 TECHNICAL SUPPORT.......
DISCLAIMER This document and the use of any information contained therein, is subject to the acceptance of the Adeunis RF terms and conditions. They can be downloaded from www.adeunis.com. Adeunis makes no warranties based on the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Adeunis reserves all rights to this document and the i nformation contained herein.
Technical Support Website Our website contains much useful information: modules and stand-alone products information, user guides, configuration software and technical documents which can be accessed 24 hours a day. Email If you have technical problems or cannot find the required information in the provided documents, contact our Technical Support by email. Use our dedicated email address (arf@adeunis.com)) rather than any personal email address of our staff.
Recommendations regarding use • • • • • • • • Before using the system, check that the power supply voltage shown in the user manual corresponds to your supply. If it doesn’t, please consult your supplier. Place the device against a flat, firm and stable surface. The device must be installed in a location that is sufficiently ventilated so that there is no risk of internal heating and it must not be covered with objects such as newspapers, cloths, curtains, etc.
COMPLIANCE TO FCC US/CAN Important regulary information FCC ID : U3Z-ARF8133 IC : 7016A-ARF8133 • This device complies with part 15 of the FCC rules and Industry Canada license-exempt RSS standard(s). Operation is subject to the following two conditions : (1). this device may not cause Harmful interference, and (2).this device must accept any interference received, including interference that may cause undesired operation of the device.
Information réglementaire importantes FCC ID : U3Z-ARF8133 IC : 7016A-ARF8133 Ce dispositif est conforme aux règles de la FCC part 15 and à la norme CNR-210 d’Industrie Canada applicable aux appareils radio exempts de licence. Son fonctionnement est sujet aux deux conditions suivantes : (1) le dispositif ne doit pas produire de brouillage préjudiciable, et (2) ce dispositif doit accepter tout brouillage reçu, y compris un brouillage susceptible de provoquer un fonctionnement indésirable.
dont un exemple doit être inclus dans la demande d’autorisation d’équipement, soit fournir des instructions adéquates ainsi que le module qui explique cette exigence.
Technical specifications ARF8133A – US902-928(US) / AU915-928, AS923(AUS/NZ) module Technical specifications Communication Lora Protocol Module configuration Through AT commands UART configuration 115.
Device Overview Device Description The LoRa RTU module by ADEUNIS is a ready to use system, which provides connection to any operated network using the LoRaWAN protocol. It allows transmitting, receiving and instantly viewing the radio frames on the used network.
1 RTU module hardware interface 1.1 Hardware interface 1.1.
• Stop bit : 1 bit In exploitation mode, UART is in charge of exchanging data to transmit (UPLINK), data to receive (DOWNLINK), + some other internal data and traces (DEBUG, LoRaWAN,etc..) Before exchanging UART frame, one or several WakeUp character could be emitted by the RTU module. This number of wake up character is configurable (Register S2xx) 1.1.2 RTU signal description 1.1.2.1 Reset signal The reset signal allows a complete reset of the RTU module. 1.1.2.
Acknowledge is always expected after transmitting an application firmware upgrade command ➔ F4 / AF1 / AF2 – Application µc firmware upgrade [WKUP] / SOF / LENGTH / CMD / ACK / [DATA] / [CRC] WKUP: wakeup characters (optional) • N bytes '0xFF' SOF: Start Of Frame: 2 bytes = 0x01FF (LSB First) LENGTH: following frame bytes number: 1 bytes = 0x02 to 0xFF CMD: 1 byte: 0xFF if unknown command else received CMD ACK: Acknowledge: 1 byte o 0x06 ➔ ACK o 0x15 ➔ NACK DATA: [OPTIONNEL] only if ACK CRC: 4 bytes depends
1.2.2 Implemented commands Command code 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x08 0xFE 0x09-0xFD 0x00 0x01 0x02 0x03 0x04 0x05 0x08-0xFC 0xFE 0xFF 1.2.
2 RTU features mode description 2.1 RTU State Machine 2.1.1 State diagram Reset Idle mode Waiting for a start from host Stop RTU command Start RTU command Nominal mode Enter Command mode command - Enter Command mode command ATO command Comman d mode Configuration & Test command Figure 9: RTU state diagram 2.1.2 Idle and Nominal mode At powerup or after a reset or the module enter idle mode. To allow IoT communication, the host controller must send the Start RTU command (command code 0x01).
2.2 RTU Application interface in Command mode 2.2.1 AT commands 2.2.1.1 Change command execution level This command must be called before using ATT10 or ATT24 command to change the execution level of the module. Command format: ‘ATT63 ROOT’ Command answer: ‘O’ for OK if command succeeds, ‘E’ for error if command is rejected 2.2.1.2 RF carrier command This command places the RF in carrier wave mode.
2.3 RTU Application interface in Nominal mode This feature allows application to transmit/receive data from IOT network. RTU module provides run time information to application. 2.3.1 Application commands: APPLICATION ➔ RTU 2.3.1.1 Reset command Reset RTU module SOF/ LENGTH / CMD LENGTH: 0x01 CMD: 0x00 2.3.1.
2.3.1.4 JOIN Command - LORA ONLY Execute a JOIN process if OTAA mode has been activated. In ABP mode NetSKey, AppSKey and DevAddr are updated.
2.3.1.4.1 For ABP mode There is no join phase is ABP mode, so after the module starting, data can be sent directly. 2.3.1.4.
• Uplink request command 2.3.1.4.3 Diagram Application µC Uplink Request ACK Module RTU APPLICATION SERIAL INTERFACE PROTOCOL Rx1 opening APPLICATION SPECIFIC Uplink frame Uplink Cfg Rx2 opening LoRA WMBUS 2.3.1.4.
o • DR_1 (0x01)➔ SF9 – 125 kHz • DR_2 (0x02)➔ SF8 – 125 kHz • DR_3 (0x03)➔ SF7 – 125 kHz • DR_4 (0x04)➔ SF8 – 500 kHz PORT: application port ▪ 0 ➔ MAC Command • LinkCheckReq • Proprietary command 0x80 à 0xFF (Not implemented) ▪ 1-223 ➔ application port ▪ Other value ➔ default port 1 DATA: data to transmit • LoRaWAN ➔ Max DATA = f(DR) 2.3.1.5 Application power supply voltage command Application sends to RTU module the application power supply voltage.
In EU_868 ChFreqX and ChRangeX fields describe uplink/downlink channels. In XX_915 mode ChFreqX and ChRangeX fields describe reception window 1 channels. OPTIONS: • Bit 0 : OTAA if 1, ABP if 0 • Bit 1 : Adaptative Data Rate On if 1 • Bit 2 : Network joined if 1 • Bit 3 : Rx windows settings : Test house if 1 else standard 2.3.
2.3.3 Indication commands: RTU ➔ APPLICATION These commands provide information from RTU module to application. No acknowledge needed 2.3.3.1 Downlink information command o Application µC APPLICATION Diagram Uplink Request ACK Module RTU Uplink frame APPLICATION Uplink Cfg INTERFACE Rx1 opening Rx2 opening LoRA WMBUS Downlink frame on Rx2 Downlink information 2.3.3.1.
o PORT : 0 to 223 (1 byte) ▪ 0 ➔ MAC command (No payload) ▪ 1-223 ➔ application port ▪ 224 ➔ reserved for compliance test DATA: downlink data Note: if bit CTRL-in.linkCheckAns is set to 1 then to bytes are added to data payload • Margin • Gateways number 2.3.3.2 Trace command Trace are encapsulated to be redirect by application if needed. SOF/ LENGTH / CMD / TRACE_DATA LENGTH: following frame bytes: 0x02 to 0xFF CMD: 0x01 TRACE_DATA 2.3.3.
o o o o o o 2.3.3.4 Rx1Freq : expressed in Hz (4 bytes) Rx1ChannelBand : Rx channel band (1 byte) Rx1DrOffset : Rx1 datarate offset (1 byte) Rx2Freq : Rx window 2 frequency expressed in Hz (4 bytes, LSByte first) Rx2Dr : Rx window 2 (1 byte) Port : application port (1 byte) Power Fail command Sends in case of power supply voltage failure. After sending this command RTU module goes to Stop mode. SOF / LENGTH / CMD LENGTH: 0x01 CMD: 0x03 2.3.3.
3 Annex 1 Dipole Antenna Page 27 / 28
PCB ANTENNA Polarization : Vertical Gain : 0dB +/-2dB Realized Gain (gain + efficient): 0dB +/-2dB Parametre S: ****** END OF DOCUMENT ****** Page 28 / 28