---
title: "Get started with Base HAT"
description: "Fit a Quectel or Telit mini PCIe module to the Base HAT, mount it on a Raspberry Pi, check that the module is detected and choose how to connect."
url: "https://docs.sixfab.com/cellular/base-hat/quickstart/"
last_updated: "2026-10-12"
---

# Get started with Base HAT

Fit a Quectel or Telit mini PCIe module to the Base HAT, mount the HAT on a Raspberry Pi, check that the module is detected and choose how to connect to the internet.

**Works with:** [Base HAT](https://docs.sixfab.com/cellular/base-hat/) on Raspberry Pi 4 or 5

## Before you begin

**Required**

**Hardware**

- **Raspberry Pi**: Model 4 or 5 recommended, with a 5 V power supply of at least 2 A.
- **Mini PCIe cellular module**: Quectel EC25, EG25 or UC20-G, or Telit LE910C1, LE910C4 or ME910C1-WW. Other modules: [compatible modules](https://docs.sixfab.com/cellular/base-hat/hardware-reference/#compatible-modules).
- **Antennas**: u.FL: an LTE full-band PCB antenna and an LTE and GNSS dual antenna, a triple-port antenna, or another combination of LTE and GNSS antennas.
- **SIM card**: A Sixfab SIM, registered and activated in [Sixfab Connect](https://connect.sixfab.com/), or another SIM that the module supports.

*The Base HAT box laid out: the Base HAT, the right-angle micro USB cable, a short and an extra-tall 40-pin stacking header, four M2.5 × 11 mm spacers and four M2.5 × 5 mm screws.*

**In the box** (6 parts)

- 1× **Sixfab 3G-4G/LTE Base HAT for Raspberry Pi**
- 1× **Extra-tall 40-pin GPIO stacking header**
- 1× **Short 40-pin GPIO stacking header**
- 1× **Right-angle micro USB cable**
- 4× **M2.5 × 11 mm spacer**
- 4× **M2.5 × 5 mm screw**

The [4G/LTE Cellular Modem Kit](https://docs.sixfab.com/cellular/4g-lte-cellular-modem-kit/) adds a module, the antennas and a Sixfab SIM.

## Assemble hardware

Assemble the hardware with the Raspberry Pi powered off. The drawings show a Raspberry Pi 5; on a Raspberry Pi 4 the steps are the same.

1. **Insert module into Base HAT**

   Insert the mini PCIe module into the mini PCIe socket of the Base HAT at an angle, then press it down until its far end clicks under the latch.

   - 1× Mini PCIe cellular module

   *The mini PCIe module goes into the mini PCIe socket of the Base HAT at an angle, then is pressed down flat until its far end clicks under the latch.*

2. **Connect antennas**

   Connect the LTE antennas to the main and diversity connectors of the module and the GNSS antenna to the GNSS connector. The tabs show where these connectors are on the Quectel and the Telit modules. The Telit ME910C1-WW has no diversity connector: it takes one LTE antenna on the main connector.

   **Quectel**

   ![A Quectel mini PCIe module seen from above, its three antenna connectors in a column at its right end.](https://docs.sixfab.com/wp-content/uploads/2026/10/quectel-mini-pcie-antenna-connectors-1024x538.png)

   1. Main antenna interface
   2. GNSS antenna interface
   3. Diversity antenna interface

   *Antenna connectors of the Quectel module*

   **Telit**

   ![A Telit LE910Cx mini PCIe module seen from above, its three antenna connectors in a column at its right end.](https://docs.sixfab.com/wp-content/uploads/2026/10/telit-le910cx-mini-pcie-antenna-connectors-1024x538.png)

   1. Main antenna interface
   2. GNSS antenna interface
   3. Diversity antenna interface

   *Antenna connectors of the Telit LE910Cx*

   - 1× LTE and GNSS dual antenna
   - 1× LTE full-band PCB antenna

   *The three u.FL plugs are pressed straight down onto the module's antenna connectors: the LTE and GPS leads of the LTE and GNSS dual antenna onto MAIN and GNSS, the lead of the LTE full-band antenna onto DIV.*

3. **Fit header under board**

   Fit one of the 40-pin stacking headers to the underside of the Base HAT, its long pins up through the GPIO holes.

   - 1× 40-pin stacking header

   *The 40-pin stacking header comes up under the edge of the Base HAT with the GPIO holes, seen through the board, its long pins going up through the holes and out of the strip on top, and is pressed home.*

4. **Insert SIM card**

   Slide the micro SIM card into the SIM socket, contacts down, until it shows through the socket cover’s window.

   - 1× Micro SIM card

   *The micro SIM card slides into the SIM socket of the Base HAT, contacts down, from the edge with the micro USB port, until it shows through the socket cover's window.*

5. **Mount HAT on Raspberry Pi**

   Press the Base HAT onto the 40-pin header of the Raspberry Pi and fasten it with the four M2.5 spacers and four M2.5 screws.

   - 1× Raspberry Pi 4 or 5
   - 4× M2.5 spacer
   - 4× M2.5 screw

   *Four spacers go onto the Raspberry Pi 5 mounting holes; the Base HAT goes straight down onto the 40-pin GPIO header and the spacers, and four screws go down through it into the spacers.*

6. **Connect micro USB cable**

   Connect the micro USB port of the Base HAT to a USB port of the Raspberry Pi.

   - 1× Right-angle micro USB cable

   *The right-angle micro USB plug goes into the micro USB port of the Base HAT and the USB-A plug at the other end of the cable goes into a USB port of the Raspberry Pi 5.*

7. **Connect power supply**

   Connect the power supply to the Raspberry Pi. The Base HAT and the module take their power from it, and the red PWR LED of the Base HAT turns on.

   - 1× Raspberry Pi USB-C power supply

   *The USB-C cable of the power supply goes into the Raspberry Pi 5 power port, under the Base HAT. The red PWR LED of the Base HAT turns on.*

## Check that the module is detected

Open a terminal on the Raspberry Pi. The module appears as a USB device:

```bash
lsusb
```

```text
Bus 001 Device 009: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
```

A Telit module shows as `ID 1bc7:… Telit Wireless Solutions`. The module also adds its serial ports:

```bash
dmesg | grep ttyUSB
```

```text
[  154.014341] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB0
[  154.015183] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB1
[  154.015632] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB2
[  154.015994] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB3
```

The number of ports depends on the module: four with the Quectel EC25, five with the Telit LE910Cx. If the module is missing, see [Troubleshooting: USB connection](https://docs.sixfab.com/cellular/base-hat/troubleshooting/#usb).

## Connect to internet

All three methods give a cellular internet connection; they differ in setup effort and in the control they give over the modem. One is enough:

- [Connect cellular module to internet in ECM mode](https://docs.sixfab.com/guides/connect-cellular-module-internet-ecm-mode/): Quectel and Telit. The module appears as a USB Ethernet device; the Linux kernel supports it without extra drivers. The simplest setup.
- [Connect cellular module in QMI mode with libqmi](https://docs.sixfab.com/guides/connect-cellular-module-qmi-mode-libqmi/): Quectel EC25, EG25-G, EC21, UC20-G and Telit LE910C1, LE910C4. More setup, more control over the modem and the connection.
- [Connect Quectel module with quectel-CM](https://docs.sixfab.com/guides/connect-quectel-module-quectel-cm/): Quectel only. quectel-CM starts the data connection and sets the IP address, DNS and routing; common in production.

> [!NOTE]
> The installation scripts in these guides are tested with the mini PCIe modules sold by Sixfab. With another module, follow the module manufacturer’s documentation.

## Next steps

- [Hardware reference](https://docs.sixfab.com/cellular/base-hat/hardware-reference/): Pinout, compatible modules, LEDs, solder jumpers and specifications.
- [Troubleshooting](https://docs.sixfab.com/cellular/base-hat/troubleshooting/): Power, SIM, APN, antenna, USB, UART and AT command checks.
- [FAQ](https://docs.sixfab.com/cellular/base-hat/faq/): Compatible modules, SIM cards and hosts, power, and USB, UART, PPP and QMI connections.
