ELECROW LR1302 LoRaWAN HAT

Contents

Elecrow LR1302 LoRaWAN HAT for Raspberry Pi

User Instruction Manual

1. Introduction

The Elecrow LR1302 LoRaWAN HAT is an expansion board designed for Raspberry Pi (compatible with Raspberry Pi 1, 2, 3, 4, and 5 series). It facilitates the integration of an SX1302-based LR1302 LoRaWAN gateway module, transforming your Raspberry Pi into a compact and powerful LoRaWAN gateway. This HAT also incorporates a GPS module and an RTC (Real-Time Clock) for enhanced timing and positioning accuracy, crucial for LoRaWAN applications.

It features a standard 52-pin mini-PCIe socket for the LR1302 module and connects to the Raspberry Pi via a 40-pin GPIO header. A built-in cooling fan ensures optimal performance by dissipating heat from the Raspberry Pi. This HAT is ideal for developing LoRaWAN solutions in smart agriculture, smart cities, and various other IoT scenarios.

2. Product Overview

2.1 Key Features

  • Compatibility: Standard Raspberry Pi HAT form factor, compatible with Raspberry Pi 1, 2, 3, 4, and 5 series.
  • Integrated GPS & RTC: Provides location information acquisition, positioning, and real-time clock functions for precise timing.
  • Simplified Integration: Converts the 52-pin mini-PCIe interface to a 40-pin Raspberry Pi GPIO connector for easy setup.
  • Built-in Cooling Fan: Effectively dissipates heat to maintain Raspberry Pi performance.
  • Compact Design: Space-saving form factor for seamless integration with Raspberry Pi.

2.2 Component Identification and Dimensions

Top and bottom view of Elecrow LR1302 LoRaWAN HAT with labeled components and dimensions
Figure 1: LR1302 LoRaWAN HAT Component Layout and Dimensions
Top View Labels: Type-C port, LoRa-ANT connector, U.FL Interface, GPS-ANT connector, Mini PCIe Socket (57.2mm width, 65mm length).
Bottom View Labels: Vertical Double Row Female header (for Raspberry Pi), Fan, CR1220 Battery Socket, Fan Socket.

3. Package Contents

Please check the package for the following items:

Contents of the Elecrow LR1302 LoRaWAN HAT package
Figure 2: Package Contents
  • 1x LR1302 LoRaWAN HAT for RPI
  • 1x GPS+BD Dual-mode Antenna
  • 1x LoRa Antenna (868MHz or 915MHz, depending on model)
  • 1x IPEX Cable
  • 1x Screw Pack (includes screws and standoffs)

Note: The LR1302 LoRaWAN Gateway Module and Raspberry Pi board are NOT included in this package and must be purchased separately.

4. Setup Instructions

4.1 Hardware Installation

  1. Prepare Raspberry Pi: Ensure your Raspberry Pi is powered off and disconnected from any power source.
  2. Install LR1302 Gateway Module: Carefully insert your LR1302 LoRaWAN Gateway Module (not included) into the Mini PCIe Socket on the LR1302 LoRaWAN HAT. Secure it with the provided screws if necessary.
  3. Attach HAT to Raspberry Pi: Align the 40-pin female header on the LR1302 LoRaWAN HAT with the GPIO pins on your Raspberry Pi. Gently press down until the HAT is firmly seated. Use the provided standoffs and screws to secure the HAT to the Raspberry Pi for stability.
  4. Install CR1220 Battery: Insert a CR1220 coin cell battery into the CR1220 Battery Socket on the bottom of the HAT. Ensure correct polarity (+ side up). This battery powers the Real-Time Clock (RTC).
  5. Connect Antennas:
    • Connect the LoRa Antenna to the LoRa-ANT connector (SMA type).
    • Connect the GPS+BD Dual-mode Antenna to the GPS-ANT connector (SMA type).
    • If your LR1302 module requires it, connect the IPEX cable between the module's U.FL connector and the U.FL Interface on the HAT.
  6. Connect Fan (Optional/If not pre-connected): If the cooling fan is not pre-connected, plug its connector into the Fan Socket on the bottom of the HAT.
Elecrow LR1302 LoRaWAN HAT fully assembled on a Raspberry Pi with antennas
Figure 3: Fully Assembled LR1302 LoRaWAN Gateway

4.2 Software Setup

Detailed software setup instructions, including driver installation, LoRaWAN gateway software configuration (e.g., Semtech Packet Forwarder, ChirpStack), and GPS/RTC setup, are available on the official Elecrow Wiki. Please refer to the Wiki for the most up-to-date and comprehensive software guides.

