Connector pinouts
Pinouts of the connectors we wire most often on our boards, pin by pin, with the face view, what each signal does and the design mistakes to avoid. Every table cites its reference standard.
USB-C
All 24 receptacle pins, what CC1/CC2 do, the Rp/Rd resistor values and the minimum wiring of a USB 2.0 device.
USB-A, USB-B, Mini and Micro
USB 2.0 Type-A and Type-B (4 pins), Mini-B and Micro-B (5 pins, with ID), and the 9 and 10-pin USB 3 versions.
RJ45 Ethernet
T568B and T568A color code wire by wire, pair assignment for 10/100BASE-TX and 1000BASE-T, and the pairs PoE uses.
M12 industrial
A-coding for sensors and IO-Link (IEC 60947-5-2 colors), D and X-coding for industrial Ethernet, mapping to RJ45.
DB9 (DE-9)
One connector, three pinouts: RS-232 (TIA-574), CAN (CiA 303-1) and PROFIBUS DP. Null-modem cable included.
JTAG and SWD
Arm debug headers: 20-pin 2.54 mm JTAG, 10-pin 1.27 mm Cortex Debug, 20-pin Cortex Debug + ETM, Tag-Connect TC2030 and TC2050, ST-LINK probes.
HDMI
All 19 pins of the HDMI Type A, mini (Type C) and micro (Type D) connectors, and what HPD, DDC, CEC and +5 V do.
Raspberry Pi GPIO
The Raspberry Pi 40-pin header (B+ to Pi 5, Zero): BCM numbers, I2C1, SPI0/SPI1, UART, PCM, PWM, the ID EEPROM pins and what changes on Pi 5.
M.2 (keys M, B and E)
All 75 positions of the M.2 Key M (SSD), Key B (4G/5G modem) and Key E (Wi-Fi, Bluetooth) sockets, with CONFIG, PEDET, SUSCLK and the PCIe signals.
SD and microSD card
The 9 contacts of the SD card and the 8 of the microSD, in SD bus mode and SPI mode, plus the UHS-II second row.
PCI Express card edge
The x1 and x4 pins on sides A and B, how x8 and x16 continue, PRSNT#, PERST#, REFCLK, AC coupling caps and the slot power budget.
SATA
7-pin data segment and 15-pin power segment, mating order for hot plug, P3 (PWDIS) and P11.
DDR4 DIMM and SO-DIMM
All 288 contacts of the DDR4 DIMM (UDIMM, with the RDIMM differences) and the 260 contacts of the SO-DIMM, key position, VDD, VPP, VTT and SPD.
DDR5 DIMM and SO-DIMM
All 288 pins of the DDR5 DIMM (UDIMM and RDIMM) and 262 pins of the SO-DIMM, with the A/B subchannels, the PMIC and the SPD hub sideband.
OBD2 (OBD-II, J1962)
The SAE J1962 16-pin diagnostic connector (grounds, +12 V, CAN, K-line, J1850) and the 9-pin J1939 Deutsch truck connector, black and green.
ESP32, S3, C3 and C6
ESP32-DevKitC V4, WROOM-32E module, ESP32-S3-DevKitC-1, ESP32-C3-DevKitM-1 and ESP32-C6-DevKitC-1: GPIO, ADC, UART, SPI, I2C, strapping, native USB.
Bosch ECUs EDC15P+, EDC16C34, MD1CS006
Supply, ground and CAN pins of the EDC15P+ (VW, 121-pin), kept only where two sources agree. EDC16C34 and MD1CS006: why no table is published.
RJ11, RJ14, RJ12 (6P6C)
Tip and ring on pins 3 and 4, line 2 on pins 2 and 5, 6P2C, 6P4C and 6P6C, straight or reversed cord, and the Microchip ICD debug connector.
VGA (DE-15) and DVI
All 15 VGA pins (DE-15, HD15) with DDC and +5 V, the old monitor ID bits, and the DVI-I / DVI-D 24 + 5 pin table.
RS-485 (Modbus)
TIA-485 defines no connector: the Modbus RJ45 and DB9 pinouts, A/B versus D0/D1 naming, termination and fail-safe bias.
Arduino Uno, Nano and Mega
Arduino Uno R3, Nano (ATmega328P) and Mega 2560 Rev3 headers: MCU port pins, PWM, UART, SPI, I2C, interrupts, ADC channels, power pins, and what the Uno R4 changes.
Raspberry Pi Pico
The 40 pins of Pico, Pico W, Pico 2 and Pico 2 W: GPIO, UART, I2C, SPI, ADC, PWM, VSYS/VBUS power, RUN and 3V3_EN, with a color pin map.
PC power: ATX, PCIe, fan
ATX 24-pin, EPS 8-pin CPU, PCIe 6 and 8-pin, 12V-2x6 and 4-pin PWM fan: signals, wire colors, PS_ON#, PWR_OK.