HackerGadgets 4-in-1 Pi 5 HAT: RTL2832U, SX1262, GPS & RTC

The Guangzhou-based HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT is a 4-in-1 RF expansion board for Raspberry Pi. It eliminates external USB dongles, though it still requires an internal USB bridge and caps SDR reception at 1.74 GHz.
U.FL version mounted on Raspberry Pi 5
How Does the HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT Handle Multi-Mode RF on the Raspberry Pi 5 Without an SMI Interface?
The HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT routes its Realtek RTL2832U + Rafael Micro R860 RF front-end over USB while splitting LoRa, GNSS, and RTC across the 40-pin GPIO header's SPI, UART, and I2C buses, bypassing the Raspberry Pi 5's missing SMI interface to fit all four peripherals onto a single board.
For edge spectrum monitoring or off-grid relay nodes, the standard workaround has been stacking a LoRa/GPS HAT on a Pi and hanging an RTL-SDR dongle off a side USB port. That setup makes enclosure integration messy, leaves connectors prone to vibration failure, and complicates EMI shielding. Existing boards like the Dragino LoRa/GPS HAT, Docker Pi IoT Node(A), and the newer RAKwireless WisMesh Pi HAT RAK6421 cover telemetry and positioning, but none of them integrate an SDR chain.
Parallel-bus alternatives like the CaribouLite RPi HAT take a different route, but they hit a generational wall. Compared to the CaribouLite RPi HAT, the HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT falls back to USB for SDR baseband data while integrating a Semtech SX1262, GNSS, and RTC—solving both the Raspberry Pi 5 SMI incompatibility and the lack of HF coverage, at the cost of occupying one host USB port and capping upper frequency reception at 1.74 GHz.
From an RF hardware standpoint, the board sticks to proven, practical engineering:
- Wideband and HF Coverage: The RTL2832U + R860 pair spans 100 kHz – 1.74 GHz and supports 100 kHz – 28.8 MHz HF direct sampling. Beyond standard ADS-B tracking and NOAA weather satellite reception, the same hardware handles radiosonde HF decoding and amateur radio monitoring.
- Dual TCXOs and Software Bias Tee: Both the SDR front-end and the Semtech SX1262 LoRa transceiver (860 – 960 MHz, up to 22 dBm output) use near-zero-drift TCXOs. For narrowband LoRa links and satellite Doppler tracking, dedicated TCXOs keep frequency drift in check across outdoor temperature swings. The SDR path also includes a software-controlled 5V Bias Tee (with a side status LED) to power active antennas or external LNAs directly.
- RF Connector Options: The board breaks out three antenna ports and ships in either U.FL or SMA variants. U.FL works best for tight industrial enclosures using internal pigtails to panel-mount bulkheads, while SMA is the obvious pick for bench debugging and frequent antenna swaps.
Top view of the SMA version connected to a Raspberry Pi 5
How Does the HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT Prevent Bus Contention and Power Sag on a Shared 40-Pin Header?
The HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT uses a bottom-mounted 6-position DIP switch to physically isolate auxiliary control pins and draws 5V directly from the 40-pin GPIO header, preventing pin-muxing conflicts when stacking peripherals and setting clear power-budget requirements for RF transmit bursts.
Packing four subsystems into a Raspberry Pi HAT+ footprint can easily lock up your GPIO header. Beyond the primary data buses—LoRa on SPI, GNSS on UART, RTC on I2C, and RTL-SDR routed back to a Pi USB port via either a USB-C port or an internal USB connector (sharing the same pins)—auxiliary lines like GNSS PPS, reset, enable, and RTC interrupts all compete for general-purpose I/O.
The 6-position DIP switch on the underside hands hardware-level pin routing back to the engineer:
- Switch 1 (GPS Battery): ON connects the RTC backup battery / OFF disconnects (NC), allowing you to preserve GNSS ephemeris data as needed.
- Switch 2 (GPS PPS): ON routes to GPIO6 / OFF disconnects, freeing GPIO6 if high-precision PPS time sync isn't required.
- Switch 3 (GPS Mode): ON selects GPS + BeiDou / OFF selects GPS + GLONASS, letting you configure the constellation at the hardware level for regional deployments.
- Switch 4 (GPS Reset): ON routes to GPIO22 / OFF disconnects.
- Switch 5 (GPS Enable): ON routes to GPIO23 / OFF disconnects (enabled by default).
- Switch 6 (RTC INT): ON routes to GPIO16 / OFF disconnects.
If your build requires stacking additional sensors or a custom carrier board, you don't need to cut PCB traces—flipping the unused switches to NC immediately frees GPIO6, 16, 22, and 23. For disconnected logging, the NXP PCF85063A RTC paired with a rechargeable 3V coin cell maintains accurate timekeeping across power cycles. Combined with GNSS PPS and active/passive antenna support, it forms a solid offline timing baseline.
Power is pulled from the 5V GPIO rail. When the SX1262 transmits at 22 dBm while the SDR runs with the 5V Bias Tee active and an active GNSS antenna attached, transient current draw spikes noticeably. Plan on a 5V/5A supply for the Raspberry Pi 5 and at least 5V/3A for the Pi 4B. While it physically mounts onto a Pi Zero or Zero 2 W with a 40-pin header, you will need to verify both mechanical clearance and power headroom before committing to that form factor.
RTL-SDR LoRa GPS RTC HAT installation
Hardware Specifications
| Parameter | HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT Specifications |
|---|---|
| Host Compatibility | Direct mount on Raspberry Pi 3B / 4B / 5; fits Pi Zero / Zero 2 W with 40-pin header (verify height and power budget) |
| Form Factor | Raspberry Pi HAT+; available in U.FL or SMA 3-antenna variants |
| SDR Subsystem | Realtek RTL2832U + Rafael Micro R860; 100 kHz – 1.74 GHz; HF direct sampling 100 kHz – 28.8 MHz; software 5V Bias Tee (with status LED); TCXO |
| LoRa Subsystem | Semtech SX1262; 860 – 960 MHz; max output 22 dBm; TCXO; native Meshtastic support |
| GNSS Subsystem | Unnamed receiver; GPS + BeiDou or GPS + GLONASS (DIP-selectable); PPS support; active/passive antenna compatible |
| RTC Subsystem | NXP PCF85063A + rechargeable 3V coin cell battery |
| Host Bus Allocation | SDR via USB (USB-C or internal USB connector, shared pins); LoRa via SPI; GNSS via UART; RTC via I2C |
| Hardware Controls | 6-position DIP switch (RTC battery, GPS constellation mode, and GPIO6 / 16 / 22 / 23 isolation) |
| Power Requirements | 5V via GPIO header; 5V/5A recommended for Pi 5, 5V/3A for Pi 4 |
| Software Stack | Raspberry Pi OS 64-bit recommended; supports Meshtastic, SDR++, GQRX |
What Is the Linux Driver Bring-Up Effort for the HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT?
The HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT relies on mainstream, well-supported silicon, so bringing up the full stack on Raspberry Pi OS 64-bit requires no out-of-tree kernel modules—just standard bus enablement and freeing up the hardware serial port.
HackerGadgets recommends Raspberry Pi OS 64-bit to ensure clean dependency compatibility across modern RTL-SDR user-space tools (SDR++, GQRX) and Meshtastic. Because the RTL2832U, SX1262, and PCF85063A already have mature Linux ecosystem support, bring-up is strictly a configuration task to clear default OS interface conflicts:
- Enable Core Buses: Edit
/boot/firmware/config.txtto enable I2C, SPI, and UART, bringing up the PCF85063A RTC, SX1262 LoRa transceiver, and GNSS receiver respectively. - Disable the Serial Console (Critical Step): Edit
/boot/firmware/cmdline.txtto remove the serial console entry. On Raspberry Pi Linux images, leaving the serial console active causes kernel boot logs and the login shell to collide with the GNSS NMEA stream on the UART pins, breaking GPS parsing.
Compared to traditional MCU-based (e.g., single-core Cortex-M) off-grid LoRa/GPS nodes, the HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT leverages the Raspberry Pi Linux environment to run user-space DSP tools for real-time waterfall analysis and multi-protocol decoding, at the expense of higher idle power draw and Linux boot latency. That trade-off puts it squarely in the category of line-powered or vehicle-mounted edge gateways and mobile monitoring stations, rather than multi-year battery-powered sleep nodes.
Design-In Boundaries: Ideal Use Cases vs. Hardware Limitations
Before locking this 4-in-1 HAT into a BOM, check your system requirements against these boundaries:
Good Fit
- Raspberry Pi 5 Multi-Mode RF Gateways: Integrated builds running Meshtastic off-grid mesh networking, GNSS timing, and 100 kHz – 1.74 GHz spectrum monitoring (ADS-B, NOAA satellites, radiosonde HF decoding) on one board.
- Outdoor/Vehicle Tracking and Data Logging: Drone, vehicle, or LoRa IoT nodes that need temperature-stable RF (dual TCXOs) and accurate offline timestamping (PCF85063A + PPS).
- Cable-Free Enclosure Consolidation: Prototypes looking to replace fragile "LoRa HAT + external RTL-SDR USB dongle" stacks.
Hard Limitations
- Above-1.74 GHz Spectrum Analysis: SDR reception tops out at 1.74 GHz, ruling out 2.4 GHz and 5.8 GHz bands (for those bands on Pi 4 or older, look at 30 MHz–6 GHz boards like CaribouLite).
- 433 MHz LoRa Deployments: The onboard SX1262 is tuned strictly for 860 – 960 MHz and will not work for 433 MHz sub-GHz networks.
- USB-Constrained Builds: Despite the HAT+ form factor, the RTL-SDR still consumes one host USB port via an internal cable, and the onboard USB-C port shares pins with the internal USB header (they cannot be used simultaneously).
- Tight Power or Height Envelopes: Avoid dropping this onto a Pi Zero / Zero 2 W or under-spec'd power rails without verifying 5V current headroom under simultaneous 22 dBm TX and Bias Tee load.
Full kit with RTL-SDR, LoRa, and GPS SMA antennas
Engineering FAQ
Q: Does the HackerGadgets RTL-SDR/LoRa/GPS/RTC HAT work with the Raspberry Pi 5, and does it require extra cabling?
A: Yes, it mounts directly onto Pi 3B/4B/5, but the RTL-SDR runs over USB and requires connecting the included internal USB cable to a host USB port.
Q: Which GPIO pins are used by the GNSS and RTC, and can they be freed?
A: Beyond I2C, SPI, and UART, it uses GPIO6, 16, 22, and 23—all four can be physically disconnected via the bottom 6-position DIP switch.
Q: Which OS config files must be edited on Raspberry Pi OS 64-bit before using the HAT?
A: Enable I2C, SPI, and UART in /boot/firmware/config.txt, and remove the serial console entry from /boot/firmware/cmdline.txt.
Pricing and Configurations
The RTL-SDR/LoRa/GPS/RTC HAT is available directly from the HackerGadgets store in two configurations:
- Board Only (No Antennas): $84.90
- Full Antenna Kit (Includes three U.FL or SMA antennas): $108.50
Originally published on EmbedSBC — embedded systems, SBC and edge-AI hardware analysis.
原文:https://www.a8q9.cn/en/article/hackergadgets-4-in-1-pi-5-hat-rtl2832u-sx1262-gps-rtc-e69ea6.html



