{"id":1724,"date":"2020-10-28T07:45:34","date_gmt":"2020-10-28T12:45:34","guid":{"rendered":"https:\/\/www.dalemorin.com\/?p=1724"},"modified":"2020-12-12T06:14:16","modified_gmt":"2020-12-12T12:14:16","slug":"a-raspberry-pi-project","status":"publish","type":"post","link":"https:\/\/www.dalemorin.com\/?p=1724","title":{"rendered":"A Raspberry Pi project"},"content":{"rendered":"<p>I had not played around with a Raspberry Pi SBC (single board computer) before now, and I&#8217;m not really sure why not. Maybe because I have enough computers around the house, but I suspect the real reason is that I just didn&#8217;t have a viable use for it. I came up with one, and decided to jump in.<\/p>\n<p>I picked up a Raspberry Pi 4B with 4gb ram from <a href=\"https:\/\/www.canakit.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Canakit<\/a>. It came with a power supply, a 32gb micro-sd card containing NOOBS (New Out Of Box Software), and the raspberry pi itself. Connecting an HDMI monitor and keyboard\/mouse was trivial. Inserted the micro-sd card, and powered it up. A few minutes later I had a running computer. I updated the software, which was easy using the available tools from the OS. Not blazingly fast by any measure, but usable. Now toy day is always a good day.<\/p>\n<p>I decided that I wanted a case for it, so I did some digging around and chose the <a href=\"https:\/\/www.argon40.com\/argon-one-raspberry-pi-4-case.html\" target=\"_blank\" rel=\"noopener noreferrer\">Argon One<\/a> case. The plus for this case is that the connections are routed out the back of the case, and it has a programmable power switch. There is a very nice <a href=\"https:\/\/gitlab.com\/DarkElvenAngel\/argononed\" target=\"_blank\" rel=\"noopener noreferrer\">program<\/a> that uses an overlay to manage the fan and the power switch. A long press of the power switch shuts the pi down; a double-press reboots the pi, and a single press will start it if the power is off. You can set the temperature thresholds and desired fan speeds, and the settings survive a reboot.<\/p>\n<p>I decided to use an SSD instead of the micro-sd card to hold the OS and also wanted to boot the pi with this configuration. The micro-sd card would not be needed once this is configured. I picked up <a href=\"https:\/\/www.amazon.com\/gp\/product\/B0781Z7Y3S\/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&amp;psc=1\" target=\"_blank\" rel=\"noopener noreferrer\">this SSD<\/a> and <a href=\"https:\/\/www.amazon.com\/gp\/product\/B0716JKJ68\/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&amp;psc=1\" target=\"_blank\" rel=\"noopener noreferrer\">this adapter<\/a> to connect it to one of the USB3 ports. Worked great. Except for the small hiccup &#8211; you can copy the running OS to the SSD, but you can&#8217;t boot an SSD from the NOOBS version of Raspbian. So I downloaded an ISO of the Raspbian OS, loaded it onto the micro-sd card, and powered up the pi. I had to reconfigure everything that I had just finished configuring, but since that was recently done it went fairly quickly.<\/p>\n<p>Copying the OS to the SSD was simple using the &#8220;SD Card Copier&#8221; utility from the &#8220;Accessories&#8221; menu, and we were at the precipice. Powered down the pi, removed the micro-sd, and powered up the pi. It booted just fine, and I was now running the pi with a 500gb SSD. Not really a major accomplishment, but a big step forward in performance and reliability.<\/p>\n<p>Now we have a Raspberry Pi in a well-designed case, using a 500gb SSD for storage, and a daemon that manages temperature, fan speed, and the multiple functions of the power button.\u00a0 A very good start.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had not played around with a Raspberry Pi SBC (single board computer) before now, and I&#8217;m not really sure why not. Maybe because I have enough computers around the house, but I suspect the real reason is that I just didn&#8217;t have a viable use for it. I came up with one, and decided &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.dalemorin.com\/?p=1724\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A Raspberry Pi project&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"class_list":["post-1724","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/www.dalemorin.com\/index.php?rest_route=\/wp\/v2\/posts\/1724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dalemorin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dalemorin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dalemorin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dalemorin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1724"}],"version-history":[{"count":8,"href":"https:\/\/www.dalemorin.com\/index.php?rest_route=\/wp\/v2\/posts\/1724\/revisions"}],"predecessor-version":[{"id":1777,"href":"https:\/\/www.dalemorin.com\/index.php?rest_route=\/wp\/v2\/posts\/1724\/revisions\/1777"}],"wp:attachment":[{"href":"https:\/\/www.dalemorin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dalemorin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dalemorin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}