Facebook Twitter Instagram Pinterest YouTube
    Trending
    • Pi Pico W Launched
    • Add Kodi to RetroPie Menu
    • Disable Auto-login in Raspberry Pi OS
    • Raspberry Pi Cloud Storage with MEGA
    • RetroPie Temperature Monitor from Menu
    • Pi Pico Pinout and Power Pins
    • Install Arduino IDE on Raspberry Pi
    • Raspberry Pi 400 SSD Upgrade
    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
        May 6, 2022

        Add Kodi to RetroPie Menu

        February 26, 2022

        Disable Auto-login in Raspberry Pi OS

        February 2, 2022

        Raspberry Pi Cloud Storage with MEGA

      1. Contact Us
      2. Site Map
      Raspberry Pi SpyRaspberry Pi Spy
      You are at:Home»Hardware»Checking Raspberry Pi Revision Number & Board Version
      Raspberry Pi 3

      Checking Raspberry Pi Revision Number & Board Version

      28
      By Matt on September 5, 2012 Hardware

      Each variant of the Raspberry Pi has a different Pi Revision Number. There have now been a number of revisions to the Raspberry Pi PCB so the device you have in front of you could be one of a number of variants. The changes include mounting holes, modifications to the power supply circuitry, different GPIO headers and varying numbers of USB ports. The Pi 2 and Pi 3 introduced new CPUs and additional memory.

      Finding your Pi Revision Number is a useful technique to identify what model of Pi you have and, in some cases, where it was manufactured.

      The variants currently available are :

      As new models are released this table will be updated.

      Model and PCB RevisionRAMRevisionPi Revision Code from cpuinfo
      Model B Rev 1256MB0002
      Model B Rev 1
      ECN0001 (no fuses, D14 removed)
      256MB0003
      Model B Rev 2256MB0004
      0005
      0006
      Model A256MB0007
      0008
      0009
      Model B Rev 2512MB000d
      000e
      000f
      Model B+512MB0010
      0013
      900032
      Compute Module512MB0011
      Compute Module512MB0014 (Embest, China)
      Model A+256MB0012
      Model A+256MB0015 (Embest, China)
      Model A+512MB0015 (Embest, China)
      Pi 2 Model B v1.11GBa01041 (Sony, UK)
      Pi 2 Model B v1.11GBa21041 (Embest, China)
      Pi 2 Model B v1.21GB1.2a22042
      Pi Zero v1.2512MB1.2900092
      Pi Zero v1.3512MB1.3900093
      Pi Zero W512MB1.19000C1
      Pi 3 Model B1GB1.2a02082 (Sony, UK)
      Pi 3 Model B1GB1.2a22082 (Embest, China)
      Pi 3 Model B+1GB1.3a020d3 (Sony, UK)
      Pi 41GB1.1 a03111 (Sony, UK)
      Pi 42GB1.1 b03111 (Sony, UK)
      Pi 42GB1.2b03112 (Sony, UK)
      Pi 42GB1.4b03114 (Sony, UK)
      Pi 44GB1.1 c03111 (Sony, UK)
      Pi 44GB1.2c03112 (Sony, UK)
      Pi 44GB1.4c03114 (Sony, UK)
      Pi 48GB1.4d03114 (Sony, UK)
      Pi 4004GB1.0c03130 (Sony, UK)
      Pi Zero 2 W1GB1.0902120 (Sony, UK)

      Methods for Finding Raspberry Pi Revision Number

      In order to find out what hardware revision you have you can use two methods

      Method 1 – Pinout Utility

      In the new versions of Raspbian the pinout command was added. This can be run at the command prompt or via a terminal window :using :

      pinout

      and the output will look something like this :

      Pinout Command Output showing Pi Revision Number

      As well as the Pi Revision number this method also provides lots of other information including the position of GPIO numbers on the Pi’s GPIO Header and amount of RAM fitted. More information about the Pi’s GPIO header can be found on the simple guide to the GPIO header page.

      Method 2 – cpuinfo File

      The traditional method of finding the Pi Revision Number was reading the “cpuinfo” file by running the following command at the command prompt or via a terminal window :

       cat /proc/cpuinfo

      This will give you a text output something like this :

      Processor       : ARMv6-compatible processor rev 7 (v6l)
      BogoMIPS        : 847.05
      Features        : swp half thumb fastmult vfp edsp java tls
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant     : 0x0
      CPU part        : 0xb76
      CPU revision    : 7
      Hardware        : BCM2708
      Revision        : 0002
      Serial          : 000000000abc0ab1

      In this example I’ve got a PCB with a Revision code of 0002. That is a plain old “Model B Revision 1.0”.

      For models with multiple cores (Pi 2 and Pi 3) you will see a block of information per core with the Hardware/Revision/Serial numbers at the bottom.

      NOTE : The Revision number given in cpuinfo file is the hardware revision number. This is not the same as the Raspberry Pi Rev number sometimes used to describe updated PCBs. In this example I have a Model B “Rev 1.0” with a hardware revision code of 0002.

      The reading the cpuinfo file is a useful technique if you want to find out this information within a Python script.

      Raspberry Pi Model Information

      With the latest version of Raspbian you can also retrieve the Pi model as a string by using :

      cat /proc/device-tree/model

      This will output the model information. For example :

      Raspberry Pi 3 Model B Plus Rev 1.3

      Obviously the output will vary depending on what hardware you are running the command on.

      Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
      Previous ArticleSending SMS Text Messages Using Python
      Next Article Getting Your Raspberry Pi Serial Number Using Python

      Related Posts

      Pi Pico W Launched

      Pi Pico Pinout and Power Pins

      Raspberry Pi 400 SSD Upgrade

      28 Comments

      1. Tom on April 28, 2014 6:29 pm

        Dear Matt, I’m familiar with interfacing the old bbc micro but new to RPi. I’m designing an I/O board and am confused about the GPIO PINOUT. My RPi has cpuinfo as follows…
        Hardware BCM2708
        Revision 000e
        Serial 000000003dc78485
        Which pcb revision do I have?
        Best wishes
        Tom

        Reply
        • Matt on April 28, 2014 11:42 pm

          Almost certainly a Rev 2. It will have two mounting holes in the PCB. At the time I did this article the Rev 2 was fairly new which is why my table doesn’t cover the newer “Revision” numbers.

          Reply
          • Samuel Matthews on December 13, 2016 9:23 pm

            I’m getting a 000e revision number, but my board is a Model B Revision 1, well the specs of my board is telling me its a Rev 1, but your table shows a Rev2. Any idea?

            Reply
            • Matt on December 14, 2016 3:25 pm

              Has your Pi got mounting holes?

              Reply
        • Matt on April 26, 2021 8:27 am

          The “000e” would suggest you have a Raspberry Pi Model B (rev 2).

          Reply
      2. Tom on April 29, 2014 11:05 pm

        Hi Matt
        Many thanks.
        Onwards and upwards!
        Tom

        Reply
      3. Rodney Shinkfield on July 17, 2014 10:00 pm

        Just a bit of updating: 17th July 2014 – I’ve just bought the Raspberry Pi B+ and the revision number is 0010.

        Reply
      4. R3 on February 5, 2015 4:53 pm

        Received the new Raspberry Pi 2. Revision number is shown as “a01041”

        Reply
        • Matt on February 5, 2015 7:58 pm

          Just checked mine and it’s the same. I like the fact we now get 4 blocks of CPU detail!

          Reply
      5. Ian D on February 7, 2015 10:01 am

        Great stuff – I now know what model I have. How do I turn this into useful documentation – I/O configuration, schematic/circuit diagram particularly the former?

        Reply
      6. Travis Brown on March 11, 2015 4:57 pm

        Just FYI, when I check cpuinfo on my model 2, I get “a21041”.

        Reply
        • Matt on March 12, 2015 12:05 am

          Interesting. Apparently that means it was made in China by Embest rather than in the UK by Sony.

          Reply
      7. Michael on July 19, 2015 1:08 pm

        I received an A+ with board revision 0015 – do you know what has changed in this revision? (compared to the A+ with 0012)

        Reply
        • Matt on July 21, 2015 7:12 pm

          I’ve not seen any references to 0015 so at the moment the differences are unknown, if indeed there are any differences.

          Reply
      8. David Ferguson on January 9, 2016 3:38 pm

        Thanks for this great resource – very useful for identifying what board my software is running on! As an update, you should probably add the Pi Zero, which appears to be 90092 (source: https://pbs.twimg.com/media/CXjHluWW8AAz1bh.png)

        Reply
      9. Mat on March 11, 2016 3:39 pm

        FYI, I have a Pi3 that uses a22082.

        Reply
      10. Jelby-John on May 27, 2016 1:52 pm

        This is super useful! All but one of my 12 Pis were on the list, I have a recent PI B+ (512) with an ID of 0013. Thanks!

        Reply
      11. Richard on November 24, 2016 10:14 pm

        Thanks for the information. A quick Bash command for focusing on the desired string (“Revision”):

        pi_rev=(`cat /proc/cpuinfo | grep Revision`); echo ${pi_rev[2]}

        The above table and this Bash logic would make a very straight-forward Python program design. That is, given a Revision string value, show the mo0del and its characteristics.

        Reply
      12. SBF on August 29, 2017 4:02 pm

        It’s a bit confusing when you say Pi Zero W = 0x9000C1 (I know it’s the hexadecimal notation)
        In /proc/cpuinfo it’s 9000c1

        Nice overview anyway!

        Reply
        • Matt on August 29, 2017 8:39 pm

          Agreed. I’ve just updated it!

          Reply
      13. SBF on August 29, 2017 9:25 pm

        To get the Pi model in plain text, you can use this:
        cat /proc/device-tree/model
        might return “Raspberry Pi 3 Model B Rev 1.2”

        Reply
        • Matt on August 30, 2017 7:01 pm

          That’s really useful to know, thanks!

          Reply
      14. Pete on September 9, 2017 10:05 am

        Great info, just got a new pi 3 and the board was a slightly different shade of green. seems its the first of my pi 3’s that i have to be from the UK. So now i have 2 pi 3’s from china, 1 from the UK, 1 b+, 1 pi zero 1.2, 1 Pi Zero W, and my first is a model b rev 2 with 512 mb ram.

        Reply
      15. Tony Hansen on March 17, 2018 11:39 pm

        Thought you’d like to update your table.
        Raspberry Pi 3B+ received today returns

        Revision : a020d3

        Reply
        • Matt on March 18, 2018 9:49 am

          Thanks Tony. I’ve just checked mine and they have the same revision.

          Reply
      16. Marty on July 13, 2019 11:49 pm

        This is a very useful table. Would you please revise it for the new Pi 4 and any other models that may have been added? Or is there a better place I should look for this information?
        THANK YOU.

        Reply
      17. HackDefendr on December 25, 2019 2:51 am

        cat /proc/cpuinfo | grep ‘Model’ | cut -d: -f2-

        Reply
      18. Dave on July 22, 2020 9:52 pm

        The table is great information. Thanks for sharing. I would love to know if there is an official source for these Hardware Revision Codes and where it might be located.

        Also, for FreeBSD folks, this Hardware Revision Code is found with the sysctl command instead of /proc/cpuinfo.

        sysctl -x hw.board.revision

        This will give you the Hardware Revision Code in hexadecimal.

        Reply

      Leave A Reply Cancel Reply

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

      Recent Posts
      June 30, 2022

      Pi Pico W Launched

      May 6, 2022

      Add Kodi to RetroPie Menu

      February 26, 2022

      Disable Auto-login in Raspberry Pi OS

      February 2, 2022

      Raspberry Pi Cloud Storage with MEGA

      January 7, 2022

      RetroPie Temperature Monitor from Menu

      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
      3D Printing Arduino audio battery berryclip Birthday bluetooth cambridge camera CamJam DigiMakers display games GPIO I2C interface Kickstarter LCD LED Linux media Minecraft Model A Model B motionEyeOS PCB photography photos Pi-Lite portable power python Raspberry Jam Raspberry Pi Bootcamp raspbian Retrogaming retroPie screen SD card security sensor SPI 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
      June 30, 2022

      Pi Pico W Launched

      May 6, 2022

      Add Kodi to RetroPie Menu

      February 26, 2022

      Disable Auto-login in Raspberry Pi OS

      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

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