出自flip the world

Raspberry Pi:修訂間差異

Tommy​(留言 | 貢獻)
Convert heading-links to a Related projects list; fix MAX7219 and drop non-existent PN532
Tommy​(留言 | 貢獻)
Add a lead sentence
 
(未顯示同一使用者於中間所作的 2次修訂)
第1行: 第1行:
=== GPIO connector ===
The '''Raspberry Pi''' is the single-board computer most of the projects on this wiki are built around. This page collects its GPIO pinout.
 
== GPIO connector ==
RPi A+,B+ GPIO J8 40-pin pinout.  
RPi A+,B+ GPIO J8 40-pin pinout.  
[http://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/Raspberry-Pi-B-Plus-V1.2-Schematics.pdf]
[http://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/Raspberry-Pi-B-Plus-V1.2-Schematics.pdf]
第217行: 第219行:
== Related projects ==
== Related projects ==


* [[application - MX35LFxGE4AB, SPI NAND Flash]]
* [[Application - MX35LFxGE4AB, SPI NAND Flash]]
* [[application - Keyes 38KHz IR Infrared Transmitter Module]]
* [[Application - Keyes 38KHz IR Infrared Transmitter Module]]
* [[application - u-blox NEO-6M, GPS module]]
* [[Application - u-blox NEO-6M, GPS module]]
* [[Application - DS1302, RTC module]]
* [[Application - DS1302, RTC module]]
* [[application - HC-SR04, Ultrasonic ranging module]]
* [[Application - HC-SR04, Ultrasonic ranging module]]
* [[application - LPC1768, SPI communication]]
* [[Application - LPC1768, SPI communication]]
* [[Application - MAX7219, Serially Interfaced, 8-Digit LED Display Drivers (scrolling text)]]
* [[Application - MAX7219, Serially Interfaced, 8-Digit LED Display Drivers (scrolling text)]]
* [[Application - MAX7219, Serially Interfaced, 8-Digit LED Display Drivers (interact with MPR121)]]
* [[Application - MAX7219, Serially Interfaced, 8-Digit LED Display Drivers (interact with MPR121)]]
* [[bluetooth keyboard auto connect]]
* [[Bluetooth keyboard auto connect]]
* [[RoboPeak Mini USB Display]]
* [[RoboPeak Mini USB Display]]
* [[application - Wifi AP]]
* [[Application - Wifi AP]]
* [[application - GPS tracker]]
* [[Application - GPS tracker]]
* [[application - Speech Recognition]]
* [[Application - Speech Recognition]]
* [[application - Alexa]]
* [[Application - Alexa]]
* [[Application - Greengrass]]
* [[Application - Greengrass]]
* [[application - Google Assistant]]
* [[Application - Google Assistant]]
* [[application - Monitor GPIO interrupt in userspace]]
* [[Application - Monitor GPIO interrupt in userspace]]
* [[application - 3-axis accelerometer, GID-SSS/U10]]
* [[Application - 3-axis accelerometer, GID-SSS/U10]]
* [[application - RFID, RC522]]
* [[Application - RFID, RC522]]
* [[u-boot]]
* [[U-boot]]
* [[kernel]]
* [[Kernel]]
* [[Android]]
* [[Android]]


[[Category:Boards and SoCs]]
[[Category:Boards and SoCs]]

2026年8月23日 (日) 17:57的最新修訂

The Raspberry Pi is the single-board computer most of the projects on this wiki are built around. This page collects its GPIO pinout.

GPIO connector

RPi A+,B+ GPIO J8 40-pin pinout. [1] Models A and B have only the first 26 pins.

GPIO# 2nd fun pin# pin# 2nd fun GPIO#
- +3V3 1 2 +5V -
GPIO2 SDA1 (I2C) 3 4 +5V -
GPIO3 SCL1 (I2C) 5 6 GND -
GPIO4 GCLK 7 8 TXD0 (UART) GPIO14
- GND 9 10 RXD0 (UART) GPIO15
GPIO17 GEN0 11 12 GEN1 GPIO18
GPIO27 GEN2 13 14 GND -
GPIO22 GEN3 15 16 GEN4 GPIO23
- +3V3 17 18 GEN5 GPIO24
GPIO10 MOSI (SPI) 19 20 GND -
GPIO9 MISO (SPI) 21 22 GEN6 GPIO25
GPIO11 SCLK (SPI) 23 24 CE0_N (SPI) GPIO8
- GND 25 26 CE1_N (SPI) GPIO7
(Models A and B stop here)
EEPROM ID_SD 27 28 ID_SC EEPROM
GPIO5 - 29 30 GND -
GPIO6 - 31 32 - GPIO12
GPIO13 - 33 34 GND -
GPIO19 - 35 36 - GPIO16
GPIO26 - 37 38 - GPIO20
- GND 39 40 - GPIO21

Model B rev 2 also has a pad P6 of 8 pins offering access to an additional 4 GPIO connections. [2]

Function pin# pin# Function
+5V 1 2 +3V3
GPIO_GEN7 3 4 GPIO_GEN8
GPIO_GEN9 5 6 GPIO_GEN10
GND 7 8 GND

Models A and B provide GPIO access to the ACT status LED using GPIO 16. Models A+ and B+ provide GPIO access to the ACT status LED using GPIO 47, and the Power status LED using GPIO 35.

Related projects