# Waveshare RP2040-LoRa

> A compact RP2040-based LoRa module with SX1262 transceiver, available in 410-525MHz (LF) and 850-930MHz (HF) variants, featuring 2MB flash, 20 GPIO pins, IPEX antenna connector, and castellated edge design for embedded integration.

## Quick Facts

- **Brand:** Waveshare
- **Price:** ~$12.99
- **CPU:** ARM Cortex-M0+ dual-core @ 133MHz
- **CPU Architecture:** ARM Cortex-M0+
- **CPU Cores:** 2
- **RAM:** 264KB SRAM
- **Flash:** 2MB
- **USB:** USB-C (via adapter board)
- **Power:** 3.3V
- **Operating Voltage:** 3.3V
- **Operating Temp:** -40°C to +85°C
- **Dimensions:** 21 × 41mm
- **Antenna:** U.FL/IPEX

## Connectivity

- **Lora:** SX1262 410-525MHz / 850-930MHz

## Use Cases

- lora-iot
- remote-sensor-nodes
- environmental-monitoring
- long-range-iot
- lorawan-gateway
- battery-powered-sensor-node

## Components

- **RP2040** (mcu): Raspberry Pi RP2040 dual-core ARM Cortex-M0+ processor at 133MHz with 264KB SRAM, 8 PIO state machines, and USB 1.1 support. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fdatasheets.raspberrypi.com%2Frp2040%2Frp2040-datasheet.pdf&ref=openhardware.directory&product=waveshare-rp2040-lora&source=md-export)
- **SX1262** (radio): Semtech SX1262 long-range LoRa transceiver with +22dBm TX power, -148dBm sensitivity, supporting LoRa/FSK/GFSK modulation up to 256-byte packets. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Ffiles.waveshare.com%2Fupload%2Fe%2Fe1%2FDS_SX1261-2_V1.2.pdf&ref=openhardware.directory&product=waveshare-rp2040-lora&source=md-export)

## Protocols

- **SPI** (SPI1 (LoRa)): SCK: GPIO14, MOSI: GPIO15, MISO: GPIO24, CS: GPIO13
- **UART** (UART0): TX: GPIO0, RX: GPIO1
- **I2C** (I2C0): SDA: GPIO4, SCL: GPIO5

## GPIO Map

| Pin | Name | Type | Functions |
|-----|------|------|-----------|
| GPIO0 | UART0 TX | UART | digital-input, digital-output, pwm |
| GPIO1 | UART0 RX | UART | digital-input, digital-output, pwm |
| GPIO4 | I2C0 SDA | I2C | digital-input, digital-output, pwm |
| GPIO5 | I2C0 SCL | I2C | digital-input, digital-output, pwm |
| GPIO13 | SX1262 CS | SPI | digital-input, digital-output, pwm |
| GPIO14 | SX1262 SCK | SPI | digital-input, digital-output, pwm |
| GPIO15 | SX1262 MOSI | SPI | digital-input, digital-output, pwm |
| GPIO16 | SX1262 DIO1 | — | digital-input, digital-output, pwm |
| GPIO17 | SX1262 ANT SW | — | digital-input, digital-output, pwm |
| GPIO18 | SX1262 BUSY | — | digital-input |
| GPIO23 | SX1262 RST | — | digital-input, digital-output, pwm |
| GPIO24 | SX1262 MISO | SPI | digital-input, digital-output, pwm |
| GPIO26 | ADC0 | — | digital-input, digital-output, pwm, adc |
| GPIO27 | ADC1 | — | digital-input, digital-output, pwm, adc |
| GPIO28 | ADC2 | — | digital-input, digital-output, pwm, adc |
| GPIO29 | ADC3 | — | digital-input, digital-output, pwm, adc |

## Description

## Overview

The Waveshare RP2040-LoRa is a compact castellated module that combines the Raspberry Pi RP2040 dual-core microcontroller with a Semtech SX1262 LoRa transceiver for long-range wireless communication. Available in two frequency variants -- LF (410-525MHz) for Europe and Asia, and HF (850-930MHz) for North America, Europe, and Oceania -- the module delivers up to 22dBm transmit power with -148dBm receive sensitivity, enabling kilometer-range communication in line-of-sight conditions.

At just 21 x 41mm with castellated edge pads, the RP2040-LoRa is designed for direct soldering onto carrier boards, making it ideal for embedding into custom IoT sensor nodes, environmental monitoring stations, and LoRaWAN end devices. The onboard IPEX antenna connector accepts external antennas (a 2dB antenna and SMA adapter cable are included), and the 8-pin FPC connector provides a convenient breakout for USB programming via an optional USB-C adapter board.

The module exposes 20 GPIO pins with SPI, I2C, and UART interfaces, 4 ADC channels, and 16 PWM channels. The SX1262 communicates with the RP2040 over SPI and supports LoRa, FSK, and GFSK modulation with packets up to 256 bytes. With receive current consumption of just 5.3mA, the module is well-suited for battery-powered remote sensor deployments. Development is supported through C/C++ (Pico SDK), MicroPython, and Arduino, with example code available for LoRa ping-pong testing and LoRaWAN OTAA temperature sensing.

## Where to Buy

- [Waveshare](https://openhardware.directory/r?to=https%3A%2F%2Fwww.waveshare.com%2Frp2040-lora.htm&ref=openhardware.directory&product=waveshare-rp2040-lora&source=md-export) — 12.99

## Resources

- [product](https://openhardware.directory/r?to=https%3A%2F%2Fwww.waveshare.com%2Frp2040-lora.htm&ref=openhardware.directory&product=waveshare-rp2040-lora&source=md-export)
- [github](https://openhardware.directory/r?to=https%3A%2F%2Fgithub.com%2Fwaveshareteam%2FPico_MircoPython_Examples&ref=openhardware.directory&product=waveshare-rp2040-lora&source=md-export)
- [wiki](https://openhardware.directory/r?to=https%3A%2F%2Fwww.waveshare.com%2Fwiki%2FRP2040-LoRa&ref=openhardware.directory&product=waveshare-rp2040-lora&source=md-export)
- [datasheet](https://openhardware.directory/r?to=https%3A%2F%2Ffiles.waveshare.com%2Fupload%2Fe%2Fe1%2FDS_SX1261-2_V1.2.pdf&ref=openhardware.directory&product=waveshare-rp2040-lora&source=md-export)
- [schematics](https://openhardware.directory/r?to=https%3A%2F%2Ffiles.waveshare.com%2Fwiki%2FRP2040-LoRa%2FRp2040-lora-sch.pdf&ref=openhardware.directory&product=waveshare-rp2040-lora&source=md-export)

## Images

![Waveshare RP2040-LoRa](https://nbg1.your-objectstorage.com/openhardware-directory/entities/waveshare-rp2040-lora/68faf68cbd75.jpg)
![Waveshare RP2040-LoRa](https://nbg1.your-objectstorage.com/openhardware-directory/entities/waveshare-rp2040-lora/eddf99de34a7.jpg)
![Waveshare RP2040-LoRa](https://nbg1.your-objectstorage.com/openhardware-directory/entities/waveshare-rp2040-lora/d10b17615983.jpg)
![Waveshare RP2040-LoRa](https://nbg1.your-objectstorage.com/openhardware-directory/entities/waveshare-rp2040-lora/7331c6683db2.jpg)

---
[View full device page](https://openhardware.directory/devices/waveshare-rp2040-lora)