{"id":2808,"date":"2017-08-17T15:13:50","date_gmt":"2017-08-17T15:13:50","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=2808"},"modified":"2017-08-17T15:24:00","modified_gmt":"2017-08-17T15:24:00","slug":"detect-rpi-hardware-version","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/command-line\/detect-rpi-hardware-version","title":{"rendered":"Detect RPi Hardware Version"},"content":{"rendered":"<h4>\nGet Human Readable Hardware Details<br \/>\n<\/h4>\n<pre>\r\n<code>\r\ncat \/proc\/cpuinfo\r\n<\/code><\/pre>\n<h4>\nGet RPi Version Code<br \/>\n<\/h4>\n<p>\nUse the command:\n<\/p>\n<pre>\r\n<code>\r\ncat \/proc\/cpuinfo | grep &#39;Revision&#39; | awk &#39;{print $3}&#39;\r\n<\/code><\/pre>\n<p>\nThe returned code can be looked up on the table at&nbsp;<a href=\"http:\/\/www.raspberrypi-spy.co.uk\/2012\/09\/checking-your-raspberry-pi-board-version\/\">http:\/\/www.raspberrypi-spy.co.uk\/2012\/09\/checking-your-raspberry-pi-board-version\/<\/a>&nbsp;, copied below:\n<\/p>\n<p>\n<a href=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2017\/08\/rpi_hardware_codes.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-2809\" height=\"926\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2017\/08\/rpi_hardware_codes.png\" width=\"588\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2017\/08\/rpi_hardware_codes.png 588w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2017\/08\/rpi_hardware_codes-190x300.png 190w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2017\/08\/rpi_hardware_codes-38x60.png 38w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2017\/08\/rpi_hardware_codes-95x150.png 95w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/a>\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Get Human Readable Hardware Details cat \/proc\/cpuinfo Get RPi Version Code Use the command: cat \/proc\/cpuinfo | grep &#39;Revision&#39; | awk &#39;{print $3}&#39; The returned code can be looked up on the table at&nbsp;http:\/\/www.raspberrypi-spy.co.uk\/2012\/09\/checking-your-raspberry-pi-board-version\/&nbsp;, copied below: &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-2808","post","type-post","status-publish","format-standard","hentry","category-command-line"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=2808"}],"version-history":[{"count":2,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2808\/revisions"}],"predecessor-version":[{"id":2811,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2808\/revisions\/2811"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=2808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=2808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=2808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}