ATIM ARM-N8-LRW User Manual

Transceiver 868mhz : 14/20dbm
Table of Contents

Advertisement

Quick Links

ARM-N8-LRW
MODULE
USER GUIDE
Transceiver 868MHz : 14/20dBm
General information:
Frequency:
LoRaWAN
LoRa P2P
Standalone
RF data rate:
Modulation:
Output power:
Sensitivity:
Link budget:
Range up to:
Interface:
Dimensions:
Certified:
Operating temperature: -20°C /+85°C
868MHz, 915MHz
100 to 10000 bps
CSS
2 to 20 dBm
-142 dBm
161dB
25km
UART
30mm x 18mm
EN 300 220
Typical application:
Internet Of Things (IoT)
Environment
Intelligent structures
Telemetry
Alarm and wireless security
systems
M2M
Remote sensors

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ARM-N8-LRW and is the answer not in the manual?

Questions and answers

Summary of Contents for ATIM ARM-N8-LRW

  • Page 1 ARM-N8-LRW MODULE USER GUIDE Transceiver 868MHz : 14/20dBm General information: Typical application: • Internet Of Things (IoT) • Frequency: 868MHz, 915MHz • Environment • LoRaWAN • Intelligent structures • LoRa P2P • Telemetry • Standalone • Alarm and wireless security •...
  • Page 2 Document Information File name EN-UG -ARM-N8-LRW Created 04/07/2018 Total pages Version Notes Firmware supported V1.1 First preliminary release (2018-07-04 TDX) ARM-N8-LRW_3-2-3_ACW-RTU_v2-0-0_BL_ENC.bin V1.2 Second preliminary release (2018-12-10 TDX) ARM-N8-LRW_3-2-3_ACW-RTU_v2-0-0_BL_ENC.bin...
  • Page 3: Table Of Contents

    UART..........................18 5.1.1 AT commands ..........................18 Transparent UART/RF BRIDGE ..................19 Low Power mode ......................19 Delays ..........................21 Postamble ........................22 Led behavior ........................22 Test mode ........................22 5.7.1 Battery level (ATT08) ........................23 ARM-N8LWR DS | ATIM...
  • Page 4 Transparent (SERIAL/RF BRIDGE) ................. 42 7.4.1 Configuration ..........................42 7.4.2 Functioning ..........................42 VariablePacket ............................43 MAIN PARAMETERS ...................... 44 7.5.1 RF CONFIGURATION IN P2P MODE ..................44 7.5.2 Low Data Rate Optimization......................45 LoRaTM Packet Structure ....................46 ARM-N8LWR DS | ATIM...
  • Page 5 CONTINUOUS MODULATION: ATT07 or ATS000=07 ............58 7.13.5 TRANSIENT MODE: ATT08 or ATS000=08 ................58 7.14 EXAMPLE ........................59 7.14.1 RX MODE WITH RSSI READING ..................59 7.14.2 ADRESS MODE ........................59 7.14.3 REPEATER IN BIDIRECTIONAL CONFIGURATION+ADRESS MODE ....... 61 ARM-N8LWR DS | ATIM...
  • Page 6: General Description

    C. Under Lora M2M, the module can be operated in ENSI or FCC. The N8-LRW module is pin-to-pin compatible with other modules from ATIM. It has taken over all features of the ARM N8- LW model. Other UART / BRIDGE mode, the N8-LRW embarks a so-called "Standalone" mode, enabling users to directly connect it to sensors without going through an external microcontroller.
  • Page 7: Technical Features

    By using both the RF PA Boost output and the RF Out output of the SX1272, users will have the choice to operate at 20 or 14dBm without over-consumption. DIMENSIONS All ARM-Nx-xxx modules are footprint compatible and share the same dimensions. Module dimensions Module footprint Figure 3 ARM-N8LWR DS | ATIM...
  • Page 8: Pinout

    Figure 3 shows the ARM-N8-LWR module dimensions. Dimensions are in mm. The N8-LRW has the same size as other models from ATIM range and keeps the compatibility of all the essential pins. By choosing the footprint of the N8LRW, you can use any ATIM N8 module.
  • Page 9: Electrical Characteristics

    The module’s power supply is between 2,7V and 3,6V. To ensure good filtering of power supply, the LC filter must be positioned as close to the pin VDD as possible. 100nH Figure 4 : Power supply filter ARM-N8LWR DS | ATIM...
  • Page 10: Impedance Of The Antenna Matching

    It is recommended to cover the whole surface underneath ARM-Nx modules with a ground plan. This surface must be varnished to avoid any short circuit. It is advised not to put any vias on this surface nor to use ovarnished vias. ARM-N8LWR DS | ATIM...
  • Page 11: Electrostatic Discharge

    This device is not applicable for flow solder processing This device is applicable for solder iron process with following soldering criteria: ▪ Use solder iron at or below 350°C ▪ Soldering time: < 3 sec. ▪ Pause between two soldering points: 3 sec. ARM-N8LWR DS | ATIM...
  • Page 12: Moisture Sensitivity

    This device must be pre-baked before entering reflow soldering process. Disregarding this recommendation may cause destructive effects, such as chip cracking, leaving the device non-functional! Shelf life 6 months, sealed Pre-baking recommendations 12 hrs. at 60°C Floor life (time from pre-baking to soldering <72 hrs. process) ARM-N8LWR DS | ATIM...
  • Page 13: Overall Organization

    INPUT 0 DIGITAL ANALOG INPUT 1 INPUT It gives users control on: • 3 Digital Inputs (DI) • 1 Counter (CPT) • 1 Analog Input (ADC) • 3 Digital Outputs (DO) • 1 Sensor Power Enable ARM-N8LWR DS | ATIM...
  • Page 14: Command Mode

    Do not forget to send end of line ‘\r’ and/or ‘\n’ at the end of the command. Parameters used are LoRaWANs. Example: To send the command ATV to the module by downlink, the payload need to be 0x4154560d TEST MODE Cf 5.7 ARM-N8LWR DS | ATIM...
  • Page 15: Device Organization

    AT Rx can only stack one AT command at the time, up to 128 Bytes. If an AT command arrive while the operation of the previous one is not done yet, the last one entered will be lost. ARM-N8LWR DS | ATIM...
  • Page 16: Registers

    An ATM command will change the corresponding parameter value in the RAM structure. ATMS command is the only way to save this structure in EEPROM An ATO command will change the corresponding parameter value in the RAM structure. ATOS command is the only way to save this structure in EEPROM ARM-N8LWR DS | ATIM...
  • Page 17 User can restore EEPROM structure in RAM, or save the RAM structure in EEPROM with command ATMS, ATMR, ATOS and ATOR. It allows to test a configuration, change RAM values and saving it after in EEPROM all parameters at once, or restoring EEPROM configuration if needed. ARM-N8LWR DS | ATIM...
  • Page 18: Main Parameters (Lora M2M & Lorwan)

    Reset MCU. Read MXXX register, ATM'XXX' + ENTER XXX decimal value. Write MXXX register, XXX decimal value, YY hexadecimal value, ATM'XXX'='YY' + ENTER Write in RAM structure. ATMS + ENTER Save ATM structure from RAM to EEPROM. ARM-N8LWR DS | ATIM...
  • Page 19: Transparent Uart/Rf Bridge

    Device is sleeping and there is a Device is sleeping and there is a rising edge on the Wake Up Pin. falling edge on Uart Rx Pin Waking up time Min 13 ms, typical 15 ms Min 13 ms, typical 15 ms ARM-N8LWR DS | ATIM...
  • Page 20 Nothing to do: The device has nothing to do when it is not in command mode and it has no running emission cycle and every buffers are empty (every data has been dealt with). ARM-N8LWR DS | ATIM...
  • Page 21: Delays

    Tx-Rx or Rx-Tx (TBD) (TBD) (TBD) Entering AT (+++) (TBD) (TBD) (TBD) Command mode Quitting AT (ATQ) (TBD) (TBD) (TBD) Reset (ATR) (TBD) (TBD) (TBD) Norma Sleep mode Entering (TBD) (TBD) (Wake Eg: by radio or by serial ARM-N8LWR DS | ATIM...
  • Page 22: Postamble

    Led default state 0: Led off during chosen states, on other time 1: Led on during chosen states, off other time TEST MODE Test mode allows you to use various functions to test the device, or the network. ARM-N8LWR DS | ATIM...
  • Page 23: Battery Level (Att08)

    RSSI reader uses user parameters from ATO structure, channel (077), spreading factor (075), etc. ATT0A RSSI = -89/-91 RSSI = -90/-91 RSSI = -90/-91 RSSI = -91/-91 5.7.2 Periodic emission (ATT0E) For advance details on this mode consult the application note ATIM_ARM-N8-LW_AN-RTU_EN. ARM-N8LWR DS | ATIM...
  • Page 24: Configuration

    ATM02 LED ON Boot: 0x00 WakingUp: 1; RF Tx: RF Rx: OnOff: Unused: ATM03 aliveFrame unused 0x00 Periode 1min 10min 1week 1month 2days 3days If >0F 1day ATM04 logsChar; 0x00 disabled else for checking ARM-N8LWR DS | ATIM...
  • Page 25 0 pas de debug et 1 avec debugs, b2 0: PA off 1:PA ON ATM20 0x00 0x99 pas de ATF au démarage ni sur mise a jour 0xEE ATF à chaque démarage else ATF sur mise à jour ARM-N8LWR DS | ATIM...
  • Page 26: Lorawan

    The data rate goes from 0,3 Kb/s to 50 Kb/s. To optimize Gateway: also know under the name of concentrator or base station. Uplink: communication from end device to the Internet. Downlink: communication from the Internet to an end device. ARM-N8LWR DS | ATIM...
  • Page 27: Bidirectional Endpoint (Class A)

    This type of frame does not need an acknowledgment. It means that the endpoint will emit the message the number of times it is configured to. If the message is lost there will be no re emission. 6.2.2 • Confirmed frame: ARM-N8LWR DS | ATIM...
  • Page 28: Radio Frequencies Characteristics

    Radio parameters can be configured to follow a defined behavior and to fulfil specific tasks. This configuration is the user’s responsibility; they have to choose what will be the best configuration for their application. The main ATO command is ATO083, it defines LoRaWAN behavior, allowing the user to choose if the LoRaWAN layer will: ARM-N8LWR DS | ATIM...
  • Page 29 Rate (ADR) 1: on Duty cycle on 0: off, 1: on Adaptive 0: off, channel on 1: on Adaptive Rx2 on 0: off, 1: on Rx2 default data 0: set to SF12, rate 1: set to SF9 ARM-N8LWR DS | ATIM...
  • Page 30: Otaa Process

    ATO075 and ATO076 will be used for emission only if the ADR is turned off (bit 2 of ATO083). It allows the users to choose and fix the spreading factor and output power depending on their application needs. Rx2 Spreading factor fixed by ATO075 will be used only if the bit 5 of ATO083 is off. ARM-N8LWR DS | ATIM...
  • Page 31 0x04 : channel LC5, freq = 867.300 MHz, 0x05 : channel LC6, freq = 867.500 MHz, 0x06 : channel LC7, freq = 867.700 MHz, 0x07 : channel LC8, freq = 867.900 MHz, 0x08 : channel LC9, freq = 868.900 MHz ARM-N8LWR DS | ATIM...
  • Page 32 ARMSE_MU2.0 Parameter Register value Used when Wan command 0x00: none Always to add in next 0x02: MAC_LINK_CHECK_REQ, emission else : (TBD) ARM-N8LWR DS | ATIM...
  • Page 33 1: OTAA will use this SF OTAA use SF9 0: OTAA will ignore this SF OTAA enabled 1: OTAA will use this SF OTAA use SF10 0: OTAA will ignore this SF OTAA enabled 1: OTAA will use this SF ARM-N8LWR DS | ATIM...
  • Page 34: Lorawan Parameters (Read Only)

    Data representation is the same as ATO218. CHANNELS_TX_POWER 1 Byte UPLINK_COUNTER 4 Bytes LoRaMAC frame counter. Each time a packet is sent the counter is incremented. DOWNLINK_COUNTER 4 Bytes LoRaMAC frame counter. Each time a packet is received the counter is incremented. ARM-N8LWR DS | ATIM...
  • Page 35: Advanced Options

    19 (GPIO10), it will be set to “high” for 50 ms before transferring the received downlink. Be careful, it prohibits the use of RTU mode. For advance details on this mode consult the application note ATIM_ARM-N8-LW_AN-RTU_EN. ARM-N8LWR DS | ATIM...
  • Page 36: Emit_Cycle Functionnality

    0x09: Unused, will set every day 0x0A: Approximately every 2 hour 0x0B: Approximately every 4 hour 0x0C: Approximately every 8 hour 0x0D: Approximately every 2 days 0x0E: Approximately every 3 days 0x0F: Approximately every 4 days Else will set every day. ARM-N8LWR DS | ATIM...
  • Page 37: Logs

    Upon activation of this mode, all emission cycle will be indicated on the with the pin 22 (GPIO11), it will be set to “high” during the whole cycle (Tx, Rx windows and if needed repetitions). Be careful, it prohibits the use of RTU mode. ARM-N8LWR DS | ATIM...
  • Page 38: Lora P2P

    Spreading factor can be configured from 12 to 7. It is a compromise between radio range and data rate. A spreading factor of 12 will reach higher range at a cost of a slower datarate, one of 7 will achieve higher data rate with a smaller range. ARM-N8LWR DS | ATIM...
  • Page 39: Reversal Time

    8 bits = 0x08 None= 0x00, 0x02 014 Parity Impair = 0x01 Pair = 0x03 UART Stop bytes 1 bit = 0x01 2 bits = 0x02 UART flow control None=0x00 RTS/CTS=0x01 021 Number of characters 0x03 before time-out ARM-N8LWR DS | ATIM...
  • Page 40: Serial Buffers

    The reception buffer can memorize the beginning and the end of every finished frame at a dead time (Tf) of 3 x byte time at the UART speed. Data reception on Rx-UART Trame 1 Trame 2 Trame 3 Trame n Trame 16 BUFFER Rx 512 octets Figure 15 ARM-N8LWR DS | ATIM...
  • Page 41 To activate this mechanism, the byte 1 of the register ATS020 must be at 1. Table 23 : Mode octet Série / RF ATS bit parameter value register value _AllTraffic _TxRF_PacketMode _RxRF_PacketMode ARM-N8LWR DS | ATIM...
  • Page 42: Transparent (Serial/Rf Bridge)

    To minimize communication troubles (on the UART particularly), the data rate must be the same for both communications (serial and radio). Transfer delay will be impacted by the nature of data to be sent, preamble emission phase, synchronization, control of start/end and frame errors. DATA IN DATA Figure 16 ARM-N8LWR DS | ATIM...
  • Page 43: Variablepacket

    Td : Temps avant émission Série Tf : si CRC activé, délai CRC 16bits Figure 17 Table 24 : Time Delay beforeTx(Td) Register Parameter value value Time Delay beforeTx in nx10ms Time Delay beforeTx in nx10ms ARM-N8LWR DS | ATIM...
  • Page 44: Main Parameters

    NO LOW DR OPTIMIZED (ATS079, b7 = 0, b7 = 0) for low flow rates with SP values of 11 and 12 with BW = 125k Relationship between Radio flow (DR: datarate, Rs: symbol rate) and bandwidth: BW Rs=BW/(2^SF) ; DR=SF*(BW/2^SF)*CR ARM-N8LWR DS | ATIM...
  • Page 45: Low Data Rate Optimization

    LoRa link at these low effective data rates, its use is mandated with spreading factors of 11 and 12 at 125 kHz bandwidth. parameter value register value BYTE low datarate optimizer:1; 0: ON; 1: OFF ARM-N8LWR DS | ATIM...
  • Page 46: Loratm Packet Structure

    -The presence of an optional 16-bits CRC for the payload. The header is transmitted with maximum error correction code (4/8). It also has its own CRC to allow the receiver to discard invalid headers. 7.6.3 Fixed packet LoRa-Header Mode ARM-N8LWR DS | ATIM...
  • Page 47: Syncword

    1 byte : Protocole : NONE_PROTOCOL=0x00, UART_RF_BRIDGE_PROTOCOL=0x01, AT_CMD_PROTOCOL=0x02, PING_PROTOCOL=0x03, PONG_PROTOCOL=0x04, ACW_CONF_PROTOCOL=0x09, UNKNOWN_PROTOCOL=0xFF, 1 byte : Flag : Bit 0 : Repeated frame Bit 1 : Must be repeated 2 bytes : Source Address 2 bytes : Destination Address ARM-N8LWR DS | ATIM...
  • Page 48: Address

    • ATS066/ATS067: destination address (default 0xFF: broadcast address to address the message to all recipients) Radio Addresses MODEM A MODEM B DEST DEST Filter rules (in reception) of the message sent the modem A and received by the modem B. ARM-N8LWR DS | ATIM...
  • Page 49: User Payload

    The LBT threshold is defined as the received signal level above which the channel is considered as busy or available. If the received signal is below the LBT threshold, then the channel is available. Exemple: ATM000=02 P2P Mode ATS002=12 Channel A ATS079=11 ATS032=-100 LBT Threshold ARM-N8LWR DS | ATIM...
  • Page 50: Lbt&Afa (Adaptative Frequency Agility)

    Use ATS079 b5 to enable AFA. LBT is inseparable from AFA. It is therefore necessary to adjust the LBT threshold via ATS032. Channel A is set by ATS002 and the second channel is programmed by ATS062. Exemple : ATM000=02 P2P Mode ATS002=01 Channel A ATS062=12 Channel B ATS079=31 LBT+AFA Mode ATS032=-100 LBT thresholf=-100dBm ARM-N8LWR DS | ATIM...
  • Page 51: Sniff Mode

    ATS006 (b0-b7) Low Power Mode: ATM01 (b0) Sniff Mode: ATS080 (b7) Exemple: ATM000=2 P2P Mode ATS079=81 LORA +Low datarate optimized ATS080=80 Sniff mode ATS006=14 Rx Timeout ATS007=32 sniff period ATS030=32 preamble length ATM001=01 low power mode ARM-N8LWR DS | ATIM...
  • Page 52: Repeater

    The stations and the repeater must have the same preamble length. To use bidirectionality, activate the AFA function. Registers used: Stations: ATS079, ATS030, ATS006, ATS002, ATS062 Repeater: ATS079, ATS030, ATS006, ATS062, ATS002 Repeater Figure 23 ARM-N8LWR DS | ATIM...
  • Page 53: Description Of The Registers

    Serial Timout in char S022 0x04 Radio_HFSS period; S023 LBT_RSSI_Time (en millisecondes) 5 (notation décimale) S024 0x10 BYTE PayloadLength; en dec S025 Signal Bandwidth (LoRa) 125 kHz = 0x00, 0x00 250 kHz = 0x01, 500 kHz = 0x02 ARM-N8LWR DS | ATIM...
  • Page 54: Radio Channels

    BYTE AddRSSIOnSerial:1; b0 0x00 BYTE Rssi in ascii:1; Hex:0; b1 S081 BYTE _PushHeaderInDataFifo; b2 7.12 RADIO CHANNELS The table below allows users to select channels to get the longest possible range or to avoid LoRaWAN channels. ARM-N8LWR DS | ATIM...
  • Page 55 14dBm ou 6,2dBm/100kHz 14dBm 867,5875 34 22 14dBm ou 6,2dBm/100kHz 25mW 867,725 35 23 14dBm ou 6,2dBm/100kHz 14dBm 867,8625 36 24 14dBm ou 6,2dBm/100kHz 868,1625 37 25 14dBm 868,3 38 26 14dBm 14dBm 14dBm 868,4375 39 27 14dBm ARM-N8LWR DS | ATIM...
  • Page 56: Test Mode

    Slave: ATT01 or ATS000=01 Example MODEM A MODEM B ATM000=2 P2P mode ATM000=2 P2P mode ATS002=03 Channel ATS002=03 Channel ATS025=00 BW=125kHz ATS025=00 BW=125kHz ATS026=04 CR=4/8 ATS026=04 CR=4/8 ATS027=0A SF=10 ATS027=0A SF=10 ATS000=00 PingPong Master ATS000=01 PingPong Slave Reset Reset ARM-N8LWR DS | ATIM...
  • Page 57: Rssi Reading: Att0A/Att02 Or Ats000=0A/Ats000=02

    This mode makes it possible to measure the level of the transmitted signal. To be able to use co mode, it is strongly to switch to FSK mode and choose the FSK channel and not the LORA channel. Example ARM-N8LWR DS | ATIM...
  • Page 58: Continuous Modulation: Att07 Or Ats000=07

    Continuous modulation mode 7.13.5 TRANSIENT MODE: ATT08 or ATS000=08 Mode for measuring the transient. Example : ATM000=02 P2P Mode ATS002=12 LoRa channel ATS025=00 Bandwidth ATS026=02 Error Coding ATS027=0A Spreading Factor ATS079=01 LoRa modulation ATS000=08 Transient Mode ARM-N8LWR DS | ATIM...
  • Page 59: Example

    ATS064=0010 ATS064=0009 destination address destination address ATS066=0005 ATS066=0004 ATMS ATMS Figure 27 Modem A does not see Modem B messages, and vice versa, because Modem A address is different from Modem B address. ARM-N8LWR DS | ATIM...
  • Page 60 MODEM A MODEM B Figure 29 Modem B receives data from A because B is in All Rx without filtering, A is in Broadcast, but does not receive those of B because ATS066 (of B) ≠ FFFF ARM-N8LWR DS | ATIM...
  • Page 61: Repeater In Bidirectional Configuration+Adress Mode

    ATS006=32 RxTimeOut ATS030=16 Préamble lenght ATS006=32 RxTimeOut ATS080=33 long header+broadcast ATS006=08 RxTimeOut ATS080=33 long header+broadcast ATS064=0010 local address ATS080=03 long header ATS064=0010 local address ATS066=FFFF destination address ATS064=0005 local address ATS066=FFFF destination address ATS066=0010 destination address ARM-N8LWR DS | ATIM...
  • Page 62 The module makes it possible to increase the radio range the set of products in deep indoor or remote from a base station. If the repeater is configured in sniff mode, its consumption will be low enough to be powered by batteries. End devices Repeater Gateway Application Network Server Server LoRaWan LoRa M2M Deep Indor ARM-N8LWR DS | ATIM...

Table of Contents