Skip to content
Paul Cowan edited this page Nov 5, 2013 · 3 revisions

Raspberry Pi R3 GPIO Pin Assignments

KegNet Function WiringPi Pin Hardware Pin Function Header LEFT Header RIGHT Function Hardware Pin wiringPi Pin KegNet Function
- 3V3 1 2 5V0 5.0V
- 8 2 I2C1_SDA 3 4 5V0 -
- 9 3 I2C1_SCL 5 6 GND -
W1 TEMP 7 4 GPCLK0 7 8 UART0_TXD 14 15 -
GND 9 10 UART0_RXD 15 16 -
FLOW METER 1 0 17 - 11 12 PCM_CLK 18 1 -
LED 2 27 PCM_DOUT 13 14 GND -
FLOW METER 2 3 22 - 15 16 - 23 4 FLOW METER 3 (?)
3V3 17 18 - 24 5 BUTTON/FLOW METER 4 (?)
- 12 10 SPI0_MOSI 19 20 GND -
- 13 9 SPI0_MISO 21 22 - 25 6 -
- 14 11 SPI0_SCLK 23 24 SPI0_CE0_N 8 10 -
GND GND 25 26 SPI0_CE1_N 7 11 -

Notes

  • Numbering applies to Raspberry Pi REV 3 board only
  • Hardware pin is the pin number assigned by the BCM2835 chip, also called BCM Pin
  • The 1-wire temperature probe only seems to work on BCM pin 4 with current kernel modules
  • Flow meter assignments
    • I'm designing for 2 flow meters only, but we could go up to 5 or maybe more
    • Flow meters 3-5 and button are not actually used yet and could change
  • This table is a combination of information from the following sources
Clone this wiki locally