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 and remote deployments.
The Lora Ra-01 module is built for reliable and efficient communication. Below are its key technical details:
Parameter | Value |
---|---|
Chipset | SX1278 |
Frequency Range | 433 MHz (default) |
Modulation Technique | LoRa (Long Range) |
Communication Range | Up to 10 km (line of sight) |
Data Rate | 0.3 kbps to 37.5 kbps |
Supply Voltage | 1.8V to 3.7V |
Operating Current | 10.8 mA (transmit mode) |
Sleep Current | < 200 nA |
Output Power | Up to +20 dBm |
Sensitivity | -148 dBm |
Operating Temperature | -40°C to +85°C |
Interface | SPI |
The Lora Ra-01 module has 16 pins. Below is the pinout and description:
Pin Number | Pin Name | Description |
---|---|---|
1 | GND | Ground connection |
2 | DIO0 | Digital I/O pin 0 (interrupt output) |
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 (1.8V to 3.7V) |
9 | RESET | Reset pin (active low) |
10 | NSS | SPI chip select |
11 | SCK | SPI clock |
12 | MOSI | SPI master out, slave in |
13 | MISO | SPI master in, slave out |
14 | GND | Ground connection |
15 | ANT | Antenna 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. Do not use the 5V
pin, as it may damage the module.GND
pin of the module to the GND
pin on the Arduino.NSS
→ Pin 10 (Chip Select)SCK
→ Pin 13 (Clock)MOSI
→ Pin 11 (Master Out, Slave In)MISO
→ Pin 12 (Master In, Slave Out)RESET
pin to a digital pin (e.g., Pin 9) and the DIO0
pin to another digital pin (e.g., Pin 2) for handling interrupts.Below is an example of how to use the Lora Ra-01 module with the Arduino UNO using the 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
// Define frequency (433 MHz for Lora Ra-01)
#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 reset pin
pinMode(RFM95_RST, OUTPUT);
digitalWrite(RFM95_RST, HIGH);
// Reset the module
digitalWrite(RFM95_RST, LOW);
delay(10);
digitalWrite(RFM95_RST, HIGH);
delay(10);
// Initialize the RF95 module
if (!rf95.init()) {
Serial.println("LoRa initialization failed!");
while (1);
}
Serial.println("LoRa initialization successful!");
// Set the frequency
if (!rf95.setFrequency(RF95_FREQ)) {
Serial.println("Frequency set failed!");
while (1);
}
Serial.print("Frequency set to: ");
Serial.println(RF95_FREQ);
// Set the transmission power
rf95.setTxPower(20, false);
}
void loop() {
// Send a 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
}
ANT
pin to ensure proper operation and avoid damage to the module.Module Not Responding
Poor Communication Range
SPI Communication Fails
No Response from Receiver
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?