5. Operating Instructions

5.1 Powering On

Once the hardware and initial software configurations are complete, you can power on your Raspberry Pi. The LR1302 LoRaWAN HAT draws power directly from the Raspberry Pi's GPIO header.

5.2 Indicator Lights

The HAT features several indicator LEDs to provide status information:

  • PWR (Green): Indicates that the HAT is receiving power.
  • TXD (Green): Flashes when data is being transmitted.
  • RXD (Blue): Flashes when data is being received.
  • GPS (Green): Indicates GPS module status (e.g., solid when a fix is acquired, flashing when searching).

5.3 LoRaWAN Gateway Functionality

The LR1302 LoRaWAN HAT, in conjunction with the LR1302 module and Raspberry Pi, acts as a LoRaWAN gateway. It receives data from LoRa-enabled end nodes and forwards it to a LoRaWAN Network Server (e.g., The Things Network, ChirpStack) via an internet connection (Ethernet or Wi-Fi from the Raspberry Pi).

LoRaWAN Network Topology Diagram
Figure 4: LoRaWAN Network Topology
This diagram illustrates how the LoRaWAN Gateway connects LoRa nodes to a cloud server via a router.

5.4 GPS and RTC Functionality

The integrated GPS module provides precise location data for the gateway and can be used for time synchronization. The Real-Time Clock (RTC), backed by the CR1220 battery, maintains accurate timekeeping even when the Raspberry Pi is powered off, which is critical for LoRaWAN timing requirements.

6. Maintenance

6.1 Cooling Fan

The built-in cooling fan operates automatically to keep the Raspberry Pi and HAT components at optimal temperatures. Ensure the fan is free from obstructions and dust for efficient cooling.

6.2 CR1220 Battery Replacement

The CR1220 battery powers the RTC. If the RTC loses time when the Raspberry Pi is powered off, it may be time to replace the battery. Carefully remove the old battery and insert a new CR1220 battery, observing polarity.

7. Troubleshooting

  • No Power (PWR LED off): Ensure the Raspberry Pi is powered correctly. Check the connection between the HAT and the Raspberry Pi's GPIO header.
  • LoRaWAN Communication Issues: Verify antenna connections. Check software configuration (packet forwarder, network server settings). Ensure the LR1302 module is correctly seated.
  • GPS Not Acquiring Fix: Ensure the GPS antenna is connected and has a clear view of the sky. Check GPS software configuration.
  • RTC Time Incorrect: Verify the CR1220 battery is installed correctly and has sufficient charge. Check RTC software configuration.
  • Overheating: Ensure the cooling fan is spinning and not obstructed. Check for excessive CPU usage on the Raspberry Pi.

For more detailed troubleshooting, consult the Elecrow Wiki or relevant community forums for LoRaWAN and Raspberry Pi.

8. Specifications

ParameterValue
Power Interface40 Pin Header or USB (via Raspberry Pi)
ClockLogical master clock and real-time clock functions
FanBuilt-in (DC 5V)
Raspberry Pi 40-Pin Headers SupportRaspberry Pi 5, 4 B, 3 A+/B/B+, 2 B, A+/B+
PCIe Header52 Pin Mini-PCIe Header
GNSSSupport GPS L1, GLONASS L1, BeiDou B1
Indicator LightsPWR: Green, TXD: Green, RXD: Blue, GPS: Green
BatteryCR1220 (for RTC)
Operating Voltage5V (supplied by Raspberry Pi)
Dimensions65mm x 57.2mm
Weight28.8g

8.1 GPIO Pinout

Raspberry Pi GPIO to LR1302 HAT Pin Mapping
Figure 5: Raspberry Pi GPIO to LR1302 HAT Pin Mapping
This table details the Raspberry Pi GPIO pins, their corresponding LR1302 Pi Hat names, I/O types, and functions.

9. User Tips

  • Always refer to the official Elecrow Wiki for the latest software guides and examples.
  • When setting up your LoRaWAN gateway, ensure your chosen frequency band (868MHz or 915MHz) matches the regulations in your region and the LoRaWAN end devices you intend to use.
  • For optimal GPS performance, place the GPS antenna in an outdoor location with a clear view of the sky.
  • Regularly check for updates to Raspberry Pi OS and LoRaWAN gateway software to ensure security and performance.

10. Support and Resources

For further assistance, detailed guides, and technical documentation, please refer to the following resources: Source · https://manuals.plus/ae/1005006343439124

© 2023 Elecrow. All rights reserved.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Rate this product if you’ve used it

Was this page helpful?