-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Raspberry Pi Pinout | ||
|
||
[![Badge: Raspberry Pi](https://img.shields.io/badge/Raspberry%20Pi-C51A4A?logo=Raspberry-Pi)](#readme) | ||
|
||
Raspberry Pi GPIO pinout: | ||
|
||
| # | | PIN | | | PIN | | # | | ||
|----|-----------|------|----|----|------|----------|----| | ||
| 1 | 3v3 Power | `1` | π§ | π΄ | `2` | 5v Power | 20 | | ||
| 2 | GPIO 2 | `3` | π΅ | π΄ | `4` | 5v Power | 19 | | ||
| 3 | GPIO 3 | `5` | π΅ | β« | `6` | *Ground* | 18 | | ||
| 4 | GPIO 4 | `7` | π’ | π£ | `8` | GPIO 14 | 17 | | ||
| 5 | *Ground* | `9` | β« | π£ | `10` | GPIO 15 | 16 | | ||
| 6 | GPIO 17 | `11` | π’ | π€ | `12` | GPIO 18 | 15 | | ||
| 7 | GPIO 27 | `13` | π’ | β« | `14` | *Ground* | 14 | | ||
| 8 | GPIO 22 | `15` | π’ | π’ | `16` | GPIO 23 | 13 | | ||
| 9 | 3v3 Power | `17` | π | π’ | `18` | GPIO 24 | 12 | | ||
| 10 | GPIO 10 | `19` | π‘ | β« | `20` | *Ground* | 11 | | ||
| 11 | GPIO 9 | `21` | π‘ | π’ | `22` | GPIO 25 | 10 | | ||
| 12 | GPIO 11 | `23` | π‘ | π‘ | `24` | GPIO 8 | 9 | | ||
| 13 | *Ground* | `25` | β« | π‘ | `26` | GPIO 7 | 8 | | ||
| 14 | GPIO 0 | `27` | π΅ | π΅ | `28` | GPIO 1 | 7 | | ||
| 15 | GPIO 5 | `29` | π’ | β« | `30` | *Ground* | 6 | | ||
| 16 | GPIO 6 | `31` | π’ | π’ | `32` | GPIO 12 | 5 | | ||
| 17 | GPIO 13 | `33` | π’ | β« | `34` | *Ground* | 4 | | ||
| 18 | GPIO 19 | `35` | π€ | π’ | `36` | GPIO 16 | 3 | | ||
| 19 | GPIO 26 | `37` | π’ | π€ | `38` | GPIO 20 | 2 | | ||
| 20 | *Ground* | `39` | β« | π€ | `40` | GPIO 21 | 1 | | ||
|
||
**Legend:** | ||
|
||
* π’ GPIO (General Purpose IO) | ||
* π‘ SPI (Serial Peripheral Interface) | ||
* π΅ I2C (Inter-integrated Circuit) | ||
* π£ UART (Universal Asyncronous) | ||
* π€ PCM (Pulse Code Modulation) | ||
* β« Ground | ||
* π΄ 5v (Power) | ||
* π 3.3v (Power) | ||
|
||
The number (#) on the left and right should help you count the pins. | ||
This way you can find the pin you need faster. | ||
|
||
Source: <https://pinout.xyz/> |