{"id":3366,"date":"2013-02-24T17:40:40","date_gmt":"2013-02-24T23:40:40","guid":{"rendered":"http:\/\/w0ep.us\/OM\/?p=3366"},"modified":"2013-02-24T17:40:40","modified_gmt":"2013-02-24T23:40:40","slug":"progress-on-autonomous-weather-station","status":"publish","type":"post","link":"http:\/\/w0ep.us\/OM\/?p=3366","title":{"rendered":"Progress on autonomous weather station"},"content":{"rendered":"<p>[Today&#8217;s run: rest day]<\/p>\n<p>I started off the day working on my BeagleBone project.\u00a0 As you may recall, the idea is to hook up weather station equipment to one of these little single-board-computers\u00a0 (SBCs) which will collect the weather data via serial port, format web pages, and serve the web pages over wifi.<\/p>\n<p>I&#8217;ve been having some trouble with the wifi angle.\u00a0 But yesterday my serial level-shifter devices\u00a0 arrived in the mail.\u00a0 So early this morning I started working on the serial port setup.\u00a0 I am using a jumper board and the instructions on a couple of websites(<a title=\"beaglebone 101 using the serial and analog pins\" href=\"http:\/\/www.gigamegablog.com\/2012\/01\/22\/beaglebone-coding-101-using-the-serial-and-analog-pins\/\" target=\"_blank\">1<\/a>,<a title=\"beaglebone serial ports and xbees\" href=\"http:\/\/www.jerome-bernard.com\/blog\/2012\/06\/04\/beaglebone-serial-ports-and-xbees\/\" target=\"_blank\">2<\/a>).\u00a0 I am using UART2, for anyone who may care.<\/p>\n<p>I had ordered two types of level-shifters from sparkfun.com.\u00a0 One was the <a href=\"https:\/\/www.sparkfun.com\/products\/8745\" target=\"_blank\">cheapie at $1.95<\/a> and the other used a real <a href=\"https:\/\/www.sparkfun.com\/products\/11189\" target=\"_blank\">MAX3232\u00a0 level-shifter chip for $5.95<\/a>.\u00a0 I wrestled with the cheapie for a couple of hours and could only get garbled rs-232 weather stuff on it.\u00a0 I tried all sorts of serial port settings and nothing helped.<\/p>\n<p>Then I switched to the MAX3232 board and it all started working.\u00a0 So that is that!\u00a0 I now have the weather station data going into the BeagleBone and I can send commands to the weather station also.<\/p>\n<p>Next step was to get the web server and PHP running.\u00a0 That turned out to be pretty easy, again due to a <a href=\"http:\/\/blog.coolaj86.com\/articles\/lighttpd-supersedes-apache-and-php-on-gumstix.html\" target=\"_blank\">handy website which covered it all<\/a>.<\/p>\n<p>Now I need to download and install the wview software.\u00a0 I hope to have the whole thing working, except for the wifi part, by the end of the week.\u00a0 Left to be accomplished, in addition to wifi, will be autonomous power sources, maybe a solar panel, battery and charge controller.<\/p>\n<p><a href=\"http:\/\/w0ep.us\/OM\/?attachment_id=3367\" rel=\"attachment wp-att-3367\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-3367\" alt=\"BeagleBone doing serial port to weather station\" src=\"http:\/\/w0ep.us\/OM\/wp-content\/uploads\/2013\/02\/GEDC0451.jpg\" width=\"640\" height=\"480\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Today&#8217;s run: rest day] I started off the day working on my BeagleBone project.\u00a0 As you may recall, the idea is to hook up weather station equipment to one of these little single-board-computers\u00a0 (SBCs) which will collect the weather data via serial port, format web pages, and serve the web pages over wifi. I&#8217;ve been [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-3366","post","type-post","status-publish","format-standard","hentry","category-ham-radio"],"_links":{"self":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts\/3366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3366"}],"version-history":[{"count":1,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts\/3366\/revisions"}],"predecessor-version":[{"id":3368,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts\/3366\/revisions\/3368"}],"wp:attachment":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3366"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}