{"id":7185,"date":"2016-09-19T08:21:50","date_gmt":"2016-09-19T12:21:50","guid":{"rendered":"http:\/\/starlightcascade.ca\/blog\/?p=7185"},"modified":"2016-09-19T10:30:00","modified_gmt":"2016-09-19T14:30:00","slug":"raspberry-pi-rules","status":"publish","type":"post","link":"https:\/\/starlightcascade.ca\/blog\/2016\/09\/raspberry-pi-rules\/","title":{"rendered":"Raspberry Pi rules!"},"content":{"rendered":"<figure id=\"attachment_5989\" aria-describedby=\"caption-attachment-5989\" style=\"width: 275px\" class=\"wp-caption alignright\"><a href=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/10\/pi.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/10\/pi.jpg\" alt=\"raspberry pi\" 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>\n<p>Yay! Success! After a year.. or two.. the time and pi and motivation all came together in the space of under an hour last night.<\/p>\n<p>Since 2002 we have had a weather station of some type (first a Radio  Shack model, then an Oregon Scientific, and most recently a David  Vantage Vue), data logging to a computer and sending it to <a href=\"https:\/\/www.wunderground.com\/personal-weather-station\/dashboard?ID=IONTARIO51\" target=\"_blank\">The Weather Underground data repository<\/a>.  We have gone through many computers in that time and each one of them took anywhere from 60-100Watts of power, 24\/365&#8230; a sizeable amount in this day and age of high energy costs.  At 100 watts * 24 hours = 2.4kwh * $0.223\/kwd= 53 cents\/day = about $200\/year.<\/p>\n<p>Last week the latest hand-me-down computer died&#8230; arcs and melted power connections on the motherboard, not worth fixing or even replacing.<\/p>\n<p>Last night I dug out the first Raspberry Pi Model B+ out of its box, hooked it into a display and keyboard, and installed the weewx package.<br \/>\nAnother 30 minutes of tinkering with the configuration and then moving it into the same room as the weather station console, and connecting it,<br \/>\nand Presto!  We were online again.<\/p>\n<p><a href=\"http:\/\/www.weewx.com\" target=\"_blank\">www.weewx.com <\/a>supports many weather stations, supports uploads to major<br \/>\nwebsites, and also allows FTP upload to your own site (still working on that one).<br \/>\n(that is now working as well&#8230; <a href=\"\/weather\/index.html\">look here for the page the weewx generates<\/a>)<br \/>\nThe best part is that it takes on the order of 2 Watts of power, not  40-100 (depending on what the computer was doing&#8230; updates, virus  scans, etc).<\/p>\n<p>Some of the software installation required a lot of manual installs of various python libraries, and that is  what took most of the time to setup.<\/p>\n<p>Now that we have proof positive that these little beggars can work, it is time to look forward to the next project&#8230; either the tinyastro one<br \/>\nor a simpler observatory surveillance camera system (or.. how do those mice get up there on top of the scope?)<\/p>\n<p>From: https:\/\/www.raspberrypi.org\/products\/model-b\/<br \/>\nRaspberry Pi B has 512MB RAM@400MHz, 2GB microSD card running raspbian, 2 USB<br \/>\nports, 100Mbps ethernet.  From 2014 August!  Broadcom BCM2835 chip, ARMv6 single core CPU, 700MHz processor speed, 3 watt power max draw,<\/p>\n<p>Always a little more expensive in Canada, I got this from amazon.ca from<br \/>\ncanakits.  Close to $90 at the time.<\/p>\n<p><a href=\"http:\/\/store.qkits.com\/\" target=\"_blank\">QKits in Kingston<\/a> has them in single or kit form, for less (Raspberry Pi 2 Model B $55).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yay! Success! After a year.. or two.. the time and pi and motivation all came together in the space of under an hour last night. Since 2002 we have had a weather station of some type (first a Radio Shack model, then an Oregon Scientific, and most recently a David Vantage Vue), data logging to [&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,16],"tags":[],"class_list":["post-7185","post","type-post","status-publish","format-standard","hentry","category-tech","category-weather"],"_links":{"self":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/7185","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=7185"}],"version-history":[{"count":12,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/7185\/revisions"}],"predecessor-version":[{"id":7199,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/7185\/revisions\/7199"}],"wp:attachment":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/media?parent=7185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/categories?post=7185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/tags?post=7185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}