Raspberry Pi CM5-powered industrial carrier board with built-in 4G LTE (Quectel EC25-E), dual LoRa options (LoRaWAN via Mini-PCIe + onboard LR62E Node), Zigbee (Silicon Labs MGM210P), RS485, and M.2 expansion. The ultimate multi-protocol IoT edge gateway.
See why the HBQ Industrial Gateway delivers more capabilities for demanding IoT deployments than comparable carrier boards.
The HBQ CM5 Gateway integrates the most critical IoT communication protocols on a single industrial-grade carrier board.
Quectel EC25-E module soldered directly on board. Supports download speeds up to 150 Mbps / upload 50 Mbps. SIM card slot included. AT command interface via USB/UART.
EC25-E · Cat 4 · 150MbpsOption 1 — LoRaWAN Gateway: Mini-PCIe slot supports full LoRaWAN gateway modules (RAK5146, WM1302...). Option 2 — LoRa Node (Optional): Onboard LR62E (Wio-SX1262) for direct LoRa node communication via SPI1. Up to 15 km range.
Mini-PCIe LoRaWAN · LR62E Node · SX1262Silicon Labs MGM210P / MGM12P NCP module. Full Zigbee 3.0 support via CPC protocol. Control hundreds of smart home and industrial Zigbee devices.
MGM210P · Zigbee 3.0 · CPCNative RS485 interface for Modbus RTU/ASCII protocols. Connect PLCs, inverters, energy meters, and industrial sensors directly — no external converter required.
RS485 · Modbus · IndustrialM.2 slot supports Hailo-8 AI accelerator. Run real-time object detection, facial recognition, and anomaly detection at the edge with 26 TOPS performance.
Hailo-8 · 26 TOPS · Edge AITwo MIPI CSI/DSI interfaces for simultaneous dual-camera operation. Perfect for stereo vision, multi-angle surveillance, and AI vision applications.
2x MIPI CSI · Vision AI1000Base-T Ethernet port (Trxcom TRJG052GHENL) for reliable wired connectivity. Stable network backbone for gateway applications with high data throughput.
1000M · RJ45 · TrxcomSPI, UART, I2C, 2× USB, USB Type-C, HDMI, SD Card, FAN connector, and DC power jack. Everything you need for peripheral expansion and system integration.
SPI · I2C · UART · HDMIFull schematics, Python examples, and firmware on GitHub. MIT licensed — use freely in your commercial products. Active community and manufacturer support.
MIT · GitHub · Open HWComplete hardware specifications for the HBQ Industrial Base Board for Raspberry Pi CM5 Rev 2.1.
Each communication module is purpose-built for its protocol. Swap, upgrade, or combine to match your exact deployment needs.
LTE Cat 4 with 150/50 Mbps. FCC/CE/UKCA certified. Supports global LTE bands. Control via AT commands on USB/UART.
Gateway: Mini-PCIe slot for full LoRaWAN modules (RAK5146, WM1302). Node: Onboard LR62E (SX1262) for LoRa node via SPI1, up to 15 km LoS.
Bottom-side mounted. Zigbee 3.0 NCP via CPC. Build full mesh coordinator with cpcd daemon. Dedicated reset + programming port.
Drop-in M.2 AI NPU. Enables real-time object detection, face recognition, and anomaly detection at the edge without cloud dependency.
The CM5 module sits at the heart of the gateway, managing all communication modules and I/O peripherals.
From unboxing to a live 4G connection with LoRa and Zigbee active — follow these steps.
Flash Raspberry Pi OS (64-bit) to CM5 eMMC or SD card using rpiboot + Imager.
Enable SPI1 for LoRa and configure GPIO for 4G power control in /boot/config.txt.
Run the EC25 power-on script and bring up the wwan0 interface for cellular data.
Start cpcd for Zigbee, run LoRa Python examples, and configure your cloud endpoint.
Comprehensive documentation for all modules, interfaces, and configuration options.
The HBQ CM5 Industrial IoT Gateway is a carrier board designed for the Raspberry Pi Compute Module 5 (CM5). It provides a comprehensive set of industrial communication interfaces—4G LTE, LoRaWAN, Zigbee, RS485—on a single compact board suitable for industrial IoT deployments, smart building automation, agriculture, and edge AI applications.
• Quectel EC25-E: LTE Cat 4 modem, onboard, with nano SIM slot
• LoRaWAN Gateway: Mini-PCIe slot for LoRaWAN concentrator (RAK5146, WM1302...)
• LoRa Node (Optional): Onboard LR62E / Wio-SX1262, SPI1, up to 15 km
• MGM210P / MGM12P Zigbee: Silicon Labs NCP CPC on bottom side
• RS485: Industrial serial for Modbus RTU/ASCII
• M.2 B-Key: Expandable with NVMe or AI accelerator (M-Key optional)
• Dual MIPI CSI/DSI: Dual camera / display interfaces
• 1000M Ethernet: Trxcom TRJG052GHENL GbE controller
The Quectel EC25-E is soldered directly on the HBQ board and connected to the CM5 via USB. A nano SIM card tray is accessible from the top side.
The HBQ CM5 board supports two independent LoRa configurations. You can use one or both simultaneously depending on your deployment requirements.
The onboard Mini-PCIe slot accepts standard LoRaWAN concentrator modules such as the RAK5146 (SX1303-based) or Seeed WM1302. This turns the CM5 Gateway into a full multi-channel LoRaWAN network server capable of serving hundreds of end-nodes simultaneously.
The LR62E module (Wio-SX1262) can be optionally populated directly on the board. It connects to the CM5 via SPI1 and operates as a single-channel LoRa node — ideal for sending sensor data, testing LoRa links, or acting as a range extender/repeater.
The Zigbee module (MGM210PA22JIA2R or MGM12P22F1024GA) is mounted on the bottom side of the board. It runs as a Network Co-Processor (NCP) and communicates with the CM5 via the CPC protocol.
The onboard RS485 interface enables direct communication with industrial equipment such as PLCs, variable frequency drives, energy meters, flow sensors, and any Modbus RTU/ASCII compatible device.
The HBQ CM5 Gateway supports the Hailo-8 AI accelerator module via the M.2 slot. This enables real-time AI inference at the edge without cloud dependency — ideal for computer vision, predictive maintenance, and smart surveillance.
• Object Detection: YOLOv5/v8 at 30+ FPS
• Face Recognition: Real-time biometric access control
• Anomaly Detection: Industrial predictive maintenance
• Smart Counting: People / vehicle / object counting
| Signal | GPIO (BCM) | Direction | Description |
|---|---|---|---|
| EC25 Power Key | GPIO4 | OUT | Pulse LOW to power on EC25-E |
| EC25 Reset | GPIO17 | OUT | Active LOW reset for EC25 |
| Zigbee Reset | GPIO27 | OUT | Hardware reset for Zigbee NCP |
| SPI1 CLK | GPIO21 | OUT | LoRa SPI1 clock |
| SPI1 MOSI | GPIO20 | OUT | LoRa SPI1 MOSI |
| SPI1 MISO | GPIO19 | IN | LoRa SPI1 MISO |
| SPI1 CS0 | GPIO18 | OUT | LoRa chip select |
| RS485 DE/RE | GPIO24 | OUT | RS485 direction control |
| FAN PWM | GPIO12 | OUT | 5V fan speed control |
| 3.3V Power | Pin 1/17 | PWR | 3.3V supply output |
| 5V Power | Pin 2/4 | PWR | 5V supply output |
The board is powered via a DC barrel jack. Recommended input: 12V DC with at least 3A capacity when all modules are active (4G + LoRa + Zigbee + CM5).
| Configuration | Approx. Current @ 12V |
|---|---|
| CM5 idle | ~0.4A |
| CM5 + 4G LTE active | ~1.2A |
| All modules active | ~1.8–2.2A |
| With Hailo-8 inference | ~2.5–3.0A |
A large passive heatsink is included on the CM5 area. A 5V PWM fan connector is available for active cooling in high-ambient or high-load deployments.
1. Fork the repo and create a branch: feat/..., fix/..., docs/...
2. Make focused changes with clear commit messages
3. Update README or docs if behavior changes
4. Open a Pull Request with description, motivation, and testing steps
Use GitHub Issues with: OS version, board revision, module type, full logs, and steps to reproduce. For security issues, email [email protected] privately.
This project is MIT licensed. You are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies. Copyright (c) 2025 HBQ Technology.
Order the HBQ CM5 Industrial IoT Gateway with your choice of modules. International shipping available.