{"id":359,"date":"2017-05-27T16:33:34","date_gmt":"2017-05-27T16:33:34","guid":{"rendered":"https:\/\/test.warrensoft.co.uk\/wp-test\/home-hub\/?p=359"},"modified":"2018-12-08T07:32:18","modified_gmt":"2018-12-08T07:32:18","slug":"electronics-add-actuator","status":"publish","type":"post","link":"https:\/\/test.warrensoft.co.uk\/wp-test\/2017\/05\/27\/electronics-add-actuator\/","title":{"rendered":"Electronics &#8211; Add Actuator"},"content":{"rendered":"<p>Second only to the buzz you get from making real-time temperature measurements with your raspberry pi, <em>turning on relays<\/em> has to be up there! \u00a0When they are controlling actual fans, boilers and valves then the rewards keep coming, on a daily basis.<\/p>\n<p>A polite warning here. \u00a0Doing real work in the home will involve messing with mains electricity. Please please please get a professional or competent person to install the necessaries if you are at all unsure.<\/p>\n<p>Connecting relays to the pi is even easier than sensors. there are some gotchas to watch out for, but a quick search on google\/amazon\/ebay will return plenty of sources and information. The type I favour come in single\/dual\/multiple banks and are opto-isolated, so cooperate nicely with the 3V output from the pi. They need 5V and Ground connections, but apart from that should be quite straightforward to interface. Here is my development setup:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-360\" src=\"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/05\/relay-test-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/05\/relay-test-300x225.jpg 300w, https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/05\/relay-test-768x576.jpg 768w, https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/05\/relay-test-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>When you have your relay connected you can install the necessary software. This is described in the next post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Second only to the buzz you get from making real-time temperature measurements with your raspberry pi, turning on relays has to be up there! \u00a0When they are controlling actual fans, boilers and valves then the rewards keep coming, on a daily basis. A polite warning here. \u00a0Doing real work in the home will involve messing &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/test.warrensoft.co.uk\/wp-test\/2017\/05\/27\/electronics-add-actuator\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Electronics &#8211; Add Actuator&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-359","post","type-post","status-publish","format-standard","hentry","category-electronics"],"_links":{"self":[{"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/posts\/359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/comments?post=359"}],"version-history":[{"count":2,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/posts\/359\/revisions"}],"predecessor-version":[{"id":362,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/posts\/359\/revisions\/362"}],"wp:attachment":[{"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/media?parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/categories?post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/tags?post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}