檢視 Raspberry Pi 的原始碼
←
Raspberry Pi
前往:
導覽
、
搜尋
由於下列原因,您沒有權限進行 編輯此頁面 的動作:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
=== GPIO connector === RPi A+,B+ GPIO J8 40-pin pinout. [http://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/Raspberry-Pi-B-Plus-V1.2-Schematics.pdf] Models A and B have only the first 26 pins. {| class="wikitable" ! GPIO# ! 2nd fun ! pin# ! ! pin# ! 2nd fun ! GPIO# |- | - | +3V3 | style="background:orange"| 1 | | style="background:red"| 2 | +5V | - |- | GPIO2 | SDA1 (I2C) | style="background:#00FFFF"| 3 | | style="background:red"| 4 | +5V | - |- | GPIO3 | SCL1 (I2C) | style="background:#00FFFF"| 5 | | style="background:black; color:white"| 6 | GND | - |- | GPIO4 | GCLK | style="background:green"| 7 | | style="background:#00FF80"| 8 | TXD0 (UART) | GPIO14 |- | - | GND | style="background:black; color:white"| 9 | | style="background:#00FF80"|10 | RXD0 (UART) | GPIO15 |- | GPIO17 | GEN0 | style="background:green"|11 | | style="background:green"|12 | GEN1 | GPIO18 |- | GPIO27 | GEN2 | style="background:green"|13 | | style="background:black; color:white"|14 | GND | - |- | GPIO22 | GEN3 | style="background:green"|15 | | style="background:green"|16 | GEN4 | GPIO23 |- | - | +3V3 | style="background:orange"|17 | | style="background:green"|18 | GEN5 | GPIO24 |- | GPIO10 | MOSI (SPI) | style="background:#FF00FF"|19 | | style="background:black; color:white"|20 | GND | - |- | GPIO9 | MISO (SPI) | style="background:#FF00FF"|21 | | style="background:green"|22 | GEN6 | GPIO25 |- | GPIO11 | SCLK (SPI) | style="background:#FF00FF"|23 | | style="background:#FF00FF"|24 | CE0_N (SPI) | GPIO8 |- | - | GND | style="background:black; color:white"|25 | | style="background:#FF00FF"|26 | CE1_N (SPI) | GPIO7 |- | align="center" colspan="7" | ''(Models A and B stop here)'' |- | EEPROM | ID_SD | style="background:yellow"|27 | | style="background:yellow"|28 | ID_SC | EEPROM |- | GPIO5 | - | style="background:green"|29 | | style="background:black; color:white"|30 | GND | - |- | GPIO6 | - | style="background:green"|31 | | style="background:green"|32 | - | GPIO12 |- | GPIO13 | - | style="background:green"|33 | | style="background:black; color:white"|34 | GND | - |- | GPIO19 | - | style="background:green"|35 | | style="background:green"|36 | - | GPIO16 |- | GPIO26 | - | style="background:green"|37 | | style="background:green"|38 | - | GPIO20 |- | - | GND | style="background:black; color:white"|39 | | style="background:green"|40 | - | GPIO21 |- |} Model B rev 2 also has a pad P6 of 8 pins offering access to an additional 4 GPIO connections. [http://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/Raspberry-Pi-Rev-2.1-Model-AB-Schematics.pdf] {| class="wikitable" ! Function ! pin# ! ! pin# ! Function |- | +5V | style="background:red"| 1 | | style="background:orange"| 2 | +3V3 |- | GPIO_GEN7 | style="background:green"|3 | | style="background:green"|4 | GPIO_GEN8 |- | GPIO_GEN9 | style="background:green"|5 | | style="background:green"|6 | GPIO_GEN10 |- | GND | style="background:black; color:white"| 7 | | style="background:black; color:white"| 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. == [[application - MX35LFxGE4AB, SPI NAND Flash ]] == == [[application - Keyes 38KHz IR Infrared Transmitter Module]] == == [[application - u-blox NEO-6M, GPS module ]] == == [[application - DS1302 ,RTC module ]] == == [[application - HC-SR04, Ultrasonic ranging module ]] == == [[application - LPC1768, SPI communication ]] == == [[application - MAX7219, LED dot matrix ]] == == [[bluetooth keyboard auto connect]] == == [[RoboPeak Mini USB Display]] == == [[application - Wifi AP ]] == == [[application - GPS tracker ]] == == [[application - Speech Recognition ]] == == [[application - Alexa ]] == == [[aoolication - Greengrass]] == == [[application - Google Assistant ]] == == [[application - Monitor GPIO interrupt in userspace ]] == == [[application - 3-axis accelerometer, GID-SSS/U10 ]] == == [[application - RFID, PN532 ]] == == [[application - RFID, RC522 ]] == == [[u-boot]] == == [[kernel]] == == [[Android]] ==
返回「
Raspberry Pi
」頁面
導覽選單
個人工具
登入
命名空間
頁面
討論
變體
檢視
閱讀
檢視原始碼
檢視歷史
更多
搜尋
導覽
首頁
近期變更
隨機頁面
說明
工具
連結至此的頁面
相關變更
特殊頁面
頁面資訊