Base HAT hardware reference

Pinout, layout, compatible modules and hosts, LEDs, solder jumpers, specifications, design files and compliance of the Base HAT (S121).

Electrostatic-sensitive device

The Base HAT and the modules are sensitive to electrostatic discharge. Handle them, and the single-board computer that carries the HAT, with ESD protection; without it they can be damaged permanently.

Pinout

PinNameFunction
2, 5 V power4, 5 V power5V5 V supply, shared with the Raspberry Pi
8, UARTUART_TXPCI RX: serial data input of the module; disconnected by default
10, UARTUART_RXPCI TX: serial data output of the module; disconnected by default
13, GPIOGPIO27USER LED: active high, drive the pin HIGH to turn the LED on
15, GPIOGPIO22USER BUTTON: reads HIGH (10 kΩ pull-up), LOW while the button is pressed
31, GPIOGPIO6RI: ring indicator for an incoming call or SMS; its level is set with AT commands
33, GPIOGPIO13DTR: pull LOW to wake the module from sleep mode
35, GPIOGPIO19W_DISABLE: drive HIGH to put the module in airplane mode
37, GPIOGPIO26HAT_PWR_OFF: HAT power regulator control, pulled down; drive HIGH to cut the power of the HAT, then LOW to reset the module
6, Ground9, Ground14, Ground20, Ground25, Ground30, Ground34, Ground39, GroundGNDGround
  • 5 V power
  • Ground
  • GPIO
  • UART

Layout and dimensions

Compatible modules

The modules with a network category in parentheses are verified by Sixfab with the Base HAT; the others are also compatible.

ManufacturerModules
QuectelBG95, BG96 series (LTE-M, NB-IoT); EG21-G, EC21 variants (Cat 1); EG25-G, EC25 variants (Cat 4); RG255C series (5G RedCap); EC20, EP06, UC20
TelitME910C1-WW (LTE-M, NB-IoT); LE910C1 series (Cat 1); LE910C4, mPLS83 series (Cat 4); FE910C04-NA, FE910C04-WW (5G RedCap); LM960, LE910V2, HE910 and others
Sierra WirelessMC7304, MC-WP7610 (Cat 4); AirPrime MC series
SIMComSIM7600, A7602 (Cat 4); SIM8230G, A8200C (5G RedCap); SIM7100, SIM7230 and others
FibocomL610 variants (Cat 1); NL668 variants (Cat 4); FG132-GL (5G RedCap)
ThalesPLS62W, mPLS8, mPLAS9
HuaweiME909s-120, ME909s-821 and others
ZTEZM8620 and others
u-bloxMPCI-L2 series

Other modules

A module that is not listed must match the mini PCIe pins that the Base HAT connects, at least VCC_3V3, GND, USIM_VDD, USIM_DATA, USIM_CLK, USIM_RST, USB_DM and USB_DP.

Compatible hosts

  • Raspberry Pi 5, 4, 3, 2, B+, A+ and Zero (boards with the 40-pin header)
  • Asus Tinker Board
  • Rock64
  • Orange Pi
  • Samsung ARTIK Eagleye
  • LattePanda

The Base HAT has no driver and needs none. The host needs the driver of the module: with a Quectel EC25, for example, the host needs the EC25 driver. Most Linux kernels include these drivers, so the modules are recognized.

The list assumes that the Base HAT is connected to the host over USB. Over UART, every host in the list that has a 3.3 V UART works.

Power and cable

Power the Raspberry Pi with a 5 V supply of at least 2 A while the Base HAT is attached. Use a short, good-quality micro USB cable, such as the one in the box: long or poor cables lose data and power.

LEDs and button

PWRPower
Red: On

The HAT has power.

STATSignal, driven by the module
Blue: Blinking

A connection is up and data is moving. The blink pattern depends on the module.

Off

No connection.

USERGPIO27, active high
Green: Programmable

Set by your application.

With a Telit module, the STAT LED stays off until it is enabled with AT commands: see the Cellular IoT Kit hardware reference.

The USER button is on GPIO22 and is programmable: see Pinout.

Solder jumpers

Solder jumpers SJ1 to SJ8 connect HAT functions to Raspberry Pi pins. Cut a connected jumper to free its GPIO for another use; the HAT function then stops working. To cut, cut the narrow trace in the middle of the jumper with a utility knife; to connect, solder the jumper. Base HAT v1.0.0:

JumperPinDefaultFunctionWhen changed
SJ1GPIO26ConnectedHAT_PWR_OFFThe HAT power can no longer be controlled.
SJ2GPIO19ConnectedW_DISABLEAirplane mode can no longer be set.
SJ3GPIO13ConnectedDTRSleep mode can no longer be controlled.
SJ4GPIO6ConnectedRIThe ring indicator can no longer be read.
SJ5GPIO22ConnectedUser buttonThe user button no longer works.
SJ6GPIO27ConnectedUser LEDThe user LED no longer works.
SJ7RXDOpenModule UARTSolder SJ7 and SJ8 to use the UART.
SJ8TXDOpenModule UARTSolder SJ7 and SJ8 to use the UART.

USB and UART

USB works with every compatible module and is recommended: UART is slower. UART works only with modules that have RX and TX on mini PCIe pins 11 and 13, such as the Quectel modules; Telit modules cannot use the UART of the Base HAT. The UART is disconnected by default: solder SJ7 and SJ8, then see Connect cellular module over Raspberry Pi UART.

Specifications

Model3G/4G & LTE Base HAT, S121
Product typeCellular modem carrier board (smart card carrier)
UseData transmission over mobile broadband
Module socketMini PCIe; USB 2.0 to the host
Rated input5 V DC, 3.0 A
Operating and storage temperature-25 to 70 °C
Size65 × 57 mm
Height7 mm without a header, 14 mm with the short header, 20 mm with the extra tall header

Design files

Compliance

United StatesFCC Part 15 Class B
CanadaICES-003 Class B
EuropeCE, RoHS, safety

Test reports