# Pin Header, 4 Pins (`pinHeader4`)

> A 2.54 mm pin header with 4 pins: where a gate drive or signal from off the board plugs in.

![pinHeader4](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/img/pinHeader4.svg)

[Component reference](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/) · [繁體中文](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/sources/pinHeader4/)

**Group:** Sources · **Kind:** `{"element":"pinHeader4","kind":"connector"}`

## When to use it

Put one where a gate or control signal comes from off the board, with a pin for its return next to it. board.interfaceConnectors {apply:true} draws one per gate whose driver is off the board.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `1` | electrical | Position 1: the net that enters or leaves the board here |
| `2` | electrical | Position 2: the net that enters or leaves the board here |
| `3` | electrical | Position 3: the net that enters or leaves the board here |
| `4` | electrical | Position 4: the net that enters or leaves the board here |

## Common parameters

- `part`: Part number; the catalogue order number of the terminal block or header, such as 1715022, written on the schematic; information only, not simulated (Default: optional (off))

## Parameters

| Key | Unit | Default | Typical range | Description |
|---|---|---|---|---|
| `part` | — | optional (off) |  | Part number; the catalogue order number of the terminal block or header, such as 1715022, written on the schematic; information only, not simulated |

_Parameter descriptions are in English in both languages._

## Model

A connector only joins its nets, so it adds nothing to the simulation: each net is simulated as if it were not there. It is in the BOM and on the board; board.addFootprints gives it the footprint of its part number.

## Common mistakes

- The gate current is not simulated through the header. Check the gate driver's peak output current against the header's rated current.
- board.autoPlace puts a connector at the board edge so the wire or plug can reach it. Keep tall parts out of its insertion path.

Problems rules: `pin.unconnected`

## Datasheet and sources

The Würth Elektronik WR-PHD data sheet of the order code: pins, pitch, rated current and working voltage (p. 1 and 2). Its part parameter is the order code.

## Example

Open the example with the command `file.openExample` and the name `demo:pinHeader4`.

---
Generated by `cargo xtask reference` from the usage texts and parameter specs. Do not edit by hand.
