The pinouts of the GPIO socket on a Raspberry Pi

published Jan 07, 2016 12:29   by admin ( last modified Jan 07, 2016 12:29 )

There is a socket on a Raspberry Pi A+, B+ and  Pi 2 with 40 pins where you connect devices. A couple of things I've realized:

  • The top row has even numbers and the bottom row odd numbers, so you position the pi with the GPIO socket along the top, and then pin number 1 is to the left, bottom row. Then the pin just above it in the top row, is pin number 2.
  • However the GPIO numbering does not follow the order the pins are in the socket
  •  E.g. pin number 11 in the socket is actually GPIO number 17. So you need a chart, like in the below link:

GPIO: Models A+, B+ and Raspberry Pi 2 - Raspberry Pi Documentation