, ,

RN2483 Lora RF Click Microchip Serial Modul

MicrochipMIKROE
Verfügbarkeit:

Vorrätig


LoRa click is a LoRa® RF technology based SRD transceiver, which operates at a sub-gigahertz frequency of 433/868MHz. This click board™ features an embedded LoRaWAN® Class A compliant stack, providing a long-range spread spectrum communication, with high interference immunity. The LoRa® module used on this Click board™ is fully certified LoRa® Sub-GHz, 433/868 MHz European R&TTE directive assessed radio modem, which combined with the advanced and simple command interface, allows for an easy integration into the final application, reducing development time, costs, and time to market.

LoRa® module certified for Europe region.

This click is tested and The Things Network Certified.

CHF69.00 inkl. MWST

Vorrätig

https://www.youtube.com/watch?v=iLXGwSrh_6kLoRa click is a LoRa® RF technology based SRD transceiver, which operates at a sub-gigahertz frequency of 433/868MHz. This click board™ features an embedded LoRaWAN® Class A compliant stack, providing a long-range spread spectrum communication, with high interference immunity. The LoRa® module used on this Click board™ is fully certified LoRa® Sub-GHz, 433/868 MHz European R&TTE directive assessed radio modem, which combined with the advanced and simple command interface, allows for an easy integration into the final application, reducing development time, costs, and time to market.

Equipped with LoRaWAN® Class A compliant stack, LoRa click offers an easy and reliable solution for developing low power, highly integrated LoRaWAN® IoT networks, security systems, alarm networks, building control, M2M interfaces, and similar applications that require simple and reliable networking solutions. IT offers a programmable RF communication data rate up to 300 kbps with FSK modulation or 5468 bps with LoRa® Technology modulation.

 

How does it work?

The main active element of the LoRa click the RN2483, low-power long range LoRa® technology transceiver module, from Microchip. It features the Class A LoRaWAN® compliant stack, optimized for a robust LoRaWAN® networking, immune to interferences, and suitable for the long-range wireless operation. It offers a long-range spread spectrum communication with high interference immunity. A receiver with the sensitivity of -148dBm combined with the 14dBm integrated amplifier allows for extended range links that can achieve up to 15km in open area (by the module manufacturer specification). LoRa click offers data rates of 300 kbps with FSK modulation and 5468 bps with LoRa® Technology modulation.
Mikroe Wireless Connectivity LoRa click

The LoRaWAN® network is sorted into three different classes. Class A compliant devices network is a network where end nodes are battery operated, the communication payload is small with longer intervals, and the communication is initiated by the end node (uplink). Communication is bidirectional, and the server responds in predetermined response windows.

The communication is done via the UART interface. There are three groups of commands, used to configure and operate the separate layers of the RN2483. These layers are the SYSTEM layer, the MAC layer, and the RADIO layer. Each of these layers is controlling a certain area of the module, and every UART command starts with one of the three keywords, which represent an abbreviation of the layer name they are controlling. Some commands also require parameters, depending on their nature. For example:

sys sleep <length>

This is a system command that will put the module into a Sleep state for a period forwarded by the <length> parameter (in milliseconds). The module is also equipped with the non-volatile memory (EEPROM) for storing the configuration settings, as well as some additional data. The default UART communication speed is 57600 bps, 8N1 with no hardware flow control enabled.

The break condition can be transmitted to the module if keeping its UART_RX pin low for a period longer than required to transmit a single character. This will interrupt the Sleep mode before the timer expires, also it can be used to sense the communication speed. After the break condition has been signaled to the module, sending character 0x55 will match the communication speed of the module with the speed at which the 0x55 character was sent.

To join a LoRaWAN® network, the device requires a LoRaWAN® concentrator/gateway. The endpoint device has to use a unique endpoint address, an application session key, and network session key. The first method is called over-the-air activation (OTAA), where these keys are issued after a specific join procedure (more info can be found in the LoRaWAN® specification). The second method is to assign these keys manually, using UART commands. This method is called activation by personalization (ABP) and can be prone to some security issues. In any case, before an end-device can communicate on the LoRaWAN® network, it must be activated.

The LoRaWAN® MAC layer can also be suspended by a command, allowing simple p2p (peer-to-peer) communication, where two nodes directly communicate with each other. Although explanation of all the configuration parameters, as well as the in-depth explanation of each feature of the RN2483 module can be found in the Command Reference User’s Guide, please note that improper settings of some parameters might render the device unresponsive. Therefore a care should be taken to read and understand the explanations before applying these settings. To simplify the design and avoid errors, MikroElektronika includes a Click board™ library, which contains simple functions used to set up and operate the LoRa click. The included demo application illustrates how to use them in a real application. It can be used as a reference for the custom design.

To allow interfacing with both 3.3V and 5V MCUs, this click board™ employs the TXB0106, a bidirectional level shifter and voltage translator from Texas Instruments, supported by a 3.3V LDO. This translates the external voltage levels to acceptable levels that can be used on the LoRa® module. All the used I/O pins of the module are routed via this IC to the mikroBUS™ pins.

The UART RX and TX pins are routed to the appropriate mikroBUS™ UART pins, via the level shifter. CTS pin is routed to the INT pin of the mikroBUS™, while the RTS pin is routed to the CS pin of the mikroBUS™ – also via the level shifter. Those pins can be used when hardware flow control is required. The #RESET pin is routed to the mikroBUS™ RST pin and it is used to reset the device. It is internally pulled up with a resistor.

LoRa click board is equipped with two SMA connectors so it can be equipped with the appropriate 868MHz and 433MHz antennas – offering a choice of two communication frequencies that can be used. The onboard SMD jumper labeled as VCC SEL is used to select the voltage input for the level shifter for interfacing with 3.3V or 5V MCUs.

 

Specifications

 

TypeLoRa
ApplicationsAutomated Meter Reading, Home and Building Automation, M2M, IoT, Industrial Monitoring and Control
On-board modulesMicrochip’s RN2483 Radio Modem
Radio RegionEurope
Key FeaturesEmbeds LoRaWAN™ Class A protocol stack. Sub-GHz, 433/868 MHz European R&TTE Directive
InterfaceUART
CompatibilitymikroBUS
Click board sizeL (57.15 x 25.4 mm)
Input Voltage3.3V or 5V

 

 

Pinout diagram

This table shows how the pinout on LoRa click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

NotesPinMikrobus logo.pngPinNotes
NC1ANPWM16NC
ResetRST2RSTINT15CTSClear To Send
Ready To SendRTS3CSRX14TXUART Transmit
NC4SCKTX13RXUART Receive
NC5MISOSCL12NC
NC6MOSISDA11NC
Power supply+3.3V73.3V5V10+5VPower supply
GroundGND8GNDGND9GNDGround

 

LoRa click electrical specifications

DescriptionMinTypMaxUnit
Operating Frequency Range 1433.050434.790Mhz
Operating Frequency Range 2863.000870.000MHz
UART interface baud rate57600bps

 

Onboard settings and indicators

LabelNameDefaultDescription
JP1PWR SELLeftLogic level voltage selection: Left position 3V3, right position 5V
LD1PWRPower LED indicator

 

Software support

We provide a library for LoRa click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers and mikroSDK. The provided click library is mikroSDK standard compliant. The demo application can run on all the main MikroElektronika development boards.

Library Description

The library covers all functionalities of the Click board through simplified API calls.

Key functions:

  • uint8_t lora_tx( char *buffer ) – Transmit function, sends the message provided using the buffer.
  • uint8_t lora_rx(char* window_size, char *response) – Receive function, provides a message using the response buffer.
  • void lora_process() – The library state machine must be placed inside an infinite loop.

Examples Description

The application is composed of three sections:

  • System Initialization – Initializes the UART module and CS pin, RST pin as output and INT pin as an input.
  • Application Initialization – Initializes the driver and the LoRa® module found on Click board.
  • Application Task – (code snippet) – Can be used as a receiver or a transmitter. It is necessary to uncomment the appropriate part of the code. The transmitter sends one by one byte, each second, while the receiver receives the message using continuous mode and logs the received data on UART.
void applicationTask()
{
 lora_process();

// RECEIVER
 rxState = lora_rx( 0, &tmp_txt[0]);

 if (rxState == 0)
 {
 _data = xtoi(&tmp_txt[11]);
 mikrobus_logWrite( &_data,_LOG_BYTE);
 mikrobus_logWrite( " ",_LOG_LINE);
 }

// TRANSMITER
 for (cnt = 0; cnt < 7; cnt++)
 {
 send_data = sendMessage[cnt];
 IntToHex(send_data,sendHex);
 txState = lora_tx( &sendHex[0] );

 if (txState == 0)
 {
 mikrobus_logWrite( " Response : ",_LOG_TEXT );
 mikrobus_logWrite( tmp_txt,_LOG_LINE );
 }
 Delay_1sec();
 }
}

The full application code, and ready to use libraries can be found on our Libstock page.

Other mikroE Libraries used in the example:

  • UART
  • Conversions

Additional notes and information

Depending on the development board you are using, you may need USB UART clickUSB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

 

mikroSDK

This click board is supported by mikroSDK – MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.

For more information about mikroSDK, visit the official page.

Resources

Downloads

Artikelnummer: Q2_MIKROE1997 Kategorien: , ,
Gewicht35 g
Marke

,

Features

Typ

Schnittstelle

Spannungseingang [V]

,

Herstellernummer

Style

0.0 overall
0
0
0
0
0

Be the first to review “RN2483 Lora RF Click Microchip Serial Modul”

Es gibt noch keine Bewertungen.