Facebook Twitter Instagram Pinterest YouTube
    Trending
    • Elecrow Meteor IPS Touchscreen with RGB LEDs
    • Pi Pico Pinout Display on the Command Line
    • How to Add a Raspberry Pi Pico Reset Button
    • Pi Pico Onboard LED
    • Pi Pico W Pinout and Power Pins
    • CrowPi L Raspberry Pi Laptop and Learning Platform
    • Pi Pico W Launched
    • Add Kodi to RetroPie Menu
    Facebook Twitter Instagram Pinterest YouTube RSS
    Raspberry Pi SpyRaspberry Pi Spy
    • Home
    • Categories
      • General
      • Hardware
      • Programming
      • Python
      • Software
      • Tutorials & Help
    • BerryClip
      • BerryClip Instructions
      • BerryClip Plus Instructions
      • Videos & Reviews
    • Buy
      • Buy Pi
      • Buy Pi Accessories
      • Buy Books
    • Tools
      • Ultimate Raspberry Pi Alexa Skill
      • Pi Power Estimator App
      • Pi-Lite 14×9 LED Matrix Sprite Editor
      • RPiREF Pin-out Reference App
      • Simple Ohm’s Law Calculator
      • Web Sites & Links
    • Tutorials & Help
        Featured
        November 9, 20200

        Raspberry Pi Temperature Monitoring

        Recent
        December 23, 2022

        How to Add a Raspberry Pi Pico Reset Button

        November 20, 2022

        Pi Pico Onboard LED

        May 6, 2022

        Add Kodi to RetroPie Menu

      1. Contact Us
      2. Site Map
      Raspberry Pi SpyRaspberry Pi Spy
      You are at:Home»Hardware»Raspberry Pi P5 Header
      Raspberry Pi P5 Header

      Raspberry Pi P5 Header

      7
      By Matt on September 13, 2012 Hardware, Tutorials & Help

      The Raspberry Pi Revision 2.0 introduced a new header to the PCB. This header is called P5 and consists of 8 pins. It is located directly underneath the standard 26 way P1 GPIO header.

      It was intended that this header is populated on the underside of the PCB so any connectors or cables do not interfere with the P1 header. Pin 1 has a square pad whereas the other 7 have circular pads.

      The P5 pins provide :

      • +5V, 3V3 and Ground
      • GPIO28
      • GPIO29
      • GPIO30
      • GPIO31

      Here are some photos showing the location of the P5 header in relation to the 26 way P1 header :

      P5 Header (Top View)
      P5 Header (Topside)
      P5 Header (Bottom View)
      P5 Header (Underside)

      Raspberry Pi GPIO Layout - P5 Header UndersideHere is the pin-out of the P5 header where the square pad is always Pin 1 and Pin 8 is always in the opposite corner :

      1. +5V
      2. +3V3
      3. GPIO28
      4. GPIO29
      5. GPIO30
      6. GPIO31
      7. Ground
      8. Ground

      Raspberry Pi GPIO Layout - P5 Header TopsideWhen viewing the underside of the board the layout is mirrored but Pin 1 is still marked with a square pad and Pin 8 is always in the opposite corner.

      This header is unpopulated to use it you need to solder your own pin header to the board. The intention is that you would solder a pin header to the underside of the board to avoid getting in the way of P1 and the other headers on the topside.

      This is why P5 is labelled on the underside of the PCB but how you solder bits to the board is ultimately your decision based on your requirements.

      2x4 8 Way Pin HeaderTo the right is a photo of the header you need to solder to the PCB. It is a 0.1 inch pitch, 2×4 Pin Header. It may also be described as “8 way” rather than “2×4”. These cost less than £1/$1.

       

      Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
      Previous ArticleRaspberry Pi Revision 2.0 Photos
      Next Article Bristol Raspberry Pi Jam – October 2012

      Related Posts

      Elecrow Meteor IPS Touchscreen with RGB LEDs

      Pi Pico Pinout Display on the Command Line

      How to Add a Raspberry Pi Pico Reset Button

      7 Comments

      1. papablo on September 23, 2012 9:09 pm

        Could have been pretty to see this connector with the i2c bus but anyway, good job!

        Reply
        • Matt on September 24, 2012 1:12 pm

          I may update it to include the i2c info at a later date. At the moment I don’t know much about i2c so I have tended to avoid going into any detail. At some point I’ll get an LCD screen with an i2c interface and have a play with that.

          Reply
      2. Matthew Manning on October 27, 2012 5:34 pm

        Hey dude,

        Did you ever solder anything into this and try it for real?

        Reply
        • Matt on October 29, 2012 8:14 pm

          I only probed the PCB pads with a multimeter. No soldering yet … but now the Welsh 256MB model is a collector’s item I may not subject it to any soldering!

          Reply
      3. el dozo on May 20, 2014 1:54 pm

        Hey Matt, many thanks for this post!
        I’ve just burn out the SDA pin on GPIO because n00bness and I was going to buy a new RaspberryPi, I owe you 25$!
        Keep up with the good work man

        Reply
      4. Pingback: irrigaPi - irrigare il giardino con lo smartphone (o via web) grazie ad un Raspberry Pi - Alessandro GrechiAlessandro Grechi

      5. Kris Tucker on October 28, 2014 2:45 pm

        Im about to make use of the P5, gonna make a small little board with an i2c rtc (ds1307) with an LED for sqw_out and a ds1621, i2c thermostat with pretty high resolution, with its output pin connected to one of the GPIO, an atTINY85 for its ADC (connected over i2c, they run fine on 3v3), and of course a battery. the atTINY85 will be able to measure the level of the battery, the pi 5v source and 3v3 source. might add a tiny buzzer in there connected to a GPIO of the pi or attiny.
        Anyway, while doing the research for what id need to implement, it looks like getting i2c on the p5 requires sending some commands to enable it on p5, otherwise it is on s5. this link describes why and how: http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=33092

        Reply

      Leave A Reply Cancel Reply

      This site uses Akismet to reduce spam. Learn how your comment data is processed.

      Recent Posts
      March 13, 2023

      Elecrow Meteor IPS Touchscreen with RGB LEDs

      December 26, 2022

      Pi Pico Pinout Display on the Command Line

      December 23, 2022

      How to Add a Raspberry Pi Pico Reset Button

      November 20, 2022

      Pi Pico Onboard LED

      November 14, 2022

      Pi Pico W Pinout and Power Pins

      Categories
      • 1-wire
      • 3D Printing
      • Add-ons
      • BBC Micro:bit
      • BerryClip
      • Books
      • Camera Module
      • Cases
      • Events
      • General
      • Hardware
      • I2C
      • Infographics
      • Interfaces
      • Minecraft
      • Model A+
      • Model B+
      • News
      • Pi Models
      • Pi Pico
      • Pi Zero
      • Power
      • Programming
      • Python
      • Raspberry Pi OS
      • Raspbian
      • RetroGaming
      • Robotics
      • Sensors
      • Software
      • SPI
      • Tutorials & Help
      Tags
      Arduino audio battery berryclip Birthday bluetooth cambridge camera CamJam DigiMakers display games GPIO I2C interface Kickstarter Kodi LCD LED Linux media Minecraft Model A motionEyeOS PCB photography photos Pi-Lite Pi Pico power python Raspberry Jam Raspberry Pi Bootcamp raspbian Retrogaming retroPie screen SD card security sensor SPI SSH temperature ultrasonic video
      Raspberry PI Related
      • Adafruit Blog
      • Average Maker
      • Official RaspBerry Pi Site
      • Raspberry Pi Pod
      • RasPi.tv
      • RaspTut
      • Stuff About Code
      Tech Resources
      • MattsBits – Pi Resources
      • Microbit Spy
      • Technology Spy
      Archives
      About

      Unofficial site devoted to the Raspberry Pi credit card sized computer offering tutorials, guides, resources,scripts and downloads. We hope to help everyone get the most out of their Pi by providing clear, simple articles on configuring, programming and operating it.

      Popular Posts
      September 19, 2014

      Top 5 Reasons The Raspberry Pi Sucks

      July 27, 2012

      16×2 LCD Module Control Using Python

      October 20, 2013

      Analogue Sensors On The Raspberry Pi Using An MCP3008

      Recent Posts
      March 13, 2023

      Elecrow Meteor IPS Touchscreen with RGB LEDs

      December 26, 2022

      Pi Pico Pinout Display on the Command Line

      December 23, 2022

      How to Add a Raspberry Pi Pico Reset Button

      Facebook Twitter Instagram Pinterest YouTube RSS

      Entries RSS | Comments RSS

      This site is not associated with the official Raspberrypi.org site or the Raspberry Pi Foundation. Raspberry Pi is a trademark of the Raspberry Pi Foundation.

      Copyright © 2022 - All Rights Reserved - Matt Hawkins

      mastodon.social@RPiSpy

      Type above and press Enter to search. Press Esc to cancel.