1. Introdução
The Waveshare RM502Q-AE 5G HAT is an expansion board designed for Raspberry Pi and other host boards, enabling 5G/4G/3G cellular communication. It features an M.2 B KEY slot for compatible 5G modules, multiple antenna interfaces, and various control pins for flexible integration. This manual provides essential information for setting up, operating, and maintaining your 5G HAT.
An assembled view of the Waveshare RM502Q-AE 5G HAT connected to a Raspberry Pi (not included), showcasing the module with four antennas attached. This image illustrates the compact form factor and connectivity options.
2. Conteúdo da embalagem
Por favor, verifique se todos os itens listados abaixo estão incluídos em seu pacote. Note: The 5G module (e.g., RM502Q-AE) is typically sold separately and is not included in the standard HAT package.
This image displays all components typically included in the package: 1. M.2 TO 4G/5G HAT, 2. 5G Module (for reference only, not included), 3. Antennas (4 pcs), 4. IPEX adapter cables (4 pcs), 5. GNSS antenna, 6. 2*20PIN pin header, 7. 5V 3A Type-C power adapter, 8. Dual plug USB3.0 cable, 9. USB3.0 adapter, 10. USB2.0 adapter, 11. SMA protective caps (4 pcs), and 12. Screws pack.
- 1x M.2 TO 4G/5G HAT
- 4 antenas
- 4x IPEX adapter cables
- 1x GNSS antenna
- 1x 2*20PIN pin header
- 1x 5V 3A Type-C power adapter
- 1x Dual plug USB3.0 cable
- 1x USB3.0 adapter
- 1x USB2.0 adapter
- 4x SMA protective caps
- 1x Screws pack
3. Produto acabadoview e Características
The RM502Q-AE 5G HAT is designed for robust and high-speed cellular connectivity. Key features include:
- Extensive Protocol Support: Integrates various network protocols with multi-driver and software support, compatible with Windows, Linux, and Android operating systems.
- High-Speed USB Connectivity: Features a USB 3.1 port (USB 2.0 compatible) for connecting to PCs, Raspberry Pi, or Jetson Nano host boards, enabling high-speed 5G communication.
- Standard M.2 B KEY Slot: Compatible with different 5G modules such as RM500U-CN, RM500Q-GL, RM500Q-AE, and RM502Q-AE series.
- Flexible Control Pins: Onboard UART, PWR, and RST control pins with a built-in voltage level translator, enabled via DIP switch, for use with hosts like Raspberry Pi or Arduino.
- Dedicated Power Supply: An onboard USB-C connector, enabled via switch, allows for a standalone power supply to the module, ensuring stable and flexible power delivery for higher loads.
- Controles fáceis de usar: Includes an onboard power supply on/off switch, reset button, and LED indicator for easy module management and status monitoring.
- Dual SIM Card Support: Two SIM card slots offer dual card single standby functionality, switchable via AT command.
- Gerenciamento eficiente de energia: High-efficiency power supply circuit provides up to 3A output current.
A comprehensive diagram labeling all key components on the Waveshare RM502Q-AE 5G HAT board, including the Raspberry Pi GPIO header, DIP switches, M.2 slot, SIM card slots, USB3.1 port, USB Type-C port, audio jack, antenna connectors, reset button, power supply switch, LED indicator, cooling fan, USB2.0 interface pads, NAUB810X Audio Chip, and fan header.
4. Especificações
Below are the general specifications for the Waveshare RM502Q-AE 5G HAT and compatible modules. Specific performance may vary based on the installed 5G module and network conditions.
| Recurso | Descrição |
|---|---|
| Modelo | RM502Q-AE 5G HAT |
| Conectividade | 5G/4G/3G (via M.2 module), USB 3.1 (compatible with USB 2.0) |
| Slot M.2 | Standard M.2 B KEY, compatible with RM500U-CN / RM500Q-GL / RM500Q-AE / RM502Q-AE series |
| Compatibilidade do host | Raspberry Pi, PC, Jetson Nano, Arduino |
| Suporte ao sistema operacional | Windows, Linux, Android |
| Slots de cartão SIM | 2 (dual card single standby, switchable via AT command) |
| Fonte de energia | USB-C (5V 3A recommended), USB 3.1 port |
| Suporte GNSS | GPS, BeiDou, Glonass, Galileo (module dependent) |
This table provides a comparison of various compatible M.2 B KEY 5G modules (RM500U-CN, RM500Q-GL, RM500Q-AE, RM502Q-AE, RM520N-GL series), including their region/provider, operating temperature, extension temperature, dimensions, weight, power supply, power consumption, frequency bands (5G NR NSA/SA, LTE-FDD/TDD, UMTS, GNSS), and data rates. Refer to this table for detailed module specifications.
This image includes a detailed technical drawing showing the outline dimensions of the HAT in millimeters (85.00 mm x 56.70 mm).
5. Guia de configuração
5.1 Instalação de Hardware
- Install 5G Module: Carefully insert your compatible M.2 5G module into the M.2 B KEY slot on the HAT. Secure it with the provided screw.
- Anexe antenas: Connect the four cellular antennas to the SMA connectors on the HAT. Connect the GNSS antenna to its dedicated connector. Ensure all connections are finger-tight.
- Insira o cartão SIM: Open the SIM card slot cover and insert your activated Nano-SIM card(s). The HAT supports two SIM cards for dual standby.
- Connect to Host Board:
- Para Framboesa Pi: Align the 40-pin GPIO header of the HAT with the Raspberry Pi's GPIO pins and gently press down to connect. Ensure proper alignment to avoid damage.
- For PC/Jetson Nano: Use the provided USB 3.0 cable to connect the HAT's USB 3.1 port to your host device.
- For CM4-IO Base: Use the purpose-made USB adapter for connection.
- Conexão de energia:
- If using with Raspberry Pi, the HAT can draw power from the Pi's GPIO.
- For standalone operation or if additional power is required, connect the 5V 3A Type-C power adapter to the HAT's USB-C port. Ensure the power switch on the HAT is set to the appropriate source (USB or external Type-C).
This image shows various connection examples: the HAT connected to a laptop via USB, a Raspberry Pi 4B, a Raspberry Pi 3B+, and a CM4-IO Base.
5.2 Configuração de Software
The RM502Q-AE 5G HAT supports various operating systems including Windows, Linux, and Android. Drivers and software support are typically provided by the 5G module manufacturer (e.g., Quectel). Refer to the module's documentation for specific driver installation and configuration steps.
- Instalação do driver: Install the necessary drivers for your 5G module on your chosen operating system. These are usually available from the module manufacturer's website.
- Configuração de rede: Configure your operating system's network settings to recognize and utilize the 5G modem. This may involve setting up APN (Access Point Name) settings.
- Comandos AT: The module can be controlled and configured using AT commands via a serial interface (UART or USB virtual COM port). Refer to the 5G module's AT command manual for detailed instructions.
6. Instruções de operação
Once the hardware is installed and software configured, you can begin operating the 5G HAT.
- Ligar: Ensure the power supply is connected and the power switch on the HAT is in the 'ON' position. The LED indicator will show the operating status.
- Conexão de rede: The 5G module will attempt to connect to the cellular network. Monitor the LED indicator for network status (e.g., blinking for searching, solid for connected).
- Comunicação de dados: Once connected, your host device (Raspberry Pi, PC, etc.) should be able to access the internet via the 5G connection.
- SIM Card Switching: If using two SIM cards, you can switch between them using specific AT commands. Consult your 5G module's documentation for the relevant commands.
7. Manutenção
Proper maintenance ensures the longevity and reliable operation of your 5G HAT.
- Mantenha limpo: Regularly clean the HAT and its components with a soft, dry cloth. Avoid using liquids or abrasive cleaners.
- Condições ambientais: Operate the HAT within its specified temperature and humidity ranges. Avoid extreme temperatures, direct sunlight, and high moisture environments.
- Cuidados com a antena: Ensure antennas are securely connected and not bent or damaged. Proper antenna placement is crucial for optimal signal reception.
- Atualizações de firmware: Periodically check the 5G module manufacturer's website for firmware updates. Keeping the module firmware up-to-date can improve performance and stability.
- Ventilador de resfriamento: The HAT includes a high-speed cooling fan. Ensure it is free from obstructions to maintain effective heat dissipation for both the Raspberry Pi and the 5G module.
This image shows a close-up of the high-speed cooling fan on the HAT, designed for better heat dissipation.
8. Solução De Problemas
If you encounter issues with your RM502Q-AE 5G HAT, refer to the following common troubleshooting steps:
- Sem energia/LED desligado:
- Check power connections. Ensure the USB-C power adapter is correctly plugged in or the HAT is properly seated on the Raspberry Pi.
- Verify the power switch on the HAT is in the 'ON' position and set to the correct power source.
- Módulo não detectado:
- Ensure the M.2 5G module is correctly inserted and secured in its slot.
- Verify the USB cable connection to the host device. Try a different USB port or cable.
- Check if the necessary drivers for the 5G module are installed on your operating system.
- Sem conexão de rede:
- Confirm that the SIM card is correctly inserted and activated with a data plan.
- Check antenna connections. Ensure all cellular antennas are securely attached.
- Verify APN settings in your operating system's network configuration.
- Ensure you are in an area with 5G/4G/3G network coverage.
- Use AT commands to query the module's network registration status.
- Slow Data Speeds:
- Check antenna placement and orientation for optimal signal strength.
- Ensure the 5G module firmware is up-to-date.
- Verify network congestion in your area.
- Superaquecimento:
- Ensure the cooling fan is operating correctly and not obstructed.
- Provide adequate ventilation around the HAT and host device.
9. Garantia e Suporte
For warranty information, please refer to the terms and conditions provided by Waveshare at the time of purchase or visit the official Waveshare website. Technical support and additional resources, including detailed documentation and software downloads, can be found on the Waveshare product page for the RM502Q-AE 5G HAT.
Recursos on-line:
- Waveshare Oficial Website
- Refer to the specific 5G module manufacturer's website (e.g., Quectel) for module-specific documentation and drivers.





