{"id":8801,"date":"2019-11-29T11:12:49","date_gmt":"2019-11-29T15:12:49","guid":{"rendered":"https:\/\/starlightcascade.ca\/blog\/?p=8801"},"modified":"2019-12-05T12:37:46","modified_gmt":"2019-12-05T16:37:46","slug":"pi-pi-everywhere-a-pi","status":"publish","type":"post","link":"https:\/\/starlightcascade.ca\/blog\/2019\/11\/pi-pi-everywhere-a-pi\/","title":{"rendered":"pi pi everywhere a pi"},"content":{"rendered":"<p><figure id=\"attachment_5989\" aria-describedby=\"caption-attachment-5989\" style=\"width: 275px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/10\/pi.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/10\/pi.jpg\" alt=\"\" width=\"275\" height=\"183\" class=\"size-full wp-image-5989\" srcset=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/10\/pi.jpg 275w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/10\/pi-150x99.jpg 150w\" sizes=\"auto, (max-width: 275px) 100vw, 275px\" \/><\/a><figcaption id=\"caption-attachment-5989\" class=\"wp-caption-text\">raspberry pi<\/figcaption><\/figure><br \/>\nWe recently did an inventory of all of the Raspberry Pi computers we had kicking about:<\/p>\n<p>1x pi1b  2014ish 1 core  700 MHz, 512MB, 2xUSB2, ethernet, hdmi<br \/>\n1x pi2b  2016ish 4 core  900 MHz, 1GB, 4xusb2, ethernet, hdmi<br \/>\n3x pi3b  2017ish 4 core 1200 MHz, 1GB, 4xusb2, ethernet, hdmi, wifi 802.11n<\/p>\n<p>The oldest pi1b we had used as a command line interface datalogging from a davis vantage vue weatherstation, since 2014.  Then the weather station died.  I wanted to try and see if this would drive a 55&#8243; display running in a lobby, putting out a dynamic website with the chromium web browser *and* using xrdp, use windows remote desktop protocol to command and control it remotely.<\/p>\n<p>One step at a time.  Downloaded and installed the latest Raspian OS, &#8220;Buster&#8221; and used &#8220;Balena Ethcher&#8221; to flash the biggest graphical version with software onto an 8GB microSD card with SD adapter.  That took a couple of hours but did in fact worked.<\/p>\n<p>The Pi came up, repartitioned itself, came up again into a nice graphical desktop.  Opening up a terminal we did a &#8220;sudo apt-get update&#8221; then a &#8220;sudo apt-get upgrade&#8221; then a &#8220;sudo apt-get install xrdp&#8221;.<br \/>\nA little bit of research showed how to start up the built in chromium web browser automatically, and in kiosk mode:<br \/>\nsudo nano \/etc\/xdg\/lxsession\/LXDE-pi\/autostart&#8221;<br \/>\nAdd the following line:<br \/>\n\/usr\/bin\/chromium &#8211;kiosk &#8211;disable-restore-session-state<br \/>\nalso, start up the web browser, go to the website we wanted, and added that into the startup settings as the initial home page to open up.<br \/>\nRebooted and it all worked!<br \/>\nNow mind you, displaying on a 1080p display was a little slow, but the functionality was there.<br \/>\nAttempting to remote desktop  from a windows machine did also in fact work&#8230; but very slowly.  On the order of a minute and the background wallpaper appeared.  another minute and the web browser appeared.<br \/>\nIt was unmanageable.<\/p>\n<p>So the moral of this story &#8230; old tech is in fact a little too slow for some things.  So we will shelve this model pi and try the next one up&#8230; the Pi2B with 4 CPU cores instead of 1 core, 900 MHz clock speed instead of 700MHz, and more RAM.<br \/>\nWe should be able to remove the microSD card and transfer it across to the new Pi&#8230; will find out tomorrow!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We recently did an inventory of all of the Raspberry Pi computers we had kicking about: 1x pi1b 2014ish 1 core 700 MHz, 512MB, 2xUSB2, ethernet, hdmi 1x pi2b 2016ish 4 core 900 MHz, 1GB, 4xusb2, ethernet, hdmi 3x pi3b 2017ish 4 core 1200 MHz, 1GB, 4xusb2, ethernet, hdmi, wifi 802.11n The oldest pi1b we [&hellip;]<\/p>\n","protected":false},"author":494,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-8801","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/8801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/users\/494"}],"replies":[{"embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/comments?post=8801"}],"version-history":[{"count":3,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/8801\/revisions"}],"predecessor-version":[{"id":8821,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/8801\/revisions\/8821"}],"wp:attachment":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/media?parent=8801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/categories?post=8801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/tags?post=8801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}