waveshare SX1262 868/915M LoRaWAN HAT

Waveshare SX1262 868/915M LoRaWAN HAT Instruction Manual

Model: SX1262 868/915M LoRaWAN HAT

1. Киришүү

The Waveshare SX1262 LoRaWAN HAT is an expansion board designed for Raspberry Pi series boards, including Raspberry Pi 4B/3B/Zero/Zero W/Zero 2W, and Pico/Pico W. This HAT enables LoRaWAN communication in the 868/915MHz frequency band. It integrates the SX1262 chip, which offers improved power efficiency and an extended transmission range compared to the SX1278. This module facilitates the creation of LoRaWAN nodes, allowing seamless connection to cloud servers such as The Things Network (TTN) for various Internet of Things (IoT) applications.

2. Пакеттин мазмуну

Төмөндө тизмеленген нерселердин баары пакетиңизге камтылганын текшериңиз:

Image showing the Waveshare SX1262 LoRaWAN HAT and its included accessories: the HAT module, a magnetic CB antenna, an IPEX to SMA adapter cable, a 2x20PIN female pinheader, and a screw pack.

Figure 1: Included components of the Waveshare SX1262 LoRaWAN HAT package.

3. Өзгөчөлүктөрү

Image showing the SX1262 LoRaWAN HAT with a 'Features At A Glance' section highlighting its compatibility with Raspberry Pi, SX1262 chip, Sub-GHz band suitability, and LoRaWAN network capabilities.

Figure 2: Key features of the SX1262 LoRaWAN HAT.

4. Техникалык шарттар

ПараметрНарк
RF чипSX1262
Frequency BandHF: 850 - 930MHz (868/915M for this model)
МодуляцияLoRa / (G)FSK
Data Rate (LoRa)0.018 - 62.5kbps
Data Rate (GFSK)0.6 - 300kbps
Emit Power22дБм@3.3V
Спрединг факторуSF7 - SF12
Operating Voltage3.3V
Module Current Consumption (emitting)107мА@22дБм
Module Current Consumption (receiving)5.3mA@125KHz
Байланыш автобусуSPI
Иштөө температурасы0 - 50°C
Интерфейс40PIN GPIO аталышы
Detailed specifications table for the SX1262 LoRaWAN HAT, including RF chip, frequency band, modulation, data rates, emit power, operating voltage, current consumption, communication bus, operating temperature, and interface.

Figure 3: Technical specifications of the SX1262 LoRaWAN HAT.

5. Pinout Definition

The SX1262 LoRaWAN HAT connects to the Raspberry Pi via its 40-pin GPIO header. Understanding the pinout is crucial for proper integration and software development. The following table and diagram detail the pin assignments for the LoRa node functionality:

Pin атыФункция
CSLoRa CS pin
CLKLoRa CLK pin
MOSILoRa MOSI pin
MISOLoRa MISO pin
АЛЕКLoRa BUSY pin
DIO1LoRa DIO1 pin
DIO4LoRa transmit enable pin
RSTLoRa reset pin
5V5V электр менен камсыздоо
GNDЖер
Diagram illustrating the pinout definition of the SX1262 LoRaWAN HAT, showing the connection to the Raspberry Pi GPIO header and specific functions for LoRa node pins like CS, CLK, MOSI, MISO, BUSY, DIO1, DIO4, and RST, along with power pins.

Figure 4: Pinout diagram for the SX1262 LoRaWAN HAT.

6. What's On Board

Бул бөлүм ашыкча камсыз кылатview of the main components and indicators on the SX1262 LoRaWAN HAT:

  1. SX1262 LoRa module
  2. Power chip (5V to 3.3V LDO)
  3. LoRa module IPEX 1 connector (for LoRa antenna)
  4. Status Indicator (PWR: power indicator, RXD/TXD: UART RX/TX indicator)
  5. Raspberry Pi 40PIN GPIO header (for connecting with Raspberry Pi series boards)
  6. LoRa module pin header
Diagram labeling the key components on the SX1262 LoRaWAN HAT, including the SX1262 module, power chip, LoRa antenna connector, status indicators, Raspberry Pi GPIO header, and LoRa module pin header. Note: This image may depict a variant with GNSS components not present on this specific model.

Figure 5: Labeled components on the SX1262 LoRaWAN HAT. Note: This image may depict a variant with GNSS components not present on this specific model.

7. Орнотуу

Follow these steps to set up your Waveshare SX1262 LoRaWAN HAT:

  1. Attach the HAT to Raspberry Pi: Carefully align the 40-pin female header of the SX1262 LoRaWAN HAT with the GPIO pins on your Raspberry Pi board. Gently press down until the HAT is securely seated. Use the provided screws and standoffs to fix the HAT to the Raspberry Pi for stability.
  2. Антеннаны туташтыруу:
    • Connect the IPEX to SMA adapter cable to the LoRa module IPEX connector on the HAT.
    • Screw the 868/915M magnetic CB antenna onto the SMA connector of the adapter cable. Ensure a firm connection.
  3. Программанын конфигурациясы:

    The SX1262 LoRaWAN HAT requires software configuration on your Raspberry Pi. Refer to the official Waveshare Wiki for detailed, up-to-date instructions and demo code. This typically involves:

    • Enabling SPI interface on your Raspberry Pi.
    • Installing necessary libraries and dependencies (e.g., Python libraries for LoRa communication).
    • Иштеп жаткан эксample scripts to test communication.

    Note: Software setup can be complex. Consult the Waveshare Wiki for specific commands and troubleshooting tips.

