Skip to content

raspi_pin_description

Xipeng Wang edited this page Apr 11, 2017 · 8 revisions

RasPi Pin Despriptions


j8header-3b-large.png


3v3 [PIN_01]             [PIN_02] 5v
GPIO02 [PIN_03]     [PIN_04] 5v
GPIO03 [PIN_05]     [PIN_06] GND
GPIO04 [PIN_07]     [PIN_08] GPIO14
GND [PIN_09]           [PIN_10] GPIO15
GPIO17 [PIN_11]     [PIN_12] GPIO18
GPIO27 [PIN_13]     [PIN_14] GND
GPIO22 [PIN_15]     [PIN_16] GPIO23
3v3 [PIN_17]             [PIN_18] GPIO24
GPIO10 [PIN_19]     [PIN_20] GND
GPIO09 [PIN_21]     [PIN_22] GPIO25
GPIO11 [PIN_23]     [PIN_24] GPIO08
GND000 [PIN_25]     [PIN_26] GPIO07
GPIO00 [PIN_27]     [PIN_28] GPIO01
GPIO05 [PIN_29]     [PIN_30] GND
GPIO06 [PIN_31]     [PIN_32] GPIO12
GPIO13 [PIN_33]     [PIN_34] GND
GPIO19 [PIN_35]     [PIN_36] GPIO16
GPIO26 [PIN_37]     [PIN_38] GPIO20
GND [PIN_39]          [PIN_40] GPIO21


  • Normal PINs for writing and reading
    All pins can be set as input or output. (GPIO Examples)

  • PWM PINs are defined as follow: (PWM Examples)
    GPIO12 - PIN_33: PWM0 [ALT0]
    GPIO13 - PIN_32: PWM1 [ALT0]
    GPIO18 - PIN_12: PWM0 [ALT5]
    GPIO19 - PIN_35: PWM1 [ALT5]

  • I2C PINs are defined as follow: (I2C Examples)
    GPIO00 - PIN_27: I2C0 - SDA0 [ALT0]
    GPIO01 - PIN_28: I2C0 - SCL0 [ALT0]
    GPIO02 - PIN_03: I2C0 - SDA1 [ALT0]
    GPIO03 - PIN_05: I2C0 - SCL1 [ALT0]

  • SPI PINs are defined as follow: (SPI Examples)
    GPIO08 - PIN_24: SPI0 - CE0 [ALT0]
    GPIO07 - PIN_26: SPI0 - CE1 [ALT0]
    GPIO09 - PIN_21: SPI0 - MISO [ALT0]
    GPIO10 - PIN_19: SPI0 - MOSI [ALT0]
    GPIO11 - PIN_23: SPI0 - SCLK [ALT0]

  • UART PINs are defined as follow: (UART_Examples)
    GPIO014 - PIN_8: UART - TX0 [ALT0]
    GPIO015 - PIN_10: UART - RX0 [ALT0]

Clone this wiki locally