{"id":66,"date":"2011-07-19T23:43:06","date_gmt":"2011-07-19T14:13:06","guid":{"rendered":"http:\/\/davidmonro.net\/blog\/?p=66"},"modified":"2011-07-19T23:43:06","modified_gmt":"2011-07-19T14:13:06","slug":"finishing-phase-1-of-the-remote-temperature-sensor","status":"publish","type":"post","link":"https:\/\/blog.davidmonro.net\/index.php\/2011\/07\/19\/finishing-phase-1-of-the-remote-temperature-sensor\/","title":{"rendered":"Finishing phase 1 of the remote temperature sensor"},"content":{"rendered":"<p>So, as seems to be the way with blogs, I never did get around to documenting the next stages of the project. A bit of a catchup is clearly in order.<\/p>\n<p>Currently the transmitter is hanging under the eaves on the north side of the house where it is reasonably well hidden from the sun (given I am in the southern hemisphere that sounds all wrong, but there is a tree in the right place and no sensible place on the south side of the house), and in easy reach of a power outlet which happens to be on the outside of the house there. This is sub-optimal, as the temperature it measures is clearly heavily influenced by the house itself (on still nights, it doesn&#8217;t get anywhere near as cold as it should, but on windy nights it roughly matches the output of the nearest official weather station). I do have a LiPo battery and a <a href=\"http:\/\/garden.seeedstudio.com\/index.php?title=Lipo_Rider\">&#8220;Lipo Rider&#8221;<\/a> board (the 0.9 version I think), but I don&#8217;t currently have the solar panel to keep the battery charged, and I haven&#8217;t built something approximating a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Stevenson_screen\">Stevenson screen<\/a> yet (although I am planning something much simpler with a couple of concentric PVC pipes).<\/p>\n<p>The <a href=\"https:\/\/blog.davidmonro.net\/wp-content\/uploads\/2011\/07\/temp-sens-bits2.zip\">temp-sens-bits<\/a> zip file referenced below actually includes the rf receiver circuit and layout as well; it is extremely simple, since I just use the receiver sub-board to drive the receive pin on a cheap 5v USB to rs232 breakout, with a buffer in between to drive enough current to keep the usb chip happy.<\/p>\n<figure id=\"attachment_67\" aria-describedby=\"caption-attachment-67\" style=\"width: 273px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/blog.davidmonro.net\/wp-content\/uploads\/2011\/07\/rf-recv-e13110823264502.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-67\" title=\"rf-recv\" src=\"https:\/\/blog.davidmonro.net\/wp-content\/uploads\/2011\/07\/rf-recv-e13110823264502-273x300.png\" alt=\"schematic for the remote temperature sensor rf receiver circuit\" width=\"273\" height=\"300\" srcset=\"https:\/\/blog.davidmonro.net\/wp-content\/uploads\/2011\/07\/rf-recv-e13110823264502-273x300.png 273w, https:\/\/blog.davidmonro.net\/wp-content\/uploads\/2011\/07\/rf-recv-e13110823264502.png 575w\" sizes=\"auto, (max-width: 273px) 100vw, 273px\" \/><\/a><figcaption id=\"caption-attachment-67\" class=\"wp-caption-text\">RF receiver schematic<\/figcaption><\/figure>\n<p>The receiver doesn&#8217;t actually have 20 pins, (it has 4 at each end) but I needed it to be the right length to generate the layout correctly:<\/p>\n<figure id=\"attachment_68\" aria-describedby=\"caption-attachment-68\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/blog.davidmonro.net\/wp-content\/uploads\/2011\/07\/rf-sens-veroboard-e13110828756902.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-68\" title=\"rf-sens-veroboard\" src=\"https:\/\/blog.davidmonro.net\/wp-content\/uploads\/2011\/07\/rf-sens-veroboard-e13110828756902-300x53.png\" alt=\"veroboard layout for the remote temperature sensor receiver\" width=\"300\" height=\"53\" srcset=\"https:\/\/blog.davidmonro.net\/wp-content\/uploads\/2011\/07\/rf-sens-veroboard-e13110828756902-300x53.png 300w, https:\/\/blog.davidmonro.net\/wp-content\/uploads\/2011\/07\/rf-sens-veroboard-e13110828756902.png 554w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-68\" class=\"wp-caption-text\">veroboard layout for the receiver<\/figcaption><\/figure>\n<p>The 7-pin header is where the usb-serial widget goes (which was from <a href=\"http:\/\/littlebirdelectronics.com\/\">Little Bird<\/a> but I don&#8217;t think is sold by them any more), and the chip is a 4049 cmos hex inverter buffering the output of the receiver.<\/p>\n<p>Firmware is pretty simple; I&#8217;ve use the <a href=\"http:\/\/arduino.cc\">Arduino<\/a> programming environment\u00c2\u00a0with the NewSoftwareSerial, OneWire and DallasTemperature libraries. The source is in the <a href=\"https:\/\/blog.davidmonro.net\/wp-content\/uploads\/2011\/07\/temp-sens-bits2.zip\">temp-sens-bits<\/a> zip file (warning: it is ugly and includes loads of commented-out debugging). The code on the server which processes the output will be the subject of a later post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, as seems to be the way with blogs, I never did get around to documenting the next stages of the project. A bit of a catchup is clearly in order. Currently the transmitter is hanging under the eaves on the north side of the house where it is reasonably well hidden from the sun [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,7,4],"tags":[8,14,15],"class_list":["post-66","post","type-post","status-publish","format-standard","hentry","category-electronics","category-remote-temperature-sensor","category-sensors","tag-arduino","tag-electronics","tag-sensors"],"_links":{"self":[{"href":"https:\/\/blog.davidmonro.net\/index.php\/wp-json\/wp\/v2\/posts\/66","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.davidmonro.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.davidmonro.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.davidmonro.net\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.davidmonro.net\/index.php\/wp-json\/wp\/v2\/comments?post=66"}],"version-history":[{"count":0,"href":"https:\/\/blog.davidmonro.net\/index.php\/wp-json\/wp\/v2\/posts\/66\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.davidmonro.net\/index.php\/wp-json\/wp\/v2\/media?parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.davidmonro.net\/index.php\/wp-json\/wp\/v2\/categories?post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.davidmonro.net\/index.php\/wp-json\/wp\/v2\/tags?post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}