Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›IoT & Wireless
  4. ›LoRa Modules
Step 14 of 16 in ESP32 and IoTPart of a learning path.
Next

Component guide · Intermediate · 3 min read

LoRa Modules

SX1276, SX1278 and Ra-02 with Arduino and ESP32

By Geekobot Learning Team · Updated 24 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerHow LoRa reaches so farWiring an Ra-02 / SX1278 to ESP32 and ArduinoPoint-to-point code with the LoRa libraryWhich frequency to use in IndiaLoRa vs LoRaWANRange tipsTry itCommon mistakesFAQsParts and next steps
Short answer

LoRa modules send small messages over several kilometres on very little power, using Semtech's spread-spectrum radio chips. The SX1278 (and Ai-Thinker Ra-02) covers 433 MHz; the SX1276 and RFM95 cover 868 and 915 MHz. In India, LoRaWAN uses the license-exempt 865 to 867 MHz band. Modules are 3.3 V only, connect over SPI, and must have an antenna attached before transmitting. Data rates are low, roughly 0.3 to 5 kbps.

Key specs at a glance

Chips
SX1276 (137 to 1020 MHz), SX1278 (137 to 525 MHz), newer SX1262
Modules
Ra-02 (SX1278, 433 MHz), RFM95W (SX1276, 868/915 MHz)
India band
865 to 867 MHz for LoRaWAN (IN865)
Data rate
About 0.3 to 5.5 kbps at 125 kHz bandwidth
Range
2 to 5 km in towns, 10 km or more line of sight
Supply
3.3 V; signal pins are not 5 V tolerant
01

How LoRa reaches so far

LoRa uses chirp spread spectrum: each symbol is a frequency sweep that receivers can pick out even below the noise floor. The spreading factor (SF7 to SF12) trades speed for range: SF12 is the slowest and reaches furthest, with each step roughly doubling airtime. Bandwidth (125 kHz is standard) and coding rate also matter. Both ends must use the same frequency, spreading factor, bandwidth and sync word, or they will not hear each other.

02

Wiring an Ra-02 / SX1278 to ESP32 and Arduino

Module pinESP32Arduino UnoNotes
3.3V3V33.3VNever 5 V
GNDGNDGND
NSS (CS)GPIO 5D10 via level shifter
SCKGPIO 18D13 via level shifter
MOSIGPIO 23D11 via level shifter
MISOGPIO 19D12
RSTGPIO 14D9 via level shifter
DIO0GPIO 2D2 via level shifterInterrupt on packet sent/received
3.3V
ESP32:
3V3
Arduino Uno:
3.3V
Notes:
Never 5 V
GND
ESP32:
GND
Arduino Uno:
GND
NSS (CS)
ESP32:
GPIO 5
Arduino Uno:
D10 via level shifter
SCK
ESP32:
GPIO 18
Arduino Uno:
D13 via level shifter
MOSI
ESP32:
GPIO 23
Arduino Uno:
D11 via level shifter
MISO
ESP32:
GPIO 19
Arduino Uno:
D12
RST
ESP32:
GPIO 14
Arduino Uno:
D9 via level shifter
DIO0
ESP32:
GPIO 2
Arduino Uno:
D2 via level shifter
Notes:
Interrupt on packet sent/received
03

Point-to-point code with the LoRa library

This uses the LoRa library by Sandeep Mistry. RadioLib is a good alternative that also supports the newer SX126x chips.

ESP32 LoRa sender (change to receiver with parsePacket) · Arduino C++Verify & upload in Electrolark
#include <SPI.h>
#include <LoRa.h>

void setup() {
  Serial.begin(115200);
  LoRa.setPins(5, 14, 2);              // NSS, RST, DIO0
  if (!LoRa.begin(433E6)) {            // match your module and local rules
    Serial.println("LoRa init failed");
    while (true) {}
  }
  LoRa.setSpreadingFactor(9);
  LoRa.setSyncWord(0x34);
}

void loop() {
  LoRa.beginPacket();
  LoRa.print("temp=27.5");
  LoRa.endPacket();
  delay(10000);                        // keep airtime low
}

// Receiver loop:
// int size = LoRa.parsePacket();
// if (size) { while (LoRa.available()) Serial.write(LoRa.read());
//             Serial.print(" RSSI "); Serial.println(LoRa.packetRssi()); }
04

Which frequency to use in India

Buy the module for the band you will use; a 433 MHz module cannot work at 865 MHz. In India, the 865 to 867 MHz band is license-exempt for low-power devices, and The Things Network and other LoRaWAN operators use the IN865 plan there. 433 MHz modules (Ra-02) are popular for point-to-point hobby links; the 433 MHz band is also license-exempt for very low power devices. Rules on power and duty cycle change, so check the current Wireless Planning and Coordination (WPC) notification for your power level before deploying anything permanent.

05

LoRa vs LoRaWAN

