← How-Tos
electronics 6 days ago ◑ 17 views ◯ 4 min read

2.4 GHz LoRa for Makers: Getting Started with the SX1280 and Why It Beats Sub-GHz for Short-Range Speed

SX1280LoRaRadioLib2.4GHzESP32wirelessranging

Our existing guide on point-to-point LoRa telemetry with the SX1262 covers the sub-GHz chip most makers reach for first, and for good reason — long range and ISM-band legality make it the default choice for off-grid sensor links. But Semtech's SX1280 is a genuinely different chip aimed at a different problem: 2.4GHz operation, frequency-hopping spread spectrum for interference resistance, and data rates fast enough for applications sub-GHz LoRa was never meant to handle, like low-latency ranging. This guide covers getting started with the SX1280 and when it's the better choice over its sub-GHz sibling.

Why 2.4GHz Changes the Calculus

LoRa's headline feature — trading data rate for range via its spreading factor — works identically at 2.4GHz, but the propagation physics of the band itself are very different from 868/915MHz. Higher frequency means more attenuation through walls and foliage, so absolute range drops relative to a sub-GHz link under the same power and spreading factor. What you get in exchange: global license-free availability without the regional 868/915MHz band-plan headaches, dramatically shorter time-on-air at a given data rate, and access to ranging mode, a hardware feature the SX1280 has that the SX1262 does not.

CharacteristicSX1262 (sub-GHz)SX1280 (2.4GHz) Typical outdoor range, line of sightSeveral km at low data rateSeveral hundred meters to ~1-2km at low data rate Regional band restrictions868MHz EU, 915MHz US — not interchangeable2.4GHz ISM, globally license-free with no regional variant needed Max practical data rateLower, optimized for rangeHigher, better suited to bursty sensor data or small file transfer Built-in ranging modeNoYes — distance measurement between two radios Coexistence with WiFi/BluetoothNone, different band entirelyShares spectrum with WiFi/BLE; frequency hopping mitigates but doesn't eliminate interference

Wiring the SX1280 to an ESP32

The SX1280 uses the same SPI-plus-a-few-GPIO wiring pattern as the SX1262 and SX1276 before it — MOSI, MISO, SCK, a chip-select line, a reset line, a busy line, and an interrupt line for RX/TX done events. Most SX1280 breakout boards (Adafruit, E-Radionics, and several AliExpress modules built around Semtech's reference design) follow the same pinout convention RadioLib already expects, so wiring is close to a direct swap from an SX1262 project:

RadioLib Setup for the SX1280

RadioLib supports the SX1280 as a first-class module, not an afterthought — instantiate it with the `SX1280` class rather than `SX1262`, point it at the same style of pin definitions, and the rest of the transmit/receive API is nearly identical to what you'd already be using for sub-GHz LoRa. The meaningful differences are in the parameters you'll want to tune: set your frequency in the 2400-2483.5MHz range rather than 868/915, and consider enabling the SX1280's frequency-hopping support if you're deploying in an environment with heavy WiFi or Bluetooth traffic sharing the band.

// RadioLib, SX1280 instead of SX1262 -- API stays the same shape SX1280 radio = new Module(NSS_PIN, DIO1_PIN, RESET_PIN, BUSY_PIN); int state = radio.begin(2400.0, 203.125, 7, 5, SX128X_SYNC_WORD_PRIVATE, 10, 12);

When to Actually Choose the SX1280 Over the SX1262

Stick with the SX1262 and sub-GHz LoRa for anything where maximum range per milliwatt is the actual requirement — off-grid environmental sensors, remote equipment monitoring, or any link where the device might be a kilometer or more from its gateway. The SX1280 isn't a better LoRa chip in general; it's a better chip for a different, shorter-range, more bandwidth-hungry problem.