The Lora Ra-01 is a long-range, low-power wireless communication module designed for IoT (Internet of Things) applications. Manufactured by Lora and based on the SX1278 chipset, this module leverages the LoRa (Long Range) protocol to enable robust communication over distances of several kilometers. Its low power consumption makes it ideal for battery-powered devices in remote or hard-to-reach locations.
The Lora Ra-01 module is designed to provide reliable and efficient communication in a compact form factor. Below are its key technical specifications:
Parameter | Value |
---|---|
Manufacturer | Lora |
Part ID | SX1278 |
Frequency Range | 433 MHz (ISM band) |
Modulation Technique | LoRa (Long Range), FSK, GFSK, OOK |
Communication Range | Up to 10 km (line of sight, depending on environment and antenna) |
Data Rate | 0.018 kbps to 37.5 kbps (LoRa mode) |
Supply Voltage | 1.8V to 3.7V |
Operating Current | 10.8 mA (transmit mode), 10.3 mA (receive mode), <200 nA (sleep mode) |
Operating Temperature | -40°C to +85°C |
Dimensions | 17 mm x 16 mm x 2.3 mm |
The Lora Ra-01 module has 16 pins, each serving a specific function. Below is the pinout and description:
Pin Number | Pin Name | Description |
---|---|---|
1 | GND | Ground connection |
2 | DIO0 | Digital I/O pin 0 (used for interrupt signaling) |
3 | DIO1 | Digital I/O pin 1 |
4 | DIO2 | Digital I/O pin 2 |
5 | DIO3 | Digital I/O pin 3 |
6 | DIO4 | Digital I/O pin 4 |
7 | DIO5 | Digital I/O pin 5 |
8 | 3.3V | Power supply input (1.8V to 3.7V) |
9 | RESET | Reset pin (active low) |
10 | NSS | SPI chip select (active low) |
11 | SCK | SPI clock input |
12 | MOSI | SPI Master Out Slave In |
13 | MISO | SPI Master In Slave Out |
14 | ANT | Antenna connection |
15 | GND | Ground connection |
16 | NC | Not connected |
The Lora Ra-01 module is typically used in conjunction with a microcontroller, such as an Arduino UNO, to enable wireless communication. Below are the steps to use the module in a circuit:
3.3V
pin of the module to the 3.3V
pin on the Arduino UNO. Do not connect it to the 5V
pin, as this may damage the module.GND
pins of the module to the GND
pin on the Arduino UNO.NSS
→ Pin 10 (Chip Select)SCK
→ Pin 13 (Clock)MOSI
→ Pin 11 (Master Out Slave In)MISO
→ Pin 12 (Master In Slave Out)DIO0
pin to an available digital pin on the Arduino (e.g., Pin 2).ANT
pin for optimal performance.Below is an example of how to use the Lora Ra-01 module with the Arduino UNO using the popular RadioHead
library:
#include <SPI.h>
#include <RH_RF95.h>
// Define pins for the Lora Ra-01 module
#define RFM95_CS 10 // NSS pin
#define RFM95_RST 9 // RESET pin
#define RFM95_INT 2 // DIO0 pin
// Frequency for the Lora module (433 MHz)
#define RF95_FREQ 433.0
// Create an instance of the RF95 driver
RH_RF95 rf95(RFM95_CS, RFM95_INT);
void setup() {
// Initialize serial communication
Serial.begin(9600);
while (!Serial);
// Initialize the NSS, RESET, and DIO0 pins
pinMode(RFM95_RST, OUTPUT);
digitalWrite(RFM95_RST, HIGH);
// Reset the Lora module
digitalWrite(RFM95_RST, LOW);
delay(10);
digitalWrite(RFM95_RST, HIGH);
delay(10);
// Initialize the RF95 driver
if (!rf95.init()) {
Serial.println("Lora initialization failed!");
while (1);
}
Serial.println("Lora initialized successfully!");
// Set the frequency
if (!rf95.setFrequency(RF95_FREQ)) {
Serial.println("Failed to set frequency!");
while (1);
}
Serial.print("Frequency set to: ");
Serial.println(RF95_FREQ);
// Set the transmission power
rf95.setTxPower(13, false); // 13 dBm, PA_BOOST disabled
}
void loop() {
// Send a test message
const char *message = "Hello, Lora!";
rf95.send((uint8_t *)message, strlen(message));
rf95.waitPacketSent();
Serial.println("Message sent!");
// Wait for a response
if (rf95.waitAvailableTimeout(3000)) {
uint8_t buf[RH_RF95_MAX_MESSAGE_LEN];
uint8_t len = sizeof(buf);
if (rf95.recv(buf, &len)) {
Serial.print("Received: ");
Serial.println((char *)buf);
} else {
Serial.println("Receive failed!");
}
} else {
Serial.println("No response received.");
}
delay(5000); // Wait 5 seconds before sending the next message
}
RadioHead
or LoRa
, to simplify communication with the module.Module Not Responding
Short Communication Range
Failed Initialization
No Data Received
Can I use the Lora Ra-01 with a 5V microcontroller?
What is the maximum range of the Lora Ra-01?
Is the Lora Ra-01 compatible with other LoRa modules?