{"id":252,"date":"2024-09-15T21:50:51","date_gmt":"2024-09-16T01:50:51","guid":{"rendered":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/?p=252"},"modified":"2024-10-11T08:59:28","modified_gmt":"2024-10-11T12:59:28","slug":"installing-an-m-2-hat-on-a-raspberry-pi-5","status":"publish","type":"post","link":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/?p=252","title":{"rendered":"Installing an M.2 HAT+ on a Raspberry Pi 5"},"content":{"rendered":"\n<p>Setup a Raspberry Pi 5 system with standard SD card configuration.  Use the Raspberry Pi Imager to configure the Pi.<br><br>update the raspi:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt full-upgrade<\/code><\/pre>\n\n\n\n<p>and also update the firmware:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo rpi-eeprom-update -a<\/code><\/pre>\n\n\n\n<p>Shut down the Raspberry Pi.<\/p>\n\n\n\n<p>Install and connect the Raspberry Pi Active Cooler.<\/p>\n\n\n\n<p>The M.2 HAT+ should come with at least four short screws and four long screws, along with four threaded standoffs.  Attach the standoffs to the Pi so that they are on top of the Pi.<\/p>\n\n\n\n<p>Add the GPIO extender to the Pi&#8217;s GPIO pins.  Push down on either end, or with a small screwdriver, to get the extender securely attached.<\/p>\n\n\n\n<p>Open the PI&#8217;s PCIe connector using your fingernails. Connect the HAT+ ribbon cable to the PCIe connector, and close the connector.<\/p>\n\n\n\n<p>Align the HAT+&#8217;s GPIO  over the GPIO connector and push down evenly.<\/p>\n\n\n\n<p>Use the short screws to connect the HAT+ to the standoffs.<\/p>\n\n\n\n<p>Install the Raspberry Pi into its case.<\/p>\n\n\n\n<p>Boot the Raspberry Pi using the SD card as your boot device.<\/p>\n\n\n\n<p>Use the Raspberry Pi Imager to install the Raspberry Pi software to the NVME drive.<\/p>\n\n\n\n<p>Run from a command prompt:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo raspi-config<\/code><\/pre>\n\n\n\n<p>Under Advanced Options, go to Boot Order, then choose NVMe\/USB boot.<\/p>\n\n\n\n<p>Exit raspi-config, then shutdown.  Remove the SD card, and boot the Pi.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setup a Raspberry Pi 5 system with standard SD card configuration. Use the Raspberry Pi Imager to configure the Pi. update the raspi: and also update the firmware: Shut down the Raspberry Pi. Install and connect the Raspberry Pi Active Cooler. The M.2 HAT+ should come with at least four short screws and four long [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-252","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=252"}],"version-history":[{"count":3,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/252\/revisions"}],"predecessor-version":[{"id":255,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/252\/revisions\/255"}],"wp:attachment":[{"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}