{"id":1420,"date":"2014-10-31T00:00:35","date_gmt":"2014-10-31T07:00:35","guid":{"rendered":"http:\/\/192.168.3.4\/?p=1420"},"modified":"2018-01-09T06:49:51","modified_gmt":"2018-01-09T14:49:51","slug":"raspberry-pi-the-basics","status":"publish","type":"post","link":"https:\/\/www.cloudacm.com\/?p=1420","title":{"rendered":"Raspberry Pi &#8211; The basics"},"content":{"rendered":"<p><strong>Introduction &#8211; there is always a need for an introduction<\/strong><\/p>\n<p>When I first\u00a0saw\u00a0the Raspberry Pi, I was amazed at the simplicity. \u00a0My thoughts were it&#8217;s a linux pc on an small embedded platform. \u00a0I recalled a balloon project that predated the release of the first Raspberry Pi. \u00a0Now everyone can do it.<\/p>\n<p>Everyone except me. \u00a0All though the RPi is touted as being simple, I managed to find\u00a0the complexity. \u00a0It&#8217;s really my\u00a0oversight, I&#8217;m so farsighted, I&#8217;m\u00a0nearsighted.<\/p>\n<p><strong>Purpose &#8211; what is needed to get it running<\/strong><\/p>\n<p>The RPi has some requirements to operate normally. \u00a0It may seem obvious, but I overlooked this and observed some really strange behavior. \u00a0Power is supplied through a micro B USB connector. \u00a0The supply should be rated for 5Volts DC with 1.8Amps of current. \u00a0Just because the micro B USB connector fits, doesn&#8217;t mean it will power it. \u00a0I had a wall adapter that was used to charge a bluetooth headset at 180mA. \u00a0The RPi would boot, but would crash then reboot over and over again. \u00a0This is when I began to have\u00a0strange behavior. \u00a0First I thought it was a government conspiracy, then I ranted about oppression, then I had an ale and excepted my place in society.<\/p>\n<p><strong>Detail &#8211; save yourself the embarrassment<\/strong><\/p>\n<p>Do yourself a favor, get a power source rated for the load. \u00a0Once I calmed down and used the correct power source, it ran as expected. \u00a0Pheww, that\u00a0aluminum\u00a0hat was itchy.<\/p>\n<p>Next, the RPi needs some OS to load from memory. \u00a0The OS can be <a href=\"http:\/\/www.raspberrypi.org\/downloads\/\" target=\"_blank\">downloaded from the\u00a0organizer<\/a>&#8216;s website. \u00a0Once downloaded, the data is placed on either a micro SD or regular SD memory card, depending on what flavor or RPi you&#8217;re using. \u00a0I&#8217;m a bit of an overachiever and have both. \u00a0You can use a micro SD for both, but you&#8217;ll need a SD adapter if you plan to use it with the older RPi. The <a href=\"http:\/\/www.raspberrypi.org\/documentation\/installation\/installing-images\/README.md\" target=\"_blank\">setup instructions<\/a> can be found online, I can attest, they work.<\/p>\n<p>Once you&#8217;ve made it over the hump, next up is loading the OS. \u00a0To do this you&#8217;ll need to connect the KVM, this stands for keyboard, video, and mouse. \u00a0You&#8217;ll have to interact with the OS load up options and select what pertains. \u00a0After a few moments with a progress bar, you&#8217;ll be were you are.<\/p>\n<p>I found some <a href=\"http:\/\/www.raspberrypi.org\/forums\/viewtopic.php?f=91&amp;t=74176\" target=\"_blank\">online tips<\/a> on running headless. \u00a0This is running the RPi without the KVM. \u00a0You will need to have a network connection. \u00a0You can use either the built in ethernet port or use a USB wifi adapter. \u00a0I did not find a way to install the OS in this mode, largely due to the fact the network layer wasn&#8217;t active. \u00a0With that said, use the KVM to load the OS, then go headless, otherwise loose your head like me.<\/p>\n<p>Once the RPi OS is loaded and\u00a0you want to go headless you can SSH into the RPi using programs that support it. \u00a0For windows users, <a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/\" target=\"_blank\">PUTTY<\/a> is the most popular choice. \u00a0The <a href=\"http:\/\/www.youtube.com\/watch?v=J_8ZsXP1EYk\" target=\"_blank\">rest of you<\/a> folks can use terminal, easy peasy.<\/p>\n<p>One thing I find useful is enabling RDP on RPi using the command, &#8220;sudo apt-get install xrdp&#8221;. \u00a0Once it is run, now I can remote into the desktop and have a near similar experience. \u00a0The reason I say near is because some programs won&#8217;t run the same, such as\u00a0<a href=\"http:\/\/pi.minecraft.net\/\" target=\"_blank\">Minecraft Pi edition<\/a>.<\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/WWsBmioSMcQ\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Once all this is done, you&#8217;re well on your way.<\/p>\n<p><strong>Relations &#8211; great, now what<\/strong><\/p>\n<p>One of the big things I&#8217;ll be using RPi in the coming months is the vision features. \u00a0I would like to run OpenCV and have it interact with the 1080p camera module that RPi uses. \u00a0I was able to mistake the display\u00a0module slot on the RPi for the camera module. \u00a0Using this port to display the camera input could be useful.<\/p>\n<p>There is a near IR camera module named <a href=\"http:\/\/www.raspberrypi.org\/products\/pi-noir-camera\/\" target=\"_blank\">Pi Noir<\/a>. \u00a0Using this module with the <a href=\"http:\/\/www.sainsmart.com\/sainsmart-3-2-tft-lcd-module-320-240-touch-screen-display-for-raspberry-pi.html\" target=\"_blank\">display module port<\/a> and some near IR illumination, one could make a night vision camera. \u00a0I still would like to run a single system with a dual camera input.<\/p>\n<p>It looks like the RPi can take the place of 2 mobuis cameras. \u00a0Another application for the RPi is a <a href=\"http:\/\/pidashcam.blogspot.com\/2013\/09\/configuration.html\" target=\"_blank\">dashcam<\/a>. \u00a0The thing that&#8217;s nice about the mobius is it can operate as a webcam. \u00a0I&#8217;ve seen <a href=\"http:\/\/www.arducam.com\/\" target=\"_blank\">some leg work<\/a> in this area, I&#8217;ll have to wait and see.<\/p>\n<p><strong>Summary &#8211; now that you know<\/strong><\/p>\n<p>The RPi is a small\u00a0inexpensive platform that is flexible. \u00a0It has a set of features that can be used for a broad host of applications. \u00a0The low power and small size make it practical for field use. \u00a0Albeit the RPI is simple in appearence, it is a complex device with special functions that have yet to be realized by the public at large.<\/p>\n<p>Covering the basics is a good first step for anyone considering using it. \u00a0The solid foundation will make the experience more productive and enjoyable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction &#8211; there is always a need for an introduction When I first\u00a0saw\u00a0the Raspberry Pi, I was amazed at the simplicity. \u00a0My thoughts were it&#8217;s a linux pc on an small embedded platform. \u00a0I recalled a balloon project that predated the release of the first Raspberry Pi. \u00a0Now everyone can do it. Everyone except me. \u00a0All though the RPi is touted as being simple, I managed to find\u00a0the complexity. \u00a0It&#8217;s really my\u00a0oversight, I&#8217;m so farsighted, I&#8217;m\u00a0nearsighted. Purpose &#8211; what is&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.cloudacm.com\/?p=1420\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,3],"tags":[],"class_list":["post-1420","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","category-rd"],"_links":{"self":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts\/1420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1420"}],"version-history":[{"count":16,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts\/1420\/revisions"}],"predecessor-version":[{"id":1441,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts\/1420\/revisions\/1441"}],"wp:attachment":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}