P1 & P5 pinouts R1 & R2


7 posts
by bigjohnson » Fri Sep 14, 2012 2:02 pm
Hello all,
I've published a Raspberry pinout P1 and P5 for R2, P1 for R1 and B+.

Alberto
Last edited by bigjohnson on Wed Jul 16, 2014 9:59 am, edited 1 time in total.
http://www.panu.it/raspberry/ Raspberry Pi GPIO pinout details
http://www.panu.it/raspand232/ Raspberry Pi serial console
http://www.panu.it/raspandmax/ use MAX1202 MAX1203 MAX1204 SPI adc with Raspberry Pi
Posts: 11
Joined: Thu Jun 28, 2012 8:55 am
Location: Milan, Italy
by Burngate » Fri Sep 14, 2012 3:17 pm
Like
Brain surgery is easier than psychoanalysis
User avatar
Posts: 2653
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK
by mahjongg » Fri Sep 14, 2012 5:31 pm
You must mean P1 and P5 for Rev2 boards, and P1 for Rev1 boards.
Also you really should show pictures of P5 shot from the back of the board, depicting it from the top is confusing, P5 belongs (is designed to be mounted) on the bottom of the board, that is why pin 1 is on the top left, and all the other pins are mirrored too if you look at P5 from the wrong side!
IDE connectors, and the pinheaders they connect to are numbered in a very specific way, to ensure that the first wire on a flatcable connects to pin 1, and the second one to pin 2 etc. If you put the pinheader on the wrong side, and connect an IDE connector to it, the numbering mixes up all even and uneven numbers. This will generate massive confusion, so please do the right thing, and directly learn people to count the pinning from a connector mounted on the bottom side.
User avatar
Forum Moderator
Forum Moderator
Posts: 4928
Joined: Sun Mar 11, 2012 12:19 am
by MattHawkinsUK » Fri Sep 14, 2012 7:49 pm
If you look at the underside of the board Pin 1 is the square pad which is in the top right or top left depending on how you are holding the board. If you turn the board so the "P5" label is the right way round the header is the wrong way up. i.e. Pin 1 is only bottom left if the "P5" is upside down.

Really the "P5" label should be rotated.

The only thing that matters is that Pin1 is the square pad and Pin 8 is in the opposite corner. As long you route the metal to the correct place you can attach the header anyway you like.
My Raspberry Pi blog and home of the BerryClip Add-on board : http://www.raspberrypi-spy.co.uk/
Follow me on Google+, Facebook and Twitter (@RPiSpy)
User avatar
Posts: 480
Joined: Tue Jan 10, 2012 8:48 pm
Location: UK
by jbeale » Fri Sep 14, 2012 8:16 pm
Thanks for making the nice tables! I see you are still showing six of the P1 pins as "DNC" (do not connect) but I believe that has changed.

Eben made a little-noticed remark in the comments section on this blog post http://www.raspberrypi.org/archives/1929#comments
which gives us permission to connect to the previously hands-off DNC pins. They had been reserved for possible future use with more GPIO pins, but as it turned out, in Rev 2 they moved those pins to the entirely new connector P5, and the P1 DNC pins (which are power and ground connections) now and in future will remain as they are.

See also: http://elinux.org/Rpi_Low-level_peripherals
The power and ground connections previously marked "Do Not Connect" on P1 will remain as connected, specifically:
    P1-04: +5V0
    P1-09: GND
    P1-14: GND
    P1-17: +3V3
    P1-20: GND
    P1-25: GND
User avatar
Posts: 1967
Joined: Tue Nov 22, 2011 11:51 pm
by bigjohnson » Mon Sep 17, 2012 9:38 am
Thanks for the suggestions,
I've add the R2 pins an modified the images.

Alberto
http://www.panu.it/raspberry/ Raspberry Pi GPIO pinout details
http://www.panu.it/raspand232/ Raspberry Pi serial console
http://www.panu.it/raspandmax/ use MAX1202 MAX1203 MAX1204 SPI adc with Raspberry Pi
Posts: 11
Joined: Thu Jun 28, 2012 8:55 am
Location: Milan, Italy
by ReadiesCards » Sat Mar 16, 2013 1:49 pm
Wow very useful.

Please can you add a similar chart for P2 (and I do mean P2) which on the Rev1 board is populated with a very useful header as it has extra GND pins

Thanks
Paul - still Googling for a P2 pinout
Posts: 39
Joined: Sun May 13, 2012 5:22 am