{"id":1487,"date":"2013-10-08T23:49:49","date_gmt":"2013-10-09T04:49:49","guid":{"rendered":"http:\/\/www.leucht.com\/blog\/?p=1487"},"modified":"2016-02-06T21:46:10","modified_gmt":"2016-02-07T02:46:10","slug":"my-unexpected-but-fully-paid-vacation-day-6","status":"publish","type":"post","link":"http:\/\/www.leucht.com\/blog\/2013\/10\/my-unexpected-but-fully-paid-vacation-day-6\/","title":{"rendered":"My unexpected (but fully paid) vacation: Day 6"},"content":{"rendered":"<p>This is my little digital journal from the government shutdown. \u00a0Today is day 6 (Tuesday Oct 8th), not counting the weekend. \u00a0<a href=\"http:\/\/www.leucht.com\/blog\/tag\/furlough\/\">Click here to see all of my government shutdown journal entries.<\/a><\/p>\n<p>Today I got up at 8am and got caught up on my Facebook news feed. \u00a0Yesterday my weight ended in 7 so I weighed myself again this morning and it ended in 5, so I guess yesterday&#8217;s weight was a bit off. \u00a0I realize that your body weight fluctuates and there&#8217;s no reason to weigh yourself every single day, but yesterday&#8217;s weight was a bit alarming, so I wanted to check again today.<\/p>\n<p>I looked over my to-do list and decided to try not to do a lot of physical work today. \u00a0Sometimes your body just needs a relaxing day. \u00a0But I still wanted to get some to-do items knocked off my list, so I found some things that didn&#8217;t involve a lot of sweat and tears. \u00a0My first task was to add a guest account to my boys computer. \u00a0My 11 year old a couple weeks ago asked me to add a guest account and add a password to the account that he and his brother use every day. \u00a0Apparently the boys are a little annoyed when friends come over to play and they mess up their places and scores in some of the apps and games they like to play.<\/p>\n<p>Then I upgraded my blog software, <a href=\"http:\/\/wordpress.com\/\" target=\"_blank\">WordPress<\/a>, on my web server. \u00a0You probably didn&#8217;t notice since it looks and acts the same. \u00a0Then I spent a little bit of time practicing a solo that I was recently given in <a href=\"http:\/\/www.parkavenue.org\/\" target=\"_blank\">my church<\/a>&#8216;s Christmas program. \u00a0My wife was out of the house for a few hours this morning, so I was able to launch a YouTube version of the song and sing along at full volume without anyone hearing me. \u00a0After that, I worked some more on some VHS video tapes that I&#8217;m transferring to DVD. \u00a0Once I started to get hungry, I made myself a chicken wrap for lunch and ate it.<\/p>\n<p>Then I drove over to the local fitness center and gave blood. \u00a0I had missed a couple opportunities to give blood at work several weeks ago, so I&#8217;ve been keeping my eye out for the blood-mobile in town. \u00a0<a href=\"http:\/\/www.oneblood.org\/\" target=\"_blank\">Their website has a list of upcoming locations in case you&#8217;re wanting to give blood<\/a>. \u00a0You could save a life!<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.leucht.com\/blog\/wp-content\/uploads\/2013\/10\/blood-mobile.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-1495\" src=\"http:\/\/www.leucht.com\/blog\/wp-content\/uploads\/2013\/10\/blood-mobile-300x400.jpg\" alt=\"blood-mobile\" width=\"300\" height=\"400\" srcset=\"http:\/\/www.leucht.com\/blog\/wp-content\/uploads\/2013\/10\/blood-mobile-300x400.jpg 300w, http:\/\/www.leucht.com\/blog\/wp-content\/uploads\/2013\/10\/blood-mobile-768x1024.jpg 768w, http:\/\/www.leucht.com\/blog\/wp-content\/uploads\/2013\/10\/blood-mobile.jpg 1200w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>While I was out of the house, I stopped into Firestone and got my oil changed and also got my busted wheel lug replaced. \u00a0I had busted off a wheel lug a couple months ago when I was changing a flat tire by hand. \u00a0Don&#8217;t know my own strength, I suppose. \u00a0Then I ran through Lowes for a couple pieces of fireplace trim that I need to install.<\/p>\n<p>Then I went back home and worked on a case mod for my new tiny little <a href=\"http:\/\/www.raspberrypi.org\/\" target=\"_blank\">Raspberry Pi single board computer<\/a>. \u00a0The board came in a plastic case for shipping, but I added some holes for cables and such. \u00a0Once I got it in a case, I felt more comfortable handling it and so I moved it over next to the house modem so I could plug it into the Internet connection and perform some software downloads and installations. \u00a0I then wrote a simple program on the Raspberry Pi in\u00a0<a href=\"http:\/\/www.python.org\/\" target=\"_blank\">Python<\/a>\u00a0to turn on and off an output channel on the I\/O bus.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.leucht.com\/blog\/wp-content\/uploads\/2013\/10\/raspberry-pi-case-mod.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-1496\" src=\"http:\/\/www.leucht.com\/blog\/wp-content\/uploads\/2013\/10\/raspberry-pi-case-mod-400x300.jpg\" alt=\"raspberry-pi-case-mod\" width=\"400\" height=\"300\" srcset=\"http:\/\/www.leucht.com\/blog\/wp-content\/uploads\/2013\/10\/raspberry-pi-case-mod-400x300.jpg 400w, http:\/\/www.leucht.com\/blog\/wp-content\/uploads\/2013\/10\/raspberry-pi-case-mod-1024x768.jpg 1024w, http:\/\/www.leucht.com\/blog\/wp-content\/uploads\/2013\/10\/raspberry-pi-case-mod.jpg 1600w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>By this time, I had run out of time and had to go shower and go to choir rehearsal. \u00a0This week is our first week of working on our Christmas program music. \u00a0We had a very good turnout of folks who were starting tonight specifically to be in the Christmas program.<\/p>\n<p>After choir rehearsal, I got back to playing with my new tiny computer. \u00a0I verified using a digital multimeter that the channel on the I\/O connector was actually being set ON (3.3 volts) and OFF (0 volts) by the Python script that I had written earlier. \u00a0This allows the operator to energize or deenergize a relay which can turn on and off lots of different things, like motors, etc. \u00a0Basically this thing can control a small or not too complex robot or other electronics that you can think of. \u00a0I&#8217;ve got lots of little project ideas for this little computer, but the first project that I want to work on is controlling devices wirelessly using a web interface from my laptop or from my smartphone. \u00a0So after proving that I could turn on and off the channel from the Python script, I installed Apache web server along with PHP and mySQL.<\/p>\n<p>I tweaked my Python script to run from the web browser under CGI, but it would not run successfully because the I\/O library that it was using required adminitrative rights to run. \u00a0So I turned to another I\/O library for the Raspberry Pi called <a href=\"http:\/\/wiringpi.com\/\" target=\"_blank\">WiringPi<\/a> that doesn&#8217;t need administrative rights. \u00a0After installing and playing around with WiringPi, I created a JavaScript web page that calls multiple CGI scripts written in BASH shell depending on which button you press. \u00a0This configuration worked great. \u00a0I was able to command the Raspberry Pi I\/O bus via wireless web browser connection on both my laptop and on my iPhone. \u00a0So the next step is to design and create the custom circuit board that takes the various channel 3.3 volt signals and does something useful and fun with them. \u00a0That will be a to-do item for another day, though.<\/p>\n<p>I got a lot accomplished today. \u00a0It looks like my to-do list now has 25 items on it. \u00a0I got a few checked off, but I did a lot of tasks today that were not actually written down on the list, plus I added a couple new items throughout the day, in typical fashion.<\/p>\n<p>What will tomorrow hold for this furloughed government employee? Stay tuned! \ud83d\ude42<\/p>\n<p>Kurt<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is my little digital journal from the government shutdown. \u00a0Today is day 6 (Tuesday Oct 8th), not counting the weekend. \u00a0Click here to see all of my government shutdown journal entries. Today I got up at 8am and got caught up on my Facebook news feed. \u00a0Yesterday my weight ended in 7 so I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[110,112],"tags":[488,486,487,36,485,40],"_links":{"self":[{"href":"http:\/\/www.leucht.com\/blog\/wp-json\/wp\/v2\/posts\/1487"}],"collection":[{"href":"http:\/\/www.leucht.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.leucht.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.leucht.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.leucht.com\/blog\/wp-json\/wp\/v2\/comments?post=1487"}],"version-history":[{"count":19,"href":"http:\/\/www.leucht.com\/blog\/wp-json\/wp\/v2\/posts\/1487\/revisions"}],"predecessor-version":[{"id":2401,"href":"http:\/\/www.leucht.com\/blog\/wp-json\/wp\/v2\/posts\/1487\/revisions\/2401"}],"wp:attachment":[{"href":"http:\/\/www.leucht.com\/blog\/wp-json\/wp\/v2\/media?parent=1487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.leucht.com\/blog\/wp-json\/wp\/v2\/categories?post=1487"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.leucht.com\/blog\/wp-json\/wp\/v2\/tags?post=1487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}