---
title: "ALPON X4 physical layout and I/O"
description: "Ports, pinouts, LEDs, buttons, switches, and antenna connectors of the ALPON X4, with their electrical characteristics and how to drive them from software."
url: "https://docs.sixfab.com/alpon/alpon-x4/hardware-reference/physical-layout-io/"
last_updated: "2026-10-12"
---

# ALPON X4 physical layout and I/O

Ports, pinouts, LEDs, buttons, switches, and antenna connectors of the ALPON X4, with their electrical characteristics and how to drive them from software.

## Device layout

The ALPON X4 is housed in a fanless aluminum enclosure. All I/O is split between the front face (power, USB, display, indicators) and the rear face (Ethernet, GPIO, antennas, switches).

### Front face

![ALPON X4 front face with numbered ports: PB1 button, 4 LEDs, USB-C PD power input, 9 to 30 V DC screw terminal, HDMI 2.0, two USB 2.0 ports](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_Getting_Started_Layout_1.webp)

*ALPON X4 front face.*

1. **PB1** · user push button
2. **4× LEDs** · Power, Connection, Cellular, RGB
3. **USB-C PD** · power input
4. **Screw Terminal** · 9 to 30 V DC input
5. **HDMI 2.0** · up to 4Kp30 display
6. **2× USB 2.0** · 1 A shared budget

### Rear face

![ALPON X4 rear face with numbered ports: SW1 watchdog and SW2 boot/burn DIP switches, PB2 user push button, 100 Mbps Ethernet, 1 Gbps Ethernet with optional PoE+, GPIO Add-on RJ45](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_Getting_Started_Layout_3.webp)

*Rear face. On PoE variants, ETH/G carries Gigabit Ethernet data and PoE+ power on the same cable.*

7. **SW1, SW2** · watchdog & boot/burn DIP switches
8. **PB2** · user push button
9. **ETH** · 100 Mbps Ethernet port
10. **ETH/G** · 1 Gbps Ethernet (PoE+ on PoE variants)
11. **GPIO Add-on Port** · RJ45, not Ethernet

### Enclosure

12. **Antennas** · 2× LTE and 1× GNSS (SMA), 1× Wi-Fi/Bluetooth (RP-SMA)
13. **Mounting Holes** · 2× 4 mm for DIN rail or wall mount
14. **Heatsink** · finned aluminum top face, passive cooling

## Mechanical specifications

