1. Introduction
The RAK2287/RAK5146 Pi HAT is a specialized converter board designed to facilitate the connection of RAKwireless LPWAN Concentrator Modules (specifically the RAK2287 and RAK5146) to a Raspberry Pi. This HAT (Hardware Attached on Top) board, identified as RAK2003 PI HAT Ver.B, enables Raspberry Pi devices to function as LoRaWAN gateways, expanding their capabilities for IoT applications.
This manual provides essential information for setting up, operating, and maintaining your RAK2287/RAK5146 Pi HAT.

Figure 1: RAK2287 Pi HAT connected to a Raspberry Pi, highlighting compatibility with RPi 3 B+ and RPi 4.
2. Safety Information
- Always handle the board with care to avoid electrostatic discharge (ESD) damage.
- Ensure the Raspberry Pi is powered off and disconnected from its power source before attaching or detaching the Pi HAT.
- Do not expose the device to moisture, extreme temperatures, or corrosive environments.
- Use only compatible power supplies for your Raspberry Pi.
- Refer to the Raspberry Pi documentation for additional safety guidelines.
3. Package Contents
The standard package for the RAK2287/RAK5146 Pi HAT typically includes:
- 1x RAK2287/RAK5146 Pi HAT (RAK2003 PI HAT Ver.B)
- Mounting hardware (standoffs and screws, if applicable)
*Note: The RAK2287 or RAK5146 LPWAN Concentrator Module and Raspberry Pi are sold separately and are required for full functionality.
4. Product Overview
The RAK2287/RAK5146 Pi HAT is a compact board designed to seamlessly integrate LPWAN concentrator modules with Raspberry Pi. It features a PCIe slot for the concentrator module and a 40-pin GPIO header for connection to the Raspberry Pi.
4.1 Key Features
- RPi form factor for easy integration.
- Compatible with Raspberry Pi 3 B+ and Raspberry Pi 4.
- Supports RAK2287 and RAK5146 LPWAN concentrator modules (SPI versions only).
- Provides necessary power and data interfaces for the concentrator module.
4.2 Component Identification

Figure 2: Top view of the RAK2003 Pi HAT (Ver.B) showing the module slot and GPIO pins.

Figure 3: Bottom view of the RAK2003 Pi HAT, including the RAKwireless logo and micro USB port.
Video 1: A 360-degree view of the RAK2003 Pi HAT, showcasing its design and connectors.
5. Setup Instructions
Follow these steps to properly install the RAK2287/RAK5146 Pi HAT and your concentrator module onto a Raspberry Pi.
- Prepare Raspberry Pi: Ensure your Raspberry Pi is powered off and disconnected from all power sources.
- Install Concentrator Module: Carefully insert your RAK2287 or RAK5146 LPWAN Concentrator Module (SPI version) into the PCIe slot on the RAK2003 Pi HAT. Ensure it is seated firmly.
- Attach Pi HAT: Align the 40-pin GPIO header of the RAK2003 Pi HAT with the GPIO pins on your Raspberry Pi. Gently press down until the HAT is securely connected.
- Secure with Standoffs (Optional): If included, use the provided standoffs and screws to secure the Pi HAT to the Raspberry Pi for added stability.
- Connect Antenna: Attach the appropriate LoRa antenna to the concentrator module's antenna connector.
- Power On: Reconnect the power supply to your Raspberry Pi. The system should now recognize the attached concentrator module.
Important Note: The RAK2287/RAK5146 Pi HAT is compatible only with the SPI version of the RAK2287 and RAK5146 LPWAN concentrators. Verify your module version before installation.
6. Operating Instructions
Once the RAK2287/RAK5146 Pi HAT and concentrator module are physically installed, software configuration is required to enable LoRaWAN gateway functionality.
- Operating System: Ensure your Raspberry Pi is running a compatible operating system (e.g., Raspberry Pi OS).
- Driver Installation: Install the necessary drivers and libraries for your specific RAK2287 or RAK5146 concentrator module. Refer to the RAKwireless documentation for detailed instructions on driver installation and software setup.
- LoRaWAN Gateway Software: Configure a LoRaWAN gateway software stack (e.g., ChirpStack, The Things Stack packet forwarder) on your Raspberry Pi to communicate with the concentrator module and forward LoRaWAN packets.
- Network Configuration: Configure your gateway's network settings, including LoRaWAN frequency plan, gateway ID, and connection to a LoRaWAN Network Server.
For detailed software setup and configuration, please refer to the official RAKwireless documentation and application notes available on their website.
7. Maintenance
- Cleaning: Keep the board clean and free from dust. Use a soft, dry brush or compressed air for cleaning. Avoid using liquids.
- Firmware Updates: Regularly check for firmware updates for your RAK2287/RAK5146 concentrator module and Raspberry Pi operating system to ensure optimal performance and security.
- Environmental Conditions: Operate the device within its specified temperature and humidity ranges to prevent damage.
8. Troubleshooting
- Issue: Concentrator module not detected by Raspberry Pi.
- Ensure the Pi HAT is correctly seated on the Raspberry Pi's GPIO pins.
- Verify that the concentrator module is firmly inserted into the PCIe slot on the HAT.
- Check if the correct drivers for the concentrator module are installed on the Raspberry Pi.
- Confirm that you are using an SPI version of the RAK2287 or RAK5146 module, as the HAT is only compatible with SPI versions.
- Issue: No LoRaWAN packets are being forwarded.
- Verify the antenna is properly connected.
- Check the LoRaWAN gateway software configuration (e.g., frequency plan, gateway ID, network server connection).
- Ensure there are LoRaWAN end devices within range and transmitting.
9. User Tips
- HNT Mining: This Pi HAT and its compatible concentrator modules are primarily designed for general LoRaWAN data transfer and gateway applications. They are generally not recommended for Helium (HNT) mining, which often requires specific authorized hardware for Proof-of-Coverage (PoC). For HNT mining, consider purchasing equipment explicitly authorized for that purpose.
- SPI Version Only: Always double-check that your RAK2287 or RAK5146 LPWAN concentrator module is the SPI version, as this Pi HAT is exclusively compatible with SPI variants.
10. Specifications
| Feature | Specification |
|---|---|
| Model | RAK2003 PI HAT Ver.B |
| Compatible Modules | RAK2287 (SPI version), RAK5146 (SPI version) LPWAN Concentrator Modules |
| Compatible Host | Raspberry Pi 3 B+, Raspberry Pi 4 |
| Dimensions (L x W x H) | 65mm x 55mm x 18mm (±2mm) |
| Weight | 22.7g |
| Interface to RPi | 40-pin GPIO header |
| Interface for Module | PCIe slot |
11. Documentation and Support
For further technical details, advanced configurations, and software guides, please refer to the official RAKwireless documentation:
- RAK2287 Pi Hat Datasheet: Download PDF
- RAKwireless Documentation Portal: Visit the RAKwireless website for comprehensive guides, tutorials, and community support.
If you encounter issues not covered in this manual or the online documentation, please contact RAKwireless customer support.