Image showing the Waveshare SX1262 LoRaWAN HAT connected to a Raspberry Pi board, illustrating the physical setup of the module.

Figure 6: SX1262 LoRaWAN HAT mounted on a Raspberry Pi.

8. Иштөө нускамалары

Once the hardware is assembled and software is configured, you can begin operating the SX1262 LoRaWAN HAT as a LoRaWAN node:

  1. Күйгүзүү: Ensure your Raspberry Pi is powered on. The PWR indicator LED on the HAT should illuminate.
  2. Initialize LoRa Module: Use your configured software to initialize the SX1262 module. This typically involves setting the frequency, spreading factor, bandwidth, and coding rate.
  3. Join LoRaWAN Network: For LoRaWAN operation, the node needs to join a network. This can be done via Over-The-Air Activation (OTAA) or Activation By Personalization (ABP). Your software will handle the necessary keys and procedures.
  4. Send and Receive Data: Once joined, the node can transmit uplink messages to a LoRaWAN gateway and receive downlink messages. Monitor the RXD/TXD indicator LEDs for activity.
  5. Маалыматтарды иштетүү: Data transmitted by the node will be forwarded by the gateway to a Network Server (e.g., TTN), where it can be processed and integrated with other applications.

For specific programming examples and detailed API usage, refer to the Waveshare Wiki and any relevant LoRaWAN documentation or libraries you are using.

9. Колдонмо Examples

The SX1262 LoRaWAN HAT is suitable for a wide range of applications requiring long-range, low-power wireless communication. Common use cases include:

Diagram illustrating various application examples for LoRaWAN technology, showing how devices connect to gateways, servers, and user interfaces for industrial control, smart home, and data acquisition scenarios.

Figure 7: LoRaWAN application examples.

10. Кыйынчылыктарды

Бул бөлүм сиз кабылышы мүмкүн болгон жалпы көйгөйлөрдү карайт:

11. Техникалык тейлөө

To ensure the longevity and optimal performance of your SX1262 LoRaWAN HAT, follow these maintenance guidelines:

12. Кепилдик жана колдоо

For warranty information, technical support, and further documentation, please refer to the official Waveshare resources:

Сураныч, кепилдик дооматтар үчүн сатып алуу далилиңизди сактап коюңуз.

13. Контурдун өлчөмдөрү

The physical dimensions of the SX1262 LoRaWAN HAT are provided below for integration planning:

Technical drawing showing the outline dimensions of the SX1262 LoRaWAN HAT in millimeters, including length, width, and mounting hole positions.

Figure 8: Outline dimensions of the SX1262 LoRaWAN HAT (Unit: mm).

Тектеш документтер - SX1262 868/915M LoRaWAN HAT

Preview Waveshare SX1262 LoRaWAN/GNSS HAT колдонуучусунун колдонмосу жана колдонмосу
Waveshare SX1262 LoRaWAN/GNSS HAT боюнча анын функцияларын, техникалык параметрлерин, жабдыктын туташуусун, пинуттун аныктамасын, программалык камсыздоону орнотууну, LoRaWAN түшүнүктөрүн жана The Things Network (TTN) менен интеграциясын камтыган кеңири колдонмо.
Preview Raspberry Pi 5 үчүн Waveshare PoE M.2 HAT+(B): Орнотуу жана колдонуучу үчүн колдонмо
Raspberry Pi 5 үчүн Waveshare PoE M.2 HAT+(B) орнотуу жана конфигурациялоо боюнча кеңири колдонмо, бул жакшыртылган иштөө жана сактоо үчүн Power over Ethernet жана M.2 NVMe SSD колдоосун камсыз кылат.
Preview Pico-Relay-B: 8 каналдуу реле модулунун колдонуучу колдонмосу
Raspberry Pi Pico үчүн өнөр жайлык 8 каналдуу реле модулу болгон Waveshare Pico-Relay-B колдонуучусунун колдонмосу. Анын функциялары, мүнөздөмөлөрү, орнотуулары жана программалоосу жөнүндө толук көрсөтмөлөр жана башкалар менен таанышыңыз.amples.
Preview Waveshare 2.13 дюймдук электрондук кагаз шляпасы (B) колдонуучунун колдонмосу жана техникалык колдонмосу
Waveshare 2.13 дюймдук электрондук кагаз шляпасы (B) боюнча кеңири колдонмо, анда Raspberry Pi, Arduino, Jetson Nano жана STM32 үчүн жабдыктардын туташуулары, программалык камсыздоону орнотуу, программалоо принциптери жана көйгөйлөрдү чечүү камтылган.
Preview Waveshare 31882 PCIe to 2-Bay SATA HAT+ for Raspberry Pi 5
Expand your Raspberry Pi 5 storage with the Waveshare 31882 PCIe to 2-Ch SATA HAT+. This plug-and-play adapter adds two SATA 3.0 (6 Gbps) ports, featuring dual LEDs, EEPROM, and flexible power options for DIY NAS and media server projects.
Preview Waveshare e-Paper Driver HAT Колдонуучунун колдонмосу: SPI E-Paper дисплейлерин Raspberry Pi, Arduino, STM32ге туташтыруу
Waveshare e-Paper Driver HAT үчүн колдонуучу колдонмосу, анын өзгөчөлүктөрү, продукт параметрлери, интерфейстин спецификациялары жана колдоого алынган электрондук кагаз моделдери. Raspberry Pi, Arduino жана STM32 иштеп чыгуу такталарын орнотуу боюнча көрсөтмөлөрдү камтыйт.