---
title: "5G Development Kit (v1)"
description: "The first 5G Development Kit: the M.2 5G HAT for Raspberry Pi 4 with a Quectel RM50xQ or Telit FN980 module, its ECM connection, pinout and specifications."
url: "https://docs.sixfab.com/cellular/5g-development-kit-v2/earlier-version/"
last_updated: "2026-11-26"
---

# 5G Development Kit (v1)

The first 5G Development Kit: the Sixfab M.2 5G HAT for the Raspberry Pi 4 with a Quectel RM50xQ or Telit FN980 module. Its power rules, ECM connection, pinout, solder jumpers, specifications and documents, kept for the kits in use.

The kit pairs a Raspberry Pi 4 with the Sixfab M.2 5G HAT, five antennas, an enclosure with a fan, heatsinks and a 5 V, 3 A USB-C power supply for the HAT; the module was optional. The [5G Development Kit v2](https://docs.sixfab.com/cellular/5g-development-kit-v2/) replaced the kit: the other pages of this section describe the 5G HAT v2, not this HAT.

## Differences from 5G HAT v2

Where the two HATs differ, this page applies to the first kit:

| Feature | M.2 5G HAT (this kit) | 5G HAT v2 |
| --- | --- | --- |
| Host | Raspberry Pi 4 | Raspberry Pi 5 or 4 |
| Module supply | 3.3 V or 3.7 V, set with the Module Voltage Select switch | 4.2 V |
| SIM | Micro SIM socket | Nano SIM socket and an onboard eSIM |
| GPIO13 | Module reset | SIM select |
| HAT power off | GPIO16 | GPIO22 |
| GPIO26 (module FCP) | HIGH on, LOW off | LOW on, HIGH off |
| Connection in the quickstart | ECM: the module appears as `usb0` | QMI or MBIM through the kernel drivers or NetworkManager |

## Power

The HAT is rated 5 V DC, 3.0 A and takes its power from its own USB-C adapter, in addition to the Raspberry Pi’s power supply. Fit both the heatsink and the cooling fan; the Raspberry Pi and the module need them to work properly.

### Module voltage

> [!WARNING]
> **Set module voltage**
>
> 5G modules run at different voltages, so the HAT’s module supply is selectable. Check the operating voltage in the module’s datasheet and set the Module Voltage Select switch before you insert the module: 3.7 V for the Quectel modules, 3.3 V for the Telit modules.

### Switching module on and off

- With the FCP (Full Card Power) switch: ON or OFF.
- From software: drive GPIO26 HIGH (on) or LOW (off).

> [!CAUTION]
> **Switch module on and off in order**
>
> - Before you power the system, set the FCP switch to OFF and keep GPIO26 LOW, its default. After the Raspberry Pi has booted, set the FCP switch to ON or drive GPIO26 HIGH.
> - Before you power down, set the FCP switch to OFF and drive GPIO26 LOW. Wait at least 10 seconds after the FCP LED goes off, then unplug the HAT’s power adapter; otherwise the module can be damaged.

The FCP LED is lit while the module is on. A module takes more than 30 seconds on average to boot.

## Connect to internet

These steps put the Quectel RM50xQ in ECM mode: the module then appears as a `usbX` network interface. The USB bridge must be connected.

**Required**

**Hardware**

- **Raspberry Pi 4**: With its own power supply; the HAT is powered separately by the adapter in the kit.
- **M.2 5G module**: The Quectel RM50xQ or the Telit FN980; other modules: [compatible modules](https://docs.sixfab.com/cellular/5g-development-kit-v2/earlier-version/#compatible-modules).
- **SIM card**: For the 5G or LTE bands of the module. The Sixfab SIM does not work on 5G networks.

**Software**

- **Raspberry Pi OS**: Updated, with a current kernel: newer kernels fix known driver issues.

1. **Remove ModemManager**

   Many Linux distributions preinstall ModemManager; remove it:

   ```bash
   sudo apt purge modemmanager -y
   ```

2. **Check driver**

   Check that the option USB serial driver is bound to the module’s interfaces:

   ```bash
   usb-devices
   ```

   ```text
   T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=5000 MxCh= 0
   D:  Ver= 3.20 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
   P:  Vendor=2c7c ProdID=0800 Rev=04.14
   S:  Manufacturer=Quectel
   S:  Product=RM502Q-AE
   S:  SerialNumber=377628d2
   C:  #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=896mA
   I:  If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
   I:  If#=0x1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
   I:  If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
   I:  If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
   I:  If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
   ```

3. **Open AT command port**

   Install a serial terminal such as minicom and open `/dev/ttyUSB2` at 115200 baud:

   ```bash
   sudo apt install minicom -y
   minicom -D /dev/ttyUSB2 -b 115200
   ```

   Send `AT`; the module answers `OK`.

4. **Switch module to ECM mode**

   ```text
   AT+QCFG="usbnet",1
   ```

   The answer is `OK`. The module may restart; wait until minicom is active again. `AT+QCFG="usbnet"` now returns 1.

5. **Set APN**

   ```text
   AT+CGDCONT=1,"IPV4V6","YOUR_APN"
   ```

   Replace `YOUR_APN` with the APN of your SIM provider. The answer is `OK`.

6. **Restart module**

   ```text
   AT+CFUN=1,1
   ```

   The module restarts in about 30 seconds and minicom is active again. Depending on the network, the connection can take a few minutes.

7. **Test connection**

   In a new terminal, check that the `usb0` interface has an IP address, then ping a server through it:

   ```bash
   ifconfig usb0
   ```

   ```text
   usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
           inet 192.168.225.60  netmask 255.255.255.0  broadcast 192.168.225.255
           inet6 fe80::8543:f6a0:e678:2e20  prefixlen 64  scopeid 0x20<link>
           ether 4a:aa:f8:62:36:bb  txqueuelen 1000  (Ethernet)
           RX packets 73  bytes 5047 (4.9 KiB)
           RX errors 0  dropped 0  overruns 0  frame 0
           TX packets 100  bytes 15116 (14.7 KiB)
           TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
   ```

   ```bash
   ping -I usb0 sixfab.com -c 5
   ```

   ```text
   PING sixfab.com (104.26.9.221) from 192.168.225.60 usb0: 56(84) bytes of data.
   64 bytes from 104.26.9.221 (104.26.9.221): icmp_seq=1 ttl=52 time=209 ms
   64 bytes from 104.26.9.221 (104.26.9.221): icmp_seq=2 ttl=52 time=202 ms
   64 bytes from 104.26.9.221 (104.26.9.221): icmp_seq=3 ttl=52 time=192 ms
   64 bytes from 104.26.9.221 (104.26.9.221): icmp_seq=4 ttl=52 time=193 ms
   64 bytes from 104.26.9.221 (104.26.9.221): icmp_seq=5 ttl=52 time=195 ms

   --- sixfab.com ping statistics ---
   5 packets transmitted, 5 received, 0% packet loss, time 9ms
   rtt min/avg/max/mdev = 191.895/198.244/209.463/6.636 ms
   ```

### If the usb0 interface does not appear

Restart the whole system and check the SIM, the antennas, the module and the USB bridge. Then check the module with AT commands:

| Command | Expected answer |
| --- | --- |
| `AT+QCFG="usbnet"` | `1`: ECM mode |
| `AT+CPIN?` | `READY`: the module detects the SIM |
| `AT+CEREG?` | `0,1` or `0,5`: registered on the network |
| `AT+CGCONTRDP` | The APN details and the IP address |

## Pinout

![Sixfab M.2 5G HAT pinout with fan, reset, FCP, HAT power, button and LED GPIO pins](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab-Raspberry-Pi-M.2-5G-HAT-Pinout.png)

| Pin | Name | Function |
| --- | --- | --- |
| 11 | `GPIO17` | F-PULSE: fan pulse, shows whether the fan turns |
| 13 | `GPIO27` | FAN: drive HIGH to turn the fan on; LOW by default |
| 33 | `GPIO13` | MODULE_RESET: drive HIGH, then LOW shortly after, to reset the module |
| 36 | `GPIO16` | PWR_DSBLE_P: HAT power regulator control; HIGH powers the HAT off, except the fan |
| 37 | `GPIO26` | FCP_OFF_N: Full Card Power; HIGH starts the module, LOW turns it off |
| 38 | `GPIO20` | USER_BUTTON: reads HIGH (10 kΩ pull-up), LOW while the button is pressed |
| 40 | `GPIO21` | USER_LED: active high, drive the pin HIGH to turn the LED on |

## Layout and dimensions

![Sixfab M.2 5G HAT layout with labelled connectors, LEDs, switches and SIM socket](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab-Raspberry-Pi-M.2-5G-HAT-Layout.png)

![Sixfab M.2 5G HAT dimensions: 85 mm by 56.6 mm](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab-Raspberry-Pi-M.2-5G-HAT-Dimension.png)

## Fan

Connect the fan to the 3-pin FAN header as shown, then drive GPIO27 HIGH to turn it on.

![Fan cable plugged into the FAN header of the Sixfab M.2 HAT next to the Telit FN980 module](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_5G_Base_HAT_Fan_Socket.webp)

## LEDs and button

**PWR** (Power)

- **On:** The module supply (3.3 V or 3.7 V) is on.

**STAT** (Signal, driven by the module)

- **Blinking:** A connection is up and data is moving.
- **Off:** No connection.

**USER** (GPIO21, active high)

- **Programmable:** Set by your application.

The FCP LED shows the state of the FCP line: it is lit while the module is on. The USER button is on GPIO20 and is programmable: see [Pinout](https://docs.sixfab.com/cellular/5g-development-kit-v2/earlier-version/#pinout).

## Solder jumpers

Solder jumpers SJ1 to SJ7 connect HAT functions to Raspberry Pi pins and are connected by default. Cut one to free its GPIO for another use; the HAT function then stops working. HAT v1.0:

![Bottom of the Sixfab M.2 HAT with solder jumpers SJ1 to SJ7 marked](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_M.2_5G_HAT_Solder_Jumper.webp)

| Jumper | GPIO | Function | When cut |
| --- | --- | --- | --- |
| SJ1 | GPIO20 | USER_BUTTON | The user button no longer works. |
| SJ2 | GPIO21 | USER_LED | The user LED no longer works. |
| SJ3 | GPIO26 | FCP_OFF_N | The module can no longer be switched from software. |
| SJ4 | GPIO16 | PWR_DSBLE_P | The HAT power can no longer be controlled. |
| SJ5 | GPIO13 | MODULE_RESET | The module can no longer be reset from software. |
| SJ6 | GPIO27 | FAN | The fan no longer works. |
| SJ7 | GPIO17 | F-PULSE | The fan status can no longer be read. |

## Compatible modules

| Manufacturer | Tested modules |
| --- | --- |
| Quectel | RM50xQ |
| Telit | FN980 |

Another M.2 module must share the pins of the HAT’s M.2 pin assignment:

![M.2 key B pin assignment of the Sixfab M.2 5G HAT with VCC, GND, SIM, USB and notch pins](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_M.2_5G_HAT_Pin_Assignment.webp)

## Specifications

### Quectel RM502Q-AE

The module that came with the kit. For another module, see its datasheet.

|  |  |
| --- | --- |
| Module | Quectel RM502Q-AE, M.2, 5G Sub-6 |
| Region | Global, except China |
| Supply voltage | 3.135 to 4.4 V, typical 3.7 V |
| 5G NR NSA bands | n1, n2, n3, n5, n7, n8, n12, n20, n25, n28, n38, n40, n41, n66, n71, n77, n78, n79 |
| 5G NR SA bands | n1, n2, n3, n5, n7, n8, n12, n20, n25, n28, n38, n40, n41, n66, n71, n77, n78, n79 |
| LTE-FDD bands | B1, B2, B3, B4, B5, B7, B8, B12 (B17), B13, B14, B18, B19, B20, B25, B26, B28, B29, B30, B32, B66, B71 |
| LTE-TDD bands | B34, B38, B39, B40, B41, B42, B43, B48 |
| LAA | B46, 2 × 2 MIMO only |
| UMTS bands | B1, B2, B3, B4, B5, B6, B8, B19 |
| GNSS | GPS, GLONASS, BeiDou (Compass), Galileo |
| Regulatory | GCF, CE, PTCRB, FCC, IC, JATE, TELEC, RCM |

Maximum data rates, theoretical; the real rate depends on the network:

| Technology | Downlink | Uplink |
| --- | --- | --- |
| 5G SA Sub-6 | 4.2 Gbps | 450 Mbps |
| 5G NSA Sub-6 | 5.0 Gbps | 600 or 650 Mbps |
| LTE | 2.0 Gbps | 200 Mbps |
| WCDMA | 42 Mbps | 5.76 Mbps |

### HAT

|  |  |
| --- | --- |
| Rated input | 5 V DC, 3.0 A |
| Operating and storage temperature | -20 to 70 °C |
| Size | 85 × 56.6 mm |

## Design files and documents

- [5G HAT schematic](https://github.com/sixfab/Sixfab-RPi-5G-HAT/blob/master/schematics/Sixfab_RPi_m.2_5G_HAT_Schematic.pdf)
- [LTE/5G High Performance Antenna (SMA)](https://sixfab.com/product/lte-5g-sma-high-performance-blade-antenna/): the antenna specifications

### Module documents

- [Quectel RM502Q-AE 5G Specification V1.2](https://sixfab.com/wp-content/uploads/2022/06/Quectel_RM502Q-AE_5G_Specification_V1.2.pdf)
- [Quectel RG50xQ and RM5xxQ Series AT Commands Manual V1.2](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RG50xQ_RM5xxQ_Series_AT_Commands_Manual_V1.2.pdf)
- [Quectel RG50xQ and RM5xxQ Series 5G Network Searching Scheme Introduction V1.0](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RG50xQ_RM5xxQ_Series_5G_Network_Searching_Scheme_Introduction_V1.0.pdf)
- [Quectel RG50xQ and RM5xxQ Series 5G Network Status Judgement Introduction V1.0](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RG50xQ_RM5xxQ_Series_5G_Network_Status_Judgement_Introduction_V1.0.pdf)
- [Quectel RM50xQ Series Reference Design V1.3](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RM50xQ_Series_Reference_Design_V1.3.pdf)
- [Quectel RM50xQ Series Hardware Design V1.2](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RM50xQ_Series_Hardware_Design_V1.2.pdf)
- [Quectel RG50xQ and RM5xxQ Series FTM Application Note V1.0](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RG50xQ_RM5xxQ_Series_FTM_Application_Note_V1.0.pdf)
- [Quectel RG50xQ and RM5xxQ Series GNSS Application Note V1.1](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RG50xQ_RM5xxQ_Series_GNSS_Application_Note_V1.1.pdf)
- [Quectel RG50xQ and RM5xxQ Series DFOTA Application Note V1.0](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RG50xQ_RM5xxQ_Series_DFOTA_Application_Note_V1.0.pdf)
- [Quectel RG50xQ and RM5xxQ Series Software Thermal Management Guide V1.0](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RG50xQ_RM5xxQ_Series_Software_Thermal_Management_Guide_V1.0.pdf)
- [Quectel RG50xQ and RM5xxQ Series Secure Boot Application Note V1.0](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RG50xQ_RM5xxQ_Series_Secure_Boot_Application_Note_V1.0.pdf)
- [Quectel RM50xQ Series Thermal Design Guide V1.0](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RM50xQ_Series_Thermal_Design_Guide_V1.0.pdf)
- [Quectel RM502Q-AE 3D Dimensions V1.1 (ZIP)](https://sixfab.com/wp-content/uploads/2022/05/Quectel_RM502Q-AE_3D_Dimensions_V1.1.zip)