LoRa is the radio. Two modules can talk directly, as in the code above. LoRaWAN is a network protocol on top: devices send to gateways, which forward data over the internet to a network server (such as The Things Network or ChirpStack). LoRaWAN adds encryption, device management and coverage from shared gateways, but needs a gateway within range and a LoRaWAN library (such as LMIC or RadioLib's LoRaWAN support). For a farm sensor reporting to a house, point-to-point LoRa is simpler.

06

Range tips

  • ✓Always connect an antenna tuned to your band before transmitting; transmitting without one can damage the module.
  • ✓Height beats power: a gateway or receiver on a roof can triple the range.
  • ✓Use SF9 to SF12 for long links, and keep messages short and infrequent.
  • ✓Keep the antenna vertical and away from metal enclosures and batteries.
  • ✓Check packetRssi() and packetSnr(): SNR down to about -15 dB still decodes at SF12.
07

Try it: Wireless link budget and range calculator

Change the values and the diagram and results update as you type.

08

Common mistakes to avoid

  • !Powering the module at 5 V or driving it from 5 V logic.
  • !Transmitting with no antenna.
  • !Mismatched frequency, spreading factor or sync word between nodes.
  • !Buying 433 MHz modules for a LoRaWAN network that uses 865 MHz.
  • !Sending large or frequent packets and exceeding duty-cycle limits.
09

Frequently asked questions

What is the range of the SX1278 LoRa module?

Typically 2 to 5 km in towns and 10 km or more with clear line of sight and good antennas at height. Indoors and through buildings it is much less.

Which LoRa frequency is legal in India?

LoRaWAN in India uses the license-exempt 865 to 867 MHz band. Low-power 433 MHz links are also common for hobby use. Check the current WPC rules for your transmit power.

What is the difference between SX1276 and SX1278?

The frequency range. The SX1278 covers up to 525 MHz (433 MHz modules); the SX1276 covers up to 1020 MHz (868 and 915 MHz modules).

Can LoRa send images or audio?

No. LoRa is for small messages of tens of bytes at a few kilobits per second at most. Use Wi-Fi or 4G for images.

Is the Ra-02 module 5 V tolerant?

No. Power it from 3.3 V and use a 3.3 V board or level shifters on every signal line.

Parts for this guide

  • M5Stack LoRa Module 433MHz v1.1
    ₹1,289View
  • 4-Channel Logic Level Converter (BSS138)
    ₹20View
  • Solar Panel
    ₹156View
Shop LoRa & RF Transceivers

Terms in this guide

SPISerial Peripheral Interface: a fast bus with clock, data in, data out and a chip-select line per device.Logic levelThe voltage that represents a digital high: 5 V on classic Arduinos, 3.3 V on ESP32, Pico and Raspberry Pi.FrequencyHow many times per second a signal repeats, measured in hertz (Hz). 1 kHz is 1000 cycles per second.InterruptA hardware signal that makes the microcontroller pause its program and run a short function immediately, for example when a button pin changes.

Projects that use it

Put this into practice: 57 step-by-step builds in our project library use parts from this guide.

Intermediate · 2 hoursLoRa field soil moisture nodeView projectIntermediate · 2 hoursLoRa water tank level nodeView projectIntermediate · 2 hoursLoRa field weather nodeView project
Browse all 57 projects

Keep learning

ComparisonBeginnerWi-Fi vs Bluetooth vs LoRa vs ZigbeeCompare Wi-Fi, BLE, Bluetooth Classic, ESP-NOW, nRF24L01, 433 MHz, LoRa, Zigbee and 4G for projects by range, data rate, power and typical hardware.4 min read · IoT & WirelessHow-toIntermediatenRF24L01 2.4 GHz RadioThe nRF24L01 is a cheap 2.4 GHz radio that sends small packets (up to 32 bytes) between microcontrollers with automatic acknowledgements and retries.3 min read · IoT & WirelessConcept explainerIntermediateSPI ExplainedSPI (Serial Peripheral Interface) is a fast four-wire bus: SCK carries the clock, MOSI carries data from the controller, MISO carries data back, and a separate chip-select (CS) line per device chooses who is listening.3 min read · Electronics FundamentalsComponent guideBeginnerESP32 GuideThe ESP32 is a low-cost 3.3 V microcontroller from Espressif with built-in Wi-Fi and Bluetooth, used for IoT devices, smart-home controllers and web dashboards.5 min read · Boards & Microcontrollers

Sources

  • Semtech SX1276/77/78/79 datasheet
  • LoRa Alliance RP002 regional parameters (IN865)
  • Ai-Thinker Ra-02 module datasheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerHow LoRa reaches so farWiring an Ra-02 / SX1278 to ESP32 and ArduinoPoint-to-point code with the LoRa libraryWhich frequency to use in IndiaLoRa vs LoRaWANRange tipsTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide1 item · ₹1,049

Nebulae NLN500a LoRa Module STM32WL 868MHz

Run itChange the inputs and watch the output

Sender loop is every 10 s; sped up here. Switch to the receiver to see what arrives.

Serial monitor115200 baud
temp=27.5 RSSI -96

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question