{"id":1217,"date":"2015-11-08T12:29:44","date_gmt":"2015-11-08T19:29:44","guid":{"rendered":"http:\/\/www.coastalvectors.com\/blog\/?p=1217"},"modified":"2017-09-07T14:13:43","modified_gmt":"2017-09-07T21:13:43","slug":"apple-pi","status":"publish","type":"post","link":"https:\/\/www.coastalvectors.com\/blog\/2015\/11\/apple-pi\/","title":{"rendered":"Apple Pi"},"content":{"rendered":"<p><a href=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_2771_e.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1228\" src=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_2771_e-450x315.jpg\" alt=\"IMG_2771_e\" width=\"450\" height=\"315\" srcset=\"https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_2771_e-450x315.jpg 450w, https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_2771_e-750x526.jpg 750w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>I recently (2 years ago) purchased a Raspberry Pi (The original model). I bought it off a friend who never ended up using it for anything useful. My intent was to run a small web server with it, and enjoy some savings over the old computer I use for a server that was eating up more than 100 watts of energy.<\/p>\n<p>I also didn&#8217;t care for the case it came with. I also happened to have a first generation Airport Extreme that I also got second hand. It served it&#8217;s purpose, but had since died. I thought these two might be a match-made in heaven.<\/p>\n<p>I gutted the poor airport extreme and inspected it.<\/p>\n<p><a href=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46251.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1224 size-medium\" src=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46251-450x338.jpg\" alt=\"\" width=\"450\" height=\"338\" srcset=\"https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46251-450x338.jpg 450w, https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46251-750x563.jpg 750w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>It didn&#8217;t know what hit him.<\/p>\n<p><a href=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46281.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1225 size-medium\" src=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46281-450x338.jpg\" alt=\"\" width=\"450\" height=\"338\" srcset=\"https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46281-450x338.jpg 450w, https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46281-750x563.jpg 750w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>I was going to throw out the PCB entirely, until I noticed that the Raspberry Pi had two holes that matched up perfectly with two holes on the Airport&#8217;s main board. I decided to keep the circuit board for mounting purposes, and reuse it&#8217;s input jacks since they line up so nicely with the enclosure.<\/p>\n<p>I desoldered all the parts I could near the connectors, and then marked off the part of the PCB I could remove. The intent was to remove all the circuitry that would be difficult to desolder. The result was a completely bare, partial PCB to work with.<\/p>\n<p><a href=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46291.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1226 size-medium\" src=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46291-450x338.jpg\" alt=\"\" width=\"450\" height=\"338\" srcset=\"https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46291-450x338.jpg 450w, https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_46291-750x563.jpg 750w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>I then soldered power, USB and ethernet cables to the circuit board that would then connect to the Pi (so it&#8217;s not hardwired in, and can be swapped).<\/p>\n<p><a href=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_0231_e.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1227\" src=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_0231_e-450x387.jpg\" alt=\"IMG_0231_e\" width=\"450\" height=\"387\" srcset=\"https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_0231_e-450x387.jpg 450w, https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/IMG_0231_e-697x600.jpg 697w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>Now I have a low power web server in a cute, unassuming box.<\/p>\n<p>I also wanted to have the filesystem accessible over AFP so I could access it on my desktop. this was easily achieved by installing netatalk using the command:<\/p>\n<pre><code>sudo apt-get install netatalk<\/code><\/pre>\n<p>Now that I have the server&#8217;s disk mounted on my Mac&#8217;s desktop, naturally I need a representative icon.<\/p>\n<p><a href=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/Airport2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1218\" src=\"http:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/Airport2-450x450.png\" alt=\"Airport2\" width=\"450\" height=\"450\" srcset=\"https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/Airport2-450x450.png 450w, https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/Airport2-150x150.png 150w, https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/Airport2-600x600.png 600w, https:\/\/www.coastalvectors.com\/blog\/wp-content\/uploads\/2015\/10\/Airport2.png 1024w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>Using a reference picture, I was able to throw this icon together in Illustrator in about a half-hour&#8217;s time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently (2 years ago) purchased a Raspberry Pi (The original model). I bought it off a friend who never ended up using it for anything useful. My intent was to run a small web server with it, and enjoy some savings over the old computer I use for a server that was eating up &hellip; <a href=\"https:\/\/www.coastalvectors.com\/blog\/2015\/11\/apple-pi\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Apple Pi<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,11],"tags":[],"class_list":["post-1217","post","type-post","status-publish","format-standard","hentry","category-design","category-projects"],"_links":{"self":[{"href":"https:\/\/www.coastalvectors.com\/blog\/wp-json\/wp\/v2\/posts\/1217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coastalvectors.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coastalvectors.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coastalvectors.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coastalvectors.com\/blog\/wp-json\/wp\/v2\/comments?post=1217"}],"version-history":[{"count":4,"href":"https:\/\/www.coastalvectors.com\/blog\/wp-json\/wp\/v2\/posts\/1217\/revisions"}],"predecessor-version":[{"id":1230,"href":"https:\/\/www.coastalvectors.com\/blog\/wp-json\/wp\/v2\/posts\/1217\/revisions\/1230"}],"wp:attachment":[{"href":"https:\/\/www.coastalvectors.com\/blog\/wp-json\/wp\/v2\/media?parent=1217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coastalvectors.com\/blog\/wp-json\/wp\/v2\/categories?post=1217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coastalvectors.com\/blog\/wp-json\/wp\/v2\/tags?post=1217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}