

The LoRa RA-02, manufactured by Ai Thinker, is a low-power, long-range transceiver module that utilizes LoRa (Long Range) modulation technology. This module is specifically designed for wireless communication in IoT applications, offering exceptional range and low power consumption. With its ability to operate over several kilometers in open areas, the RA-02 is ideal for applications requiring low data rates and reliable communication over long distances.








The LoRa RA-02 module is built around the Semtech SX1278 chip, which supports LoRa modulation for robust and long-range communication. Below are the key technical details:
| Parameter | Value |
|---|---|
| Operating Voltage | 1.8V to 3.7V |
| Operating Current | 10.8mA (transmit), 10.3mA (receive) |
| Sleep Current | < 200nA |
| Frequency Range | 433 MHz (default) |
| Modulation | LoRa, FSK |
| Data Rate | 0.018 kbps to 37.5 kbps |
| Output Power | Up to +20 dBm |
| Sensitivity | -148 dBm |
| Communication Range | Up to 10 km (line of sight) |
| Interface | SPI |
| Dimensions | 16 x 16 mm |
The RA-02 module has 16 pins, as detailed in the table below:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | GND | Ground |
| 2 | DIO1 | Digital I/O Pin 1 |
| 3 | DIO2 | Digital I/O Pin 2 |
| 4 | DIO3 | Digital I/O Pin 3 |
| 5 | DIO4 | Digital I/O Pin 4 |
| 6 | DIO5 | Digital I/O Pin 5 |
| 7 | GND | Ground |
| 8 | ANT | Antenna Connection |
| 9 | VCC | Power Supply (1.8V to 3.7V) |
| 10 | RESET | Reset Pin |
| 11 | NSS | SPI Chip Select |
| 12 | SCK | SPI Clock |
| 13 | MOSI | SPI Master Out Slave In |
| 14 | MISO | SPI Master In Slave Out |
| 15 | DIO0 | Digital I/O Pin 0 |
| 16 | GND | Ground |
Below is an example of how to connect the LoRa RA-02 module to an Arduino UNO and send a simple message.
| LoRa RA-02 Pin | Arduino UNO Pin |
|---|---|
| VCC | 3.3V |
| GND | GND |
| NSS | D10 |
| SCK | D13 |
| MOSI | D11 |
| MISO | D12 |
| RESET | D9 |
| DIO0 | D2 |
#include <SPI.h>
#include <LoRa.h> // Include the LoRa library
#define NSS 10 // LoRa NSS pin connected to Arduino pin 10
#define RESET 9 // LoRa RESET pin connected to Arduino pin 9
#define DIO0 2 // LoRa DIO0 pin connected to Arduino pin 2
void setup() {
Serial.begin(9600); // Initialize serial communication
while (!Serial);
Serial.println("Initializing LoRa module...");
// Initialize LoRa module with NSS, RESET, and DIO0 pins
if (!LoRa.begin(433E6)) { // Set frequency to 433 MHz
Serial.println("LoRa initialization failed!");
while (1);
}
Serial.println("LoRa initialized successfully!");
}
void loop() {
Serial.println("Sending message...");
LoRa.beginPacket(); // Start a new LoRa packet
LoRa.print("Hello, LoRa!"); // Add message to the packet
LoRa.endPacket(); // Send the packet
delay(5000); // Wait 5 seconds before sending the next message
}
No Communication Between Modules
Short Communication Range
Module Not Initializing
High Power Consumption
Q: Can the RA-02 module operate at 868 MHz or 915 MHz?
Q: What is the maximum data rate supported by the RA-02?
Q: Can I use the RA-02 module with a 5V microcontroller?
Q: How can I increase the communication range?
This concludes the documentation for the LoRa RA-02 module.