RA-01-R
AI

## Overview of the Ra-01-R Module
The **Ra-01-R** is a LoRa (Long Range) spread spectrum communication module developed by Ai-Thinker. It is based on the **Semtech SX1276** transceiver. The "R" suffix typically denotes a specific pinout or hardware revision designed for compact integration in IoT projects.
---
### 1. Key Electronic Specifications
The module operates in the Sub-GHz ISM band and is known for its high sensitivity and low power consumption.
| Parameter | Specification |
| :--- | :--- |
| **RF Chip** | Semtech SX1276 |
| **Frequency Range** | 410MHz - 525MHz (Default 433MHz) |
| **Communication Interface** | SPI |
| **Operating Voltage** | 2.7V - 3.6V (Typical 3.3V) |
| **Transmit Power** | Up to +20dBm |
| **Sensitivity** | Down to -148dBm |
| **Current (RX)** | ~12.15mA |
| **Current (TX)** | ~120mA (@ +20dBm) |
| **Current (Sleep)** | ~0.2uA |
---
### 2. Pinout Configuration
The Ra-01-R uses a compact SMD package. Understanding the pins is critical for interfacing with microcontrollers like Arduino or ESP32.
* **SPI Pins:** `MOSI`, `MISO`, `SCK`, and `NSS` (CS) are used for data communication.
* **DIO Pins:** `DIO0` to `DIO5` are configurable interrupt pins used to signal events like "Packet Received" or "Transmission Done."
* **Power:** `3.3V` and `GND`. **Warning:** Connecting 5V directly to the VCC or data pins can damage the chip.
* **Reset:** `RST` used to trigger a hardware reset.
---
### 3. Core Components & Features
The module integrates several electronic stages to ensure reliable long-range communication:
1. **Crystal Oscillator:** Provides the timing reference for the frequency synthesizer.
2. **Power Amplifier (PA):** Boosts the signal for long-distance transmission.
3. **Low Noise Amplifier (LNA):** Enhances weak incoming signals during reception.
4. **LoRa Modem:** Uses Frequency Hopping Spread Spectrum (FHSS) to remain resistant to interference.
---
### 4. Basic Connection Logic
When connecting the Ra-01-R to a 5V microcontroller (like an Arduino Uno), you **must** use a logic level shifter for the SPI lines.
```cpp
// Example: Typical pin mapping for Arduino (using LoRa library)
const int csPin = 10; // LoRa radio chip select
const int resetPin = 9; // LoRa radio reset
const int irqPin = 2; // Must be a hardware interrupt pin
```
---
- ⤷
What are the main differences between Ra-01 and Ra-01-R?
- ⤷ How do I wire the Ra-01-R to an ESP32 for deep sleep applications?
- ⤷ Which antenna type is best suited for the Ra-01-R 433MHz band?