I’m sharing a custom EAGLE CAD (.lbr) library for the Raspberry Pi 5 40-pin GPIO header.
This library includes:
-
Schematic symbol with clean GPIO pin names (GPIO2, GPIO3, etc.)
-
Through-hole package (2×20, 2.54 mm header)
-
Fully mapped device (1:1 pin-to-pad mapping)
-
Clear pin-1 marking
-
Power pins split (3V3_1 / 3V3_2, 5V_1 / 5V_2, GND_1…GND_8) to avoid ambiguity in EAGLE
Notes
-
Compatible with Raspberry Pi 2 / 3 / 4 / 5 (standard 40-pin header)
-
GPIO aliases (I2C, SPI, UART) are documented in the symbol description
-
Intended for HATs, shields and educational projects
link - https://github.com/alfadar-cmd/xpto/blob/main/eagle/raspberry_pi_5_40pin_eagle.lbr