{"id":154,"date":"2019-07-20T14:08:00","date_gmt":"2019-07-20T14:08:00","guid":{"rendered":"http:\/\/doctor-dark.co.uk\/blog\/2019\/07\/20\/greenhouse-computer-version-2\/"},"modified":"2023-12-18T12:18:49","modified_gmt":"2023-12-18T12:18:49","slug":"greenhouse-computer-version-2","status":"publish","type":"post","link":"https:\/\/doctor-dark.co.uk\/blog\/greenhouse-computer-version-2\/","title":{"rendered":"Greenhouse Computer Version 2"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<table cellpadding=\"0\" cellspacing=\"0\" style=\"float: left; margin-right: 1em; text-align: left;\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><a href=\"https:\/\/1.bp.blogspot.com\/-Q7yU1mUam5I\/XTMbdxrN8kI\/AAAAAAABBOg\/SrEJScShVMgyloTKM1Lm-cKm6EiZX2ygwCLcBGAs\/s1600\/greenhouse%2Bcomputer%2Bv2.jpg\" style=\"clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" data-original-height=\"778\" data-original-width=\"1600\" height=\"192\" src=\"https:\/\/1.bp.blogspot.com\/-Q7yU1mUam5I\/XTMbdxrN8kI\/AAAAAAABBOg\/SrEJScShVMgyloTKM1Lm-cKm6EiZX2ygwCLcBGAs\/s400\/greenhouse%2Bcomputer%2Bv2.jpg\" width=\"400\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-family: &quot;verdana&quot; , sans-serif;\">Work in progress&#8230;<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\">Well, the previous greenhouse computer could report the temperature, barometic pressure, and humidity, but it didn&#8217;t control anything, and the electric fan heater&#8217;s thermostat wasted a lot of electricity during the previous winter, as it wasn&#8217;t accurate, and the greenhouse got warmer than necessary.<\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n <span style=\"font-family: &quot;verdana&quot; , sans-serif;\">The greenhouse needs to be kept above 5\u00b0C, to keep the citrus plants that over-winter in it alive, but not much warmer, and the fan heater doesn&#8217;t have any decent form of regulation.<\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/>\n<\/span> <span style=\"font-family: &quot;verdana&quot; , sans-serif;\">Anyway&#8230; Here comes Version 2 of the greenhouse computer. The three boards are, starting at the bottom of the stack,<\/span><\/p>\n<ul style=\"text-align: left;\">\n<li><span style=\"font-family: &quot;verdana&quot; , sans-serif;\">A Raspberry Pi 3B+<\/span><\/li>\n<li><span style=\"font-family: &quot;verdana&quot; , sans-serif;\">A Relay card with four mains relays<\/span><\/li>\n<li><span style=\"font-family: &quot;verdana&quot; , sans-serif;\">and a Pi Sense HAT.<\/span><\/li>\n<\/ul>\n<div>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\">The problem you get with putting these units in a case is that the Pi warms up the air in the case, so the Sense HAT gives false temperature readings. In Version 1 of the computer, there was a fan blowing air from outside the case onto the HAT&#8217;s sensors, and that&#8217;s what I&#8217;m doing in Version 2. The fan has just gone in, but I still need to put trunking to direct its air stream over those sensors.<\/span><\/div>\n<div>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/>\n<\/span><\/div>\n<div>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\">You can see a nice long camera lead on the left, so the camera can go in a separate case. The mains wiring feeds mains to a couple of sockets on the back of the case, one for the heater, and one spare. The relays switch the sockets on and off.<\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\"><br \/><\/span><br \/>\n<span style=\"font-family: &quot;verdana&quot; , sans-serif;\">More to follow&#8230;<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Work in progress&#8230; Well, the previous greenhouse computer could report the temperature, barometic pressure, and humidity, but it didn&#8217;t control anything, and the electric fan heater&#8217;s thermostat wasted a lot of electricity during the previous winter, as it wasn&#8217;t accurate, and the greenhouse got warmer than necessary. The greenhouse needs to be kept above 5\u00b0C, &hellip; <a href=\"https:\/\/doctor-dark.co.uk\/blog\/greenhouse-computer-version-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Greenhouse Computer Version 2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-154","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/posts\/154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=154"}],"version-history":[{"count":1,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/posts\/154\/revisions"}],"predecessor-version":[{"id":425,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/posts\/154\/revisions\/425"}],"wp:attachment":[{"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}