Component guide · Intermediate · 4 min read
Ai-Thinker Ra-01S, Ra-01SCH and Ra-08H LoRa Modules

SPI vs AT Command Setup
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Ai-Thinker makes two kinds of LoRa module. The Ra-01S, Ra-01S-P and Ra-01SCH are SPI radios (SX1268 or a compatible chip) that you drive from an ESP32 with RadioLib, like an SX1262. The Ra-08H has its own ASR6601 microcontroller and runs LoRaWAN through AT commands over UART, so the host only sends text. Check the frequency marked on the module.
Key specs at a glance
- Ra-01S / Ra-01S-P
- SX1268, 410 to 525 MHz, 22 dBm, SPI
- Ra-01SCH
- LoRa SoC with 803 to 930 MHz or 410 to 525 MHz versions, SPI
- Ra-08H
- ASR6601 (Cortex-M4 plus SX1262 class radio), 803 to 930 MHz, UART AT commands
- Supply
- 3.3 V only (2.7 to 3.6 V)
- Current
- About 100 to 120 mA when sending at full power
- Antenna
- IPEX on most versions; stamp-hole pads for soldering
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1AI-Thinker LoRa Ra-01S Module (410-525MHz)₹443
Option 2AI-Thinker Ra-01S-P LoRa Module (SX1268, 410-525MHz)₹639
Option 3Ai-Thinker LoRa Module Ra-01SCH / Ra-03SCH₹389
Option 4AI-Thinker LoRa Series RA-08H Spread Spectrum Wireless Module₹649
Option 5Elecrow Crowtail LoRa RA-08H Module (803-930MHz)₹1,179
Option 6Elecrow RA-08H LoRaWAN Node Board with RP2040 Controller – 868 MHz₹1,419
What the Ai-Thinker Ra-01S and Ra-08H LoRa module is
The Ra-01S is often confused with the older Ra-01 and Ra-02 (SX1278). It has a different chip and pinout with BUSY and DIO1 instead of DIO0, so SX1278 libraries do not work; use RadioLib's SX1268 class.
The Ra-08H is a finished LoRaWAN node. Set DevEUI, AppEUI and AppKey with AT commands, join The Things Network or ChirpStack, and send data from any controller with a UART. The Crowtail and RP2040 node boards here carry a Ra-08H.
In India the licence-free LoRa band is 865 to 867 MHz (LoRaWAN plan IN865). 433 MHz modules are widely used by hobbyists, but check local rules before a commercial deployment.
Ai-Thinker Ra-01S and Ra-08H LoRa module pinout
The pins on the Ai-Thinker Ra-01S and Ra-08H LoRa module and what each one does.
| Pin | Function |
|---|---|
| NSS | SPI chip select (Ra-01S) |
| SCK / MOSI / MISO | SPI bus (Ra-01S) |
| BUSY | Radio busy flag (Ra-01S) |
| DIO1 | Interrupt (Ra-01S) |
| NRESET | Reset |
| TXEN / RXEN | RF switch on the Ra-01S-P power version |
| TX / RX | UART AT commands (Ra-08H) |
| VCC / GND | 3.3 V supply |
- NSS
- SPI chip select (Ra-01S)
- SCK / MOSI / MISO
- SPI bus (Ra-01S)
- BUSY
- Radio busy flag (Ra-01S)
- DIO1
- Interrupt (Ra-01S)
- NRESET
- Reset
- TXEN / RXEN
- RF switch on the Ra-01S-P power version
- TX / RX
- UART AT commands (Ra-08H)
- VCC / GND
- 3.3 V supply
Wiring the Ai-Thinker Ra-01S and Ra-08H LoRa module
This table is for the SPI Ra-01S. The module is 3.3 V only; an ESP32 or Pico is the easy match, and a Uno needs a level shifter. For the Ra-08H wire only 3V3, GND, TX and RX to a UART at 115200 baud.
| Ai-Thinker Ra-01S and Ra-08H LoRa module pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | 3.3V (with level shifter on signals) | 3V3 |
| GND | GND | GND |
| NSS | D10 | GPIO 5 |
| SCK | D13 | GPIO 18 |
| MOSI | D11 | GPIO 23 |
| MISO | D12 | GPIO 19 |
| BUSY | D4 | GPIO 27 |
| DIO1 | D2 | GPIO 26 |
| NRESET | D9 | GPIO 14 |
- VCC
- Arduino Uno:
- 3.3V (with level shifter on signals)
- ESP32:
- 3V3
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- NSS
- Arduino Uno:
- D10
- ESP32:
- GPIO 5
- SCK
- Arduino Uno:
- D13
- ESP32:
- GPIO 18
- MOSI
- Arduino Uno:
- D11
- ESP32:
- GPIO 23
- MISO
- Arduino Uno:
- D12
- ESP32:
- GPIO 19
- BUSY
- Arduino Uno:
- D4
- ESP32:
- GPIO 27
- DIO1
- Arduino Uno:
- D2
- ESP32:
- GPIO 26
- NRESET
- Arduino Uno:
- D9
- ESP32:
- GPIO 14
Example code
The receiver uses the same begin() line and radio.receive(str). For the Ra-08H send AT commands instead, for example AT+CDEVEUI, AT+CAPPKEY, AT+CJOIN and AT+DTRX, as listed in Ai-Thinker's AT manual.
#include <RadioLib.h>
// NSS, DIO1, NRESET, BUSY
SX1268 radio = new Module(5, 26, 14, 27);
void setup() {
Serial.begin(115200);
int state = radio.begin(433.0, 125.0, 9, 7, 0x12, 22); // MHz, kHz, SF, CR, sync word, dBm
Serial.println(state == RADIOLIB_ERR_NONE ? "Radio OK" : "Radio failed");
}
void loop() {
radio.transmit("Hello from Ra-01S");
delay(5000);
}Setup and tuning
RadioLib supports the SX1268 (Ra-01S) with the same API as the SX1262.
set radio.begin's TCXO voltage to 0 if the module has a plain crystal, or 1.8 if it has a TCXO.
choose the IN865 plan in AT commands before joining in India.
these are 2 mm pitch stamp modules; use a breakout or adapter for a breadboard.
What you need
Shop this list11 of 12 found in our store · ₹5,334
AI-Thinker LoRa Ra-01S Module (410-525MHz): the part this guide coversAI-Thinker LoRa Ra-01S Module (410-525MHz)₹443
AI-Thinker Ra-01S-P LoRa Module (SX1268, 410-525MHz): another version this guide coversAI-Thinker Ra-01S-P LoRa Module (SX1268, 410-525MHz)₹639
Ai-Thinker LoRa Module Ra-01SCH / Ra-03SCH: another version this guide coversAi-Thinker LoRa Module Ra-01SCH / Ra-03SCH₹389
AI-Thinker LoRa Series RA-08H Spread Spectrum Wireless Module: another version this guide coversAI-Thinker LoRa Series RA-08H Spread Spectrum Wireless Module₹649
Elecrow Crowtail LoRa RA-08H Module (803-930MHz): another version this guide coversElecrow Crowtail LoRa RA-08H Module (803-930MHz)₹1,179
Elecrow RA-08H LoRaWAN Node Board with RP2040 Controller – 868 MHz: another version this guide coversElecrow RA-08H LoRaWAN Node Board with RP2040 Controller – 868 MHz₹1,419
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389- Uno R3 development board: the controller used in the wiring tableFind this part
433MHz 2.5dBi folding antenna: a proper antenna for 433 MHz modulesHelical Spring Coil Antenna₹40
IPEX to SMA pigtail cable: to fit an SMA antenna to an IPEX socket5cm RG178 IPEX 1 to RP-SMA Female RF Pigtail Cable₹82Closest match, check the specs
4-channel logic level converter (BSS138): to connect 5 V and 3.3 V signals safely4-Channel Logic Level Converter (BSS138)₹20
USB to TTL serial converter: to talk to the module from a PCUSB to TTL Serial Converter (CH340G / CP2102 / FT232RL / PL2303)₹85Closest match, check the specs
Alternatives and when to choose them
- SX1278 Ra-02 LoRa: the older and most common Ai-Thinker LoRa module.
- SX1262 LoRa module: same family as the Ra-01S at 868/915 MHz.
- Seeed LoRa-E5 and STM32WL: another AT command LoRaWAN module.
Common mistakes to avoid
- Using the Arduino LoRa (SX1278) library with a Ra-01S.
- Wiring DIO0 instead of DIO1 and BUSY.
- 5 V on VCC or the signal pins.
- Joining LoRaWAN on the wrong region plan.
Frequently asked questions
Is Ra-01S the same as Ra-02?
No. Ra-02 is an SX1278; Ra-01S is an SX1268 with different pins and commands.
What does the P in Ra-01S-P mean?
A power version with an amplifier and TXEN/RXEN pins.
Does the Ra-08H need a microcontroller?
It has one inside; a host only sends AT commands, or you can program the ASR6601 directly.
Which library for Ra-01S?
RadioLib, SX1268 class.
Can it reach a LoRaWAN gateway?
Yes, Ra-08H directly; Ra-01S with a LoRaWAN library and a matching band.
Parts for this guide
Keep learning
Sources
- Ai-Thinker Ra-01S, Ra-01SCH and Ra-08H specifications
- Ai-Thinker Ra-08H AT command manual
- RadioLib documentation
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.