Dimensions, weight, and environmental ratings: [Specifications, Mechanical](https://docs.sixfab.com/alpon/alpon-x4/specifications/#mechanical). Mounting holes, bracket kits, and installation: [Power & mounting](https://docs.sixfab.com/alpon/alpon-x4/hardware-reference/power-mounting/#mounting).

Keep the finned cooling surface unobstructed. For custom brackets or cabinet spacing, ask [Sixfab support](https://sixfab.com/contact/) for mechanical guidance before fabrication.

## Power input

Choose one power input: USB-C PD, the DC terminal, or optional PoE+ on ETH/G. This section identifies connectors and terminal polarity; see [Power & Mounting](https://docs.sixfab.com/alpon/alpon-x4/hardware-reference/power-mounting/#power-inputs) for adapter requirements, consumption, and the PoE power budget.

> [!WARNING]
> **Use one power source at a time**
>
> Connect one power input at a time (see [Safety & compliance](https://docs.sixfab.com/alpon/alpon-x4/safety-compliance/)). Disconnect the active source before changing inputs; do not use several inputs for failover.

![ALPON X4 three power input options: USB-C PD, screw terminal, and PoE+](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_Power_Options.webp)

*Three available power input options on the ALPON X4.*

### USB-C PD

Sink-only USB-PD port. Does not provide USB data or output power during normal operation. USB data is available only when SW2 is set to Burn (image flashing) mode.

Use the documented **15 V / 1.8 A (27 W)** PD profile. See [USB-C power requirements](https://docs.sixfab.com/alpon/alpon-x4/hardware-reference/power-mounting/#usb-c) before selecting an adapter.

### Screw terminal (9 to 30 V DC)

The 3-pin DC terminal accepts 9 to 30 V. Full peripheral functionality requires 12 to 30 V at the terminal; below 12 V, peripheral availability is restricted. Check polarity before connecting power.

|  |  |
| --- | --- |
| Pinout (3-pin block) | **Pin 1** Chassis Ground · **Pin 2** Negative (−) · **Pin 3** Positive (+) |

*Screw terminal pinout*

![ALPON X4 3-pin screw terminal block pinout: Pin 1 chassis ground, Pin 2 negative, Pin 3 positive](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_Technical_Details_Screw_Terminal_Block.gif)

*Terminal block polarity, left to right: Chassis, −, +.*

### Power over Ethernet (PoE+)

On PoE-variant SKUs, `ETH/G` carries both Gigabit Ethernet data and PoE+ power. The 100 Mbps `ETH` port is data-only. PoE+ delivers up to 25 W, below the 27 W simultaneous system peak: reduce peripheral load or use DC / USB-C PD instead. See [PoE+ requirements and budgeting](https://docs.sixfab.com/alpon/alpon-x4/hardware-reference/power-mounting/#poe).

### Restricted Mode

Below 12 V, the documented restricted state disables USB, the GPIO Add-on 5 V rail, HDMI, and the RGB LED. Use 12 to 30 V DC or the documented 15 V USB-C PD profile for full peripheral functionality. See [Restricted Mode](https://docs.sixfab.com/alpon/alpon-x4/hardware-reference/power-mounting/#restricted-mode) for low-voltage guidance; do not rely on a low-voltage USB source for boot or connectivity.

## Ethernet ports

Two RJ45 Ethernet ports provide different link speeds. Use them for WAN + LAN routing or separate network segments; configure routing and isolation in software.

- **ETH/G:** 1 Gbps; on PoE variants also the PoE+ power input.
- **ETH:** 100 Mbps, data only, no PoE.

> [!NOTE]
> **PoE variants**
>
> PoE+ adds power to ETH/G; Ethernet data stays. Check that your SKU includes PoE before choosing a power source.

## USB 2.0 ports

Two USB 2.0 high-speed ports. Devices connected here are recognized as directly attached to the Raspberry Pi CM4 USB controller. Both ports share a combined 1 A power budget.

![ALPON X4 two USB 2.0 ports close-up, sharing a combined 1 A power budget](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_USB_Ports.jpg)

*2× USB 2.0 ports, 1 A shared power budget.*

|  |  |
| --- | --- |
| Standard | USB 2.0 High-Speed (480 Mbps) |
| Routing | Direct to Raspberry Pi CM4 USB controller |
| Shared power budget | 1000 mA total at 5 V across both ports |
| Overcurrent behavior | Power cut to both ports if 1 A is exceeded |
| Power recovery | Full device shutdown and power-on required |

*USB 2.0 specifications*

> [!WARNING]
> **Shared power budget**
>
> You can connect a single device drawing up to 1 A, or two devices with a combined draw of no more than 1 A. If this limit is exceeded, power to both ports cuts off and a full device reboot is required to restore.

## Display (HDMI 2.0)

Single HDMI 2.0 port driven directly by the CM4. Connects to a standard monitor with an HDMI cable. Supports up to 4K @ 30 Hz.

![ALPON X4 HDMI 2.0 display port close-up, supports up to 4Kp30](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_Display_HDMI.jpg)

*HDMI 2.0 display port, up to 4Kp30.*

|  |  |
| --- | --- |
| Standard | HDMI 2.0 |
| Maximum resolution | 4K @ 30 Hz (4Kp30) |
| Audio | HDMI audio pass-through |
| Driver | CM4 HDMI 0 (direct) |

*HDMI 2.0 specifications*

> [!NOTE]
> **Connect HDMI before power-on**
>
> Display detection runs at boot. For first-time setup or headless-to-monitor transitions, plug in HDMI before powering the device.

## GPIO Add-on port (RJ45)

The GPIO add-on port exposes six configurable CM4 GPIO pins over an RJ45 connector, with I²C, UART, and SPI options for compatible ALPON Edge add-on modules. Signals use 3.3 V logic. No analog input (ADC) is documented; do not connect analog signals.

> [!CAUTION]
> **This is not an Ethernet port**
>
> Although the connector is RJ45, this port is not Ethernet and not PoE-capable. Connecting it to a switch, router, or PoE injector will cause permanent hardware damage. Use only with compatible ALPON Add-on modules.

![ALPON X4 GPIO Add-on port pinout on RJ45 connector showing 8 pin assignments to CM4 GPIO 12-15, 22, 23 plus GND and 5 V](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_GPIO_Add-on_Port.jpg)

*GPIO Add-on port: RJ45 pin assignment.*

### Pin assignment

|  |  |
| --- | --- |
| Pin 1 | `GND` · Ground |
| Pin 2 | `GPIO 12` |
| Pin 3 | `GPIO 14` |
| Pin 4 | `GPIO 13` |
| Pin 5 | `GPIO 15` |
| Pin 6 | `GPIO 23` |
| Pin 7 | `GPIO 22` |
| Pin 8 | `5V OUT` · 5 V output, max 1 A. Gated by `GPIO 21` power switch |

*RJ45 pin map, CM4 GPIO*

The GPIO numbers give the connector wiring, not an enabled bus. For the SoC alternate functions, see section 2.5.1, *Alternative function assignments*, of the [Raspberry Pi CM4 datasheet](https://datasheets.raspberrypi.com/cm4/cm4-datasheet.pdf). Check the ALPON X4 OS pinmux and the add-on configuration before enabling a bus; the SoC table alone does not mean the ALPON X4 supports it.

### Electrical characteristics

|  |  |
| --- | --- |
| Signal voltage | 3.3 V logic (level converter on board) |
| 5 V tolerance | Pins are **not** 5 V tolerant |
| Power output | 5 V at 1 A maximum (5 W) |
| Power switch enable | `GPIO 21` · must be HIGH before I/O |
| Fault detection | `GPIO 20` · HIGH normally, LOW on fault |

*Electrical & logic*

> [!WARNING]
> **3.3 V logic only**
>
> The six GPIO signal pins use 3.3 V logic and are **not** 5 V tolerant. Driving them above 3.3 V can damage the CM4. Pin 8 is a separate 5 V power output, not a GPIO signal.

### Enabling port from software

The 5 V supply and signal I/O are gated by an on-board power switch. Drive `GPIO 21` HIGH to activate the port, then read `GPIO 20` to confirm no fault is asserted.

|  |  |
| --- | --- |
| `ADDON_PWS_EN` | `GPIO 21` · Drive HIGH to activate the port. I/O is inactive while LOW. |
| `ADDON_PWS_FAULT` | `GPIO 20` · Reads HIGH normally. Goes LOW on overcurrent or short-circuit events. Returns HIGH once the fault clears. |

*Control signals*

```bash
# 1. Enable the GPIO Add-on port power rail
pinctrl set 21 op dh      # drive GPIO 21 HIGH
pinctrl get 20            # read fault line, expect 1 (HIGH)
```

### RJ45-to-terminal block adapter

When optional RJ45-to-terminal block adapters are attached, the GPIO port pins are mapped to screw-terminal positions for easy field wiring.

![RJ45 to terminal block adapter mapping for the ALPON X4 GPIO Add-on port](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_RJ45_to_terminal_block_adapters.jpg)

*RJ45 to terminal block adapter pin mapping.*

## LED indicators

Four LEDs on the front face report system state. All LEDs are driven through the `TCA6408A` I²C I/O expander at address **0x20** on the I²C1 bus (`SDA: GPIO 2`, `SCL: GPIO 3`).

![ALPON X4 four LED indicators on the front face: Programmable RGB, Cellular, Connection, Power](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/sixfab-alpon-x4-technical-details-led.webp)

*LED indicator positions on the ALPON X4.*

**Programmable RGB** (User · Expander: P2 (R) · P3 (G) · P4 (B) · Logic: Active LOW)

- **RGB:** Freely programmable. Set color by writing the corresponding R/G/B expander pins to LOW.

**Cellular Status** (System · Driver: ALPON X4 OS)

- **Red / Yellow / Blue:** Red: poor signal · Yellow: moderate · Blue: good connection.

**Connection Status** (System · Driver: ALPON Console agent)

- **Green:** Green when connected to the ALPON Console at console.alpon.ai; off when disconnected.

**Power** (Hardware · Source: System power rail · Behavior: Active HIGH)

- **Solid white:** White indicates system power; it does not confirm boot completion or cloud connectivity.

> [!NOTE]
> **Programming RGB LED**
>
> The Programmable RGB LED is controlled through the `TCA6408A` I²C expander, not direct CM4 GPIO outputs. Expander pins P2 (Red), P3 (Green), and P4 (Blue) are active LOW. Preserve unrelated expander bits when changing color. A reference Python script is available as a [GitHub Gist](https://gist.github.com/ensarkarabudak/57e47cc6ab08b29cadcadd8989a0002f).

## Push buttons

Two user-programmable buttons: PB1 on the front face and PB2 on the rear. Both lines are pulled HIGH by default and read LOW while pressed. Both can be assigned to different functions in software.

![ALPON X4 user push buttons PB1 on front and PB2 on rear close-up](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_Buttons.webp)

*PB1 (front) and PB2 (rear) user push buttons.*

|  |  |
| --- | --- |
| PB1 (front) | `GPIO 5` · Pulled HIGH · LOW when pressed · user-defined action |
| PB2 (rear) | `GPIO 6` · Pulled HIGH · LOW when pressed · user-defined action |

*Button mapping*

## Watchdog and Boot/Burn switches

Two DIP switches sit under a silicone cap on the rear face. Both ship OFF by default and should remain OFF during normal operation. Use a pointed tool to lift the cap from its notch.

![ALPON X4 SW1 watchdog and SW2 boot/burn DIP switches under silicone cap on rear face](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_Watchdog_and_Boot_Burn_Switches.jpg)

*SW1 (Watchdog) and SW2 (Boot/Burn) · default: both OFF.*

### SW1 · Watchdog

- **OFF (default):** Watchdog **active**
- **ON:** Watchdog **inactive**

### SW2 · Boot / Burn

- **OFF (default):** **Boot** · normal operating mode
- **ON:** **Burn** · CM4 image flash mode

### SW1 · Hardware watchdog

The hardware watchdog resets the device when its heartbeat stops, independently of the OS. It is active with SW1 OFF and inactive with SW1 ON. Give it exactly one heartbeat owner, the system watchdog service or an application, never both: a second pulse source can hide a failed application. Configure the owner before you enable the watchdog.

### SW2 · Boot / Burn mode

SW2 selects between normal operation (Boot) and CM4 image flashing over USB-C (Burn). In Burn mode, the USB-C port exposes the CM4 flashing interface to a host PC.

If an image is damaged or needs reflashing, [contact Sixfab support](https://sixfab.com/contact/) before attempting the flash. An unguided reflash can make recovery harder.

> [!CAUTION]
> **Power down before toggling SW2**
>
> Power the device off before changing SW2. Restore SW2 to OFF (Boot) after support-guided flashing. SW1 OFF enables the watchdog, so verify its single heartbeat owner before restoring that setting.

## Antenna connectors

Four antenna connectors carry the wireless interfaces: SMA for LTE and GNSS, RP-SMA for Wi-Fi/Bluetooth. Enclosure labels identify each port.

![ALPON X4 antennas: G (GNSS), W (Wi-Fi), L x 2 (LTE Main + Diversity)](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Sixfab_ALPON_X4_Getting_Started_Layout_5.webp)

|  |  |
| --- | --- |
| LTE Main | Label **L** · SMA Female · Primary cellular RF path |
| LTE Diversity | Label **L** · SMA Female · Rx diversity for improved link budget |
| GNSS / GPS | Label **G** · SMA Female · Active antenna · must face the sky |
| Wi-Fi / Bluetooth | Label **W** · RP-SMA · 2.4 GHz + 5 GHz |

*Antenna connector map*

> [!NOTE]
> **Match SMA and RP-SMA connectors**
>
> Use the supplied Wi-Fi antenna on the RP-SMA port marked W, and the matching SMA antennas on GNSS and LTE ports. SMA and RP-SMA are not interchangeable: check both threads and center contacts, and never force a connection.

LTE bands, Wi-Fi, Bluetooth, and GNSS: [Specifications, Cellular](https://docs.sixfab.com/alpon/alpon-x4/specifications/#cellular).

## Internal bus topology

How each external interface maps back to the CM4. Useful for diagnosing throughput limits and shared-rail behavior.

|  |  |
| --- | --- |
| USB Port 1 + 2 | Native USB 2.0 · Direct to CM4 USB controller · 1 A shared budget |
| ETH (100 Mbps) | 100 Mbps data only |
| ETH/G (1 Gbps) | 1 Gbps data · PoE+ power input on PoE variants |
| HDMI Display | CM4 HDMI 0 · 4Kp30 maximum |
| LEDs | I²C1 → `TCA6408A` @ 0x20 · Expander-driven |
| GPIO Add-on Port | CM4 GPIO 12 to 15, 22, 23 · Gated by `GPIO 21` power switch |
| Buttons | CM4 `GPIO 5` (PB1), `GPIO 6` (PB2) · Pulled HIGH, LOW when pressed |

*Interface → CM4 mapping*

## Related pages

- [Power & mounting](https://docs.sixfab.com/alpon/alpon-x4/hardware-reference/power-mounting/): Supply requirements, PoE budget, Restricted Mode, mounting.
- [Specifications](https://docs.sixfab.com/alpon/alpon-x4/specifications/): Compute, connectivity, dimensions, environmental ratings.
- [Troubleshooting](https://docs.sixfab.com/alpon/alpon-x4/troubleshooting/): Power, LED, network, and peripheral issues.
