{"id":38,"date":"2013-02-08T20:02:52","date_gmt":"2013-02-08T20:02:52","guid":{"rendered":"http:\/\/morsepower.net\/blog\/?p=38"},"modified":"2013-02-26T20:15:07","modified_gmt":"2013-02-26T20:15:07","slug":"a-little-home-sense","status":"publish","type":"post","link":"https:\/\/morsepower.net\/?p=38","title":{"rendered":"A little home sense"},"content":{"rendered":"<p>It felt good to have a soldering iron back in my hand. Felt right. I&#8217;m in the process of channeling a new obsession into an old hobby. The latter is electronics design. The former is home maintenance and environmental awareness.<\/p>\n<p>When we first moved in, it became apparent we had a minor microbial problem. It turns out that mold likes two things: moisture and warmth. We were also beset by a series of issues with the forced hot air system. Furnace cleanliness, closed ducts, and (as by brother was keen to point out) an open window were all contributing to a serious temperature difference between upstairs and downstairs.<\/p>\n<p>So, I started thinking about ways to quantify these problems and more actively monitor my surroundings. I cooked up a nifty microcontroller project. Have an Arduino receive sensor information from a series of wireless nodes scattered throughout the house. The nodes would be equipped with temperature and humidity sensors. I wound up buying a Wicked Device transmitter node\/receiver shield pair from <a href=\"http:\/\/www.makershed.com\/Wireless_Sensor_Node_Receiver_Shield_Bundle_p\/msbun29.htm\">MakerSHED<\/a>.\u00c2\u00a0 The kits come as an empty board and loose components.\u00c2\u00a0 A little solder work, and we&#8217;re ready to write some code.<\/p>\n<figure id=\"attachment_36\" aria-describedby=\"caption-attachment-36\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/morsepower.net\/blog\/?attachment_id=36\" rel=\"attachment wp-att-36\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-36 \" title=\"wireless_pair\" src=\"https:\/\/morsepower.net\/blog\/wp-content\/uploads\/wireless_pair-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/morsepower.net\/wp-content\/uploads\/wireless_pair-300x225.jpg 300w, https:\/\/morsepower.net\/wp-content\/uploads\/wireless_pair-1024x768.jpg 1024w, https:\/\/morsepower.net\/wp-content\/uploads\/wireless_pair-400x300.jpg 400w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-36\" class=\"wp-caption-text\">Wireless sensor pair, post-soldering<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_35\" aria-describedby=\"caption-attachment-35\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/morsepower.net\/blog\/?attachment_id=35\" rel=\"attachment wp-att-35\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-35\" title=\"arduino_with_wicked_shield\" src=\"https:\/\/morsepower.net\/blog\/wp-content\/uploads\/arduino_with_wicked_shield-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/morsepower.net\/wp-content\/uploads\/arduino_with_wicked_shield-300x225.jpg 300w, https:\/\/morsepower.net\/wp-content\/uploads\/arduino_with_wicked_shield-1024x768.jpg 1024w, https:\/\/morsepower.net\/wp-content\/uploads\/arduino_with_wicked_shield-400x300.jpg 400w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-35\" class=\"wp-caption-text\">Arduino with its lovely new shield<\/figcaption><\/figure>\n<p>There are two software components required immediately: the microcontroller code to manage receiving the wireless data and forwarding it out through USB, and a daemon running on a PC to intercept and log it.<\/p>\n<p>As a test run, I left one in the bathroom while (and after) I took a hot shower. I didn&#8217;t timestamp the data, but the node transmitted a packet every ten seconds. Some packets seem to get dropped, but that should give a rough idea about time elapsed. I&#8217;m also just too lazy to convert the data into actual degrees or percentages, thus no labels on the axes. This is all relative.\u00c2\u00a0 Statistics faux pas, I know.<\/p>\n<figure id=\"attachment_37\" aria-describedby=\"caption-attachment-37\" style=\"width: 605px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/morsepower.net\/blog\/?attachment_id=37\" rel=\"attachment wp-att-37\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-37\" title=\"test_graph\" src=\"https:\/\/morsepower.net\/blog\/wp-content\/uploads\/test_graph.png\" alt=\"\" width=\"605\" height=\"340\" srcset=\"https:\/\/morsepower.net\/wp-content\/uploads\/test_graph.png 605w, https:\/\/morsepower.net\/wp-content\/uploads\/test_graph-300x168.png 300w, https:\/\/morsepower.net\/wp-content\/uploads\/test_graph-500x280.png 500w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/a><figcaption id=\"caption-attachment-37\" class=\"wp-caption-text\">Showering with SCIENCE!<\/figcaption><\/figure>\n<p>I left the fan running and the door closed during and after. The point where the shower ended is pretty obvious, but I&#8217;m rather surprised at how long it took for the conditions to get back to normal. Towards the end, I opened the door, causing the quick equalization at the tail of the graph.<\/p>\n<p>Eventually I may push the results into a database and add more sensor nodes. Maybe even a web frontend to view the house&#8217;s current conditions in a visual manner, or graphically inspect logs.\u00c2\u00a0 Of course, that will require more soldering.\u00c2\u00a0 Bring it on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It felt good to have a soldering iron back in my hand. Felt right. I&#8217;m in the process of channeling a new obsession into an old hobby. The latter is electronics design. The former is home maintenance and environmental awareness. When we first moved in, it became apparent we had a minor microbial problem. It [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/morsepower.net\/index.php?rest_route=\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/morsepower.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/morsepower.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/morsepower.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/morsepower.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=38"}],"version-history":[{"count":5,"href":"https:\/\/morsepower.net\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":48,"href":"https:\/\/morsepower.net\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions\/48"}],"wp:attachment":[{"href":"https:\/\/morsepower.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/morsepower.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/morsepower.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}