LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pinout

displays an ASCII diagram of the GPIO header on Raspberry Pi boards

TLDR

Display GPIO pinout diagram
$ pinout
copy
Open pinout.xyz website
$ pinout -x
copy

SYNOPSIS

pinout [-x|--xyz] [-r revision] [-c|--color]

DESCRIPTION

pinout displays an ASCII diagram of the GPIO header on Raspberry Pi boards. It shows pin numbers, GPIO numbers, and function labels for all 40 pins, helping identify connections for hardware projects.The tool automatically detects the Pi model and displays the appropriate pinout. It's part of the gpiozero Python package's command-line tools.

PARAMETERS

-x, --xyz

Open pinout.xyz website in default browser
-r _revision_
Show pinout for specific board revision
-c, --color
Force colored output
-m, --monochrome
Force monochrome output

INSTALL

sudo apt install python3-gpiozero
copy
sudo dnf install python3-gpiozero
copy

CAVEATS

Only works on Raspberry Pi hardware. Requires gpiozero package. May not recognize very new Pi models until package is updated. ASCII output best viewed in terminal with sufficient width.

HISTORY

pinout is part of gpiozero, a Python library for GPIO programming created by Ben Nuttall and the Raspberry Pi Foundation. It provides a friendly interface for understanding Pi GPIO layouts without external documentation.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid