<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How To Identify Which Model Of The Raspberry Pi You Have</title><link>/products/raspberry-pi/b/blog/posts/how-to-identify-which-model-of-the-raspberry-pi-you-have</link><description>When the first Raspberry Pi was released in February 2012 it revolutionized the way makers around the world made things, and it completely changed the landscape of the development board world, and continues to do so even today. As of November 2...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How To Identify Which Model Of The Raspberry Pi You Have</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/how-to-identify-which-model-of-the-raspberry-pi-you-have</link><pubDate>Sun, 11 Jun 2017 02:05:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:338dfbec-44c5-48b6-be20-fb3bd202f455</guid><dc:creator>dougw</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Useful to have an easy way to compare.&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-profile-small jiveTT-hover-user" href="https://www.element14.com/community/people/Charles_Gantt"&gt;Charles_Gantt&lt;/a&gt; It looks like the table may have a typo - the architecture of the RPi 2B V1.2 should be the same as Pi 3B...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2237&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How To Identify Which Model Of The Raspberry Pi You Have</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/how-to-identify-which-model-of-the-raspberry-pi-you-have</link><pubDate>Sat, 10 Jun 2017 20:20:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:338dfbec-44c5-48b6-be20-fb3bd202f455</guid><dc:creator>tlhackque</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I created a simple script that will do this.&amp;nbsp; I used the data above, but since it&amp;#39;s an image, there may be typos.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Copy the script to revinfo; chmod +x and run on your Pi.&amp;nbsp; It&amp;#39;s all bash (shell), so it should run under any Pi OS.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To see the whole list (for verification) run it with &amp;#39;dump&amp;quot; as an argument (e.g. ./revinfo dump).&amp;nbsp; Note that dump isn&amp;#39;t in EXACTLY the same order as the table.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It should be easy for you to maintain.&amp;nbsp; I&amp;#39;ll post it over on the RPi forums, but since the data and idea came from here, I thought I&amp;#39;d post it here first...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Enjoy.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;#!/bin/bash&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# Identify RPI model&lt;/p&gt;&lt;p&gt;#&lt;/p&gt;&lt;p&gt;# Based on data from:&lt;/p&gt;&lt;p&gt;&lt;span&gt;#&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;a class="jive-link-blog-small" href="/products/raspberry-pi/b/blog/posts/how-to-identify-which-model-of-the-raspberry-pi-you-have"&gt;https://www.element14.com/community/community/raspberry-pi/blog/2016/11/21/how-to-identify-which-model-of-the-raspberry-pi-you-have&lt;/a&gt;&lt;/p&gt;&lt;p&gt;#&lt;/p&gt;&lt;p&gt;# Copyright 2017 Timothe Litt litt at acm ddot org&lt;/p&gt;&lt;p&gt;#&lt;/p&gt;&lt;p&gt;# Use at your own risk; otherwise unrestricted provided&lt;/p&gt;&lt;p&gt;# this notice is included in all copies.&lt;/p&gt;&lt;p&gt;#&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;declare -A revs&lt;/p&gt;&lt;p&gt;revs=( [Beta]=&amp;quot;Q1 2012|B(Beta)|?|256MB|Beta Board&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0002]=&amp;quot;Q1 2012|B|1.0|256MB|&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0003]=&amp;quot;Q3 2012|B (ECN0001)|1.0|256MB|Fuses mod and D4 removed&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0004]=&amp;quot;Q3 2012|B|2.0|256MB|Mfg by Sony&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0005]=&amp;quot;Q4 2012|B|2.0|256MB|Mfg by Qisda&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0006]=&amp;quot;Q4 2012|B|2.0|256MB|Mfg by Egoman&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0007]=&amp;quot;Q1 2013|A|2.0|256MB|Mfg by Egoman&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0008]=&amp;quot;Q1 2013|A|2.0|256MB|Mfg by Sony&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0009]=&amp;quot;Q1 2013|A|2.0|256MB|Mfg by Qisda&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [000d]=&amp;quot;Q4 2012|B|2.0|512MB|Mfg by Egoman&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [000e]=&amp;quot;Q4 2012|B|2.0|512MB|Mfg by Sony&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [000f]=&amp;quot;Q4 2012|B|2.0|512MB|Mfg by Qisda&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0010]=&amp;quot;Q3 2014|B+|1.0|512MB|Mfg by Sony&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0011]=&amp;quot;Q2 2014|Compute Module|1.0|512MB|Mfy by Sony&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0012]=&amp;quot;Q4 2014|A+|1.1|256MB|Mfg by Sony&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0013]=&amp;quot;Q1 2015|B+|1.2|512MB|Mfg by Embest&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0014]=&amp;quot;Q2 2014|Compute Module|1.0|512MB|Mfg by Embest&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0015]=&amp;quot;?|A+|1.1|256MB/512MB|Mfg by Embest&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [a01040]=&amp;quot;Unknown|2 Model B|1.0|1GB|Unknown&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [a01041]=&amp;quot;Q1 2015|2 Model B|1.1|1GB|Mfg by Sony&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [a21041]=&amp;quot;Q1 2015|2 Model B|1.1|1GB|Mfg by Embest&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [a22042]=&amp;quot;Q3 2016|2 Model B(with BCM2837)|1.2|1GB|Mfg by Embest&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [a02082]=&amp;quot;Q1 2016|3 Model B|1.2|1GB|Mfg by Sony&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [a22082]=&amp;quot;Q1 2016|3 Model B|1.2|1GB|Mfg by Embest&amp;quot;&lt;/p&gt;&lt;p&gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;function prev() {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; local rev=&amp;quot;$1&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ -z &amp;quot;${revs[$rev]}&amp;quot; ]; then&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf &amp;quot;Revision %-6s Unknown\n&amp;quot; &amp;quot;$rev&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IFS=&amp;#39;|&amp;#39; read -ra RI &amp;lt;&amp;lt;&amp;lt; &amp;quot;${revs[$rev]}&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf &amp;quot;Revision %-6s %-7s %-32s %-4s %-11s %s\n&amp;quot; \&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;$rev&amp;quot; &amp;quot;${RI[0]}&amp;quot; &amp;quot;${RI[1]}&amp;quot; &amp;quot;${RI[2]}&amp;quot; &amp;quot;${RI[3]}&amp;quot; &amp;quot;${RI[4]}&amp;quot;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;printf &amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %-6s %-7s %-32s %-4s %-11s %s\n&amp;quot; \&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;&amp;quot; &amp;quot;R.Date&amp;quot; &amp;quot;Model&amp;quot; &amp;quot;PCB&amp;quot; &amp;quot;Mem&amp;quot; &amp;quot;Notes&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;if [ -n "$1" ]; then&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( for rev in &amp;quot;${!revs[@]}&amp;quot;; do&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prev &amp;quot;$rev&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; done&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) | sort&lt;/p&gt;&lt;p&gt;else&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pi_rev=(`cat /proc/cpuinfo | grep Revision`)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; prev &amp;quot;${pi_rev[2]}&amp;quot;&lt;/p&gt;&lt;p&gt;fi&lt;/p&gt;&lt;/blockquote&gt;&lt;pre&gt;&lt;/pre&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2237&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How To Identify Which Model Of The Raspberry Pi You Have</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/how-to-identify-which-model-of-the-raspberry-pi-you-have</link><pubDate>Thu, 15 Dec 2016 15:33:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:338dfbec-44c5-48b6-be20-fb3bd202f455</guid><dc:creator>kellyhensen</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hey &lt;span&gt;[mention:b9a2161df40e46249934044770b656a6:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; (or any pi afficionados) - can you help answer this question?&amp;nbsp; Does the thickness vary across models/versions?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;a class="jive-link-message-small" href="https://www.element14.com/community/message/211157/l/thickness-of-raspberrypi3-pcb#211157" style="font-weight:inherit;font-style:inherit;"&gt;Thickness of RaspberryPi3 PCB&lt;/a&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2237&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How To Identify Which Model Of The Raspberry Pi You Have</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/how-to-identify-which-model-of-the-raspberry-pi-you-have</link><pubDate>Thu, 24 Nov 2016 22:00:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:338dfbec-44c5-48b6-be20-fb3bd202f455</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;And an interesting history of Raspberry Pi cases: &lt;a class="jive-link-external-small" href="http://elinux.org/RPi_Cases" rel="nofollow ugc noopener" target="_blank" title="http://elinux.org/RPi_Cases"&gt;RPi Cases - eLinux.org&lt;/a&gt; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2237&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How To Identify Which Model Of The Raspberry Pi You Have</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/how-to-identify-which-model-of-the-raspberry-pi-you-have</link><pubDate>Thu, 24 Nov 2016 21:57:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:338dfbec-44c5-48b6-be20-fb3bd202f455</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Interesting resource that fills in the information missing above: &lt;a class="jive-link-external-small" href="http://elinux.org/RPi_Hardware" rel="nofollow ugc noopener" target="_blank" title="http://elinux.org/RPi_Hardware"&gt;RPi Hardware - eLinux.org&lt;/a&gt; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2237&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How To Identify Which Model Of The Raspberry Pi You Have</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/how-to-identify-which-model-of-the-raspberry-pi-you-have</link><pubDate>Thu, 24 Nov 2016 13:23:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:338dfbec-44c5-48b6-be20-fb3bd202f455</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;A quick Bash command for focusing on the desired string:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;pi_rev=(`cat /proc/cpuinfo | grep Revision`); echo ${pi_rev[2]}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;A better tool would be a Python or whatever program to incorporate this Bash logic and use the table provided by &lt;span&gt;[mention:b9a2161df40e46249934044770b656a6:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; plus the others such as the Zero&amp;#39;s info to display the running Pi&amp;#39;s attributes based on the Revision string.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2237&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How To Identify Which Model Of The Raspberry Pi You Have</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/how-to-identify-which-model-of-the-raspberry-pi-you-have</link><pubDate>Tue, 22 Nov 2016 07:36:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:338dfbec-44c5-48b6-be20-fb3bd202f455</guid><dc:creator>fvan</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;It&amp;#39;s missing the Zero (both versions) ? There is also an A+ with 512MB of RAM I believe &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-338dfbec-44c5-48b6-be20-fb3bd202f455/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Otherwise, great overview!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2237&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How To Identify Which Model Of The Raspberry Pi You Have</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/how-to-identify-which-model-of-the-raspberry-pi-you-have</link><pubDate>Tue, 22 Nov 2016 02:01:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:338dfbec-44c5-48b6-be20-fb3bd202f455</guid><dc:creator>jkutzsch</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thank you &lt;span&gt;[mention:b9a2161df40e46249934044770b656a6:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;!&amp;nbsp; Great piece of information.&amp;nbsp; I especially like the cat/proc/cpuinfo to check remotely.&amp;nbsp; This will be bookmarked!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2237&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>