{"id":114,"date":"2017-06-30T20:36:29","date_gmt":"2017-06-30T20:36:29","guid":{"rendered":"http:\/\/www.selfdomotics.com\/?p=114"},"modified":"2017-07-03T21:59:55","modified_gmt":"2017-07-03T21:59:55","slug":"remotelight-step-4-hardware","status":"publish","type":"post","link":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/","title":{"rendered":"Remotelight &#8211; step 4 &#8211; Hardware"},"content":{"rendered":"<p>In our example we will have a room with 2 independent lights, one controlled by 2 switches, the other controlled by a single switch.<\/p>\n<p>We will use Nodemcu pin 1, 2, 5 to read switches and pin 6 and 7 to pilot the relays. This is the general design:<\/p>\n<p><a href=\"http:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-119 size-medium\" src=\"http:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2-300x234.png\" alt=\"\" width=\"300\" height=\"234\" srcset=\"https:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2-300x234.png 300w, https:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2.png 724w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>We have 3 possible choices for assembling our project:<br \/>\n&#8211; Experimental bread boards: very easy to use, not stable because connections are &#8220;temporary&#8221;, very easy to change, usually the result is often a little messy. No need of solder.<br \/>\n&#8211; Prototype boars, Tinned Universal experimental boards: practical, you need a little of soldering experience, stable result, flexible in case of changes<br \/>\n&#8211; printed circuits: you need to design in advance non changes allowed, expensive, soldering experience needed, clean result<\/p>\n<p>We decided to use an experimental board.<\/p>\n<p>What you need:<br \/>\n&#8211;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our example we will have a room with 2 independent lights, one controlled by 2 switches, the other controlled by a single switch. We will use Nodemcu pin 1, 2, 5 to read switches and pin 6 and 7 to pilot the relays. This is the general design: We have 3 possible choices for &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Remotelight &#8211; step 4 &#8211; Hardware&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Remotelight - step 4 - Hardware - selfdomotics.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Remotelight - step 4 - Hardware - selfdomotics.com\" \/>\n<meta property=\"og:description\" content=\"In our example we will have a room with 2 independent lights, one controlled by 2 switches, the other controlled by a single switch. We will use Nodemcu pin 1, 2, 5 to read switches and pin 6 and 7 to pilot the relays. This is the general design: We have 3 possible choices for &hellip; Continue reading &quot;Remotelight &#8211; step 4 &#8211; Hardware&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/\" \/>\n<meta property=\"og:site_name\" content=\"selfdomotics.com\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-30T20:36:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-07-03T21:59:55+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2-300x234.png\" \/>\n<meta name=\"author\" content=\"selfdom\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"selfdom\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/\"},\"author\":{\"name\":\"selfdom\",\"@id\":\"https:\/\/www.selfdomotics.com\/#\/schema\/person\/266c1f401d1fb55745e0c625757937b3\"},\"headline\":\"Remotelight &#8211; step 4 &#8211; Hardware\",\"datePublished\":\"2017-06-30T20:36:29+00:00\",\"dateModified\":\"2017-07-03T21:59:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/\"},\"wordCount\":137,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.selfdomotics.com\/#\/schema\/person\/266c1f401d1fb55745e0c625757937b3\"},\"image\":{\"@id\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2-300x234.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/\",\"url\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/\",\"name\":\"Remotelight - step 4 - Hardware - selfdomotics.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.selfdomotics.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2-300x234.png\",\"datePublished\":\"2017-06-30T20:36:29+00:00\",\"dateModified\":\"2017-07-03T21:59:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#primaryimage\",\"url\":\"https:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2.png\",\"contentUrl\":\"https:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2.png\",\"width\":724,\"height\":565},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.selfdomotics.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Remotelight &#8211; step 4 &#8211; Hardware\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.selfdomotics.com\/#website\",\"url\":\"https:\/\/www.selfdomotics.com\/\",\"name\":\"selfdomotics.com\",\"description\":\"make your own home automation and make your life easier\",\"publisher\":{\"@id\":\"https:\/\/www.selfdomotics.com\/#\/schema\/person\/266c1f401d1fb55745e0c625757937b3\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.selfdomotics.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.selfdomotics.com\/#\/schema\/person\/266c1f401d1fb55745e0c625757937b3\",\"name\":\"selfdom\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.selfdomotics.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7ae680ceca3544c8a37149e6254db758ee7c1ecefd5c6ad34aa972b9c5bfd1d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7ae680ceca3544c8a37149e6254db758ee7c1ecefd5c6ad34aa972b9c5bfd1d0?s=96&d=mm&r=g\",\"caption\":\"selfdom\"},\"logo\":{\"@id\":\"https:\/\/www.selfdomotics.com\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.selfdomotics.com\/index.php\/author\/selfdom\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Remotelight - step 4 - Hardware - selfdomotics.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/","og_locale":"en_US","og_type":"article","og_title":"Remotelight - step 4 - Hardware - selfdomotics.com","og_description":"In our example we will have a room with 2 independent lights, one controlled by 2 switches, the other controlled by a single switch. We will use Nodemcu pin 1, 2, 5 to read switches and pin 6 and 7 to pilot the relays. This is the general design: We have 3 possible choices for &hellip; Continue reading \"Remotelight &#8211; step 4 &#8211; Hardware\"","og_url":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/","og_site_name":"selfdomotics.com","article_published_time":"2017-06-30T20:36:29+00:00","article_modified_time":"2017-07-03T21:59:55+00:00","og_image":[{"url":"http:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2-300x234.png","type":"","width":"","height":""}],"author":"selfdom","twitter_card":"summary_large_image","twitter_misc":{"Written by":"selfdom","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#article","isPartOf":{"@id":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/"},"author":{"name":"selfdom","@id":"https:\/\/www.selfdomotics.com\/#\/schema\/person\/266c1f401d1fb55745e0c625757937b3"},"headline":"Remotelight &#8211; step 4 &#8211; Hardware","datePublished":"2017-06-30T20:36:29+00:00","dateModified":"2017-07-03T21:59:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/"},"wordCount":137,"commentCount":0,"publisher":{"@id":"https:\/\/www.selfdomotics.com\/#\/schema\/person\/266c1f401d1fb55745e0c625757937b3"},"image":{"@id":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#primaryimage"},"thumbnailUrl":"http:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2-300x234.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/","url":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/","name":"Remotelight - step 4 - Hardware - selfdomotics.com","isPartOf":{"@id":"https:\/\/www.selfdomotics.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#primaryimage"},"image":{"@id":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#primaryimage"},"thumbnailUrl":"http:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2-300x234.png","datePublished":"2017-06-30T20:36:29+00:00","dateModified":"2017-07-03T21:59:55+00:00","breadcrumb":{"@id":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#primaryimage","url":"https:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2.png","contentUrl":"https:\/\/www.selfdomotics.com\/wp-content\/uploads\/2017\/06\/remotelight_wiring2.png","width":724,"height":565},{"@type":"BreadcrumbList","@id":"https:\/\/www.selfdomotics.com\/index.php\/2017\/06\/30\/remotelight-step-4-hardware\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.selfdomotics.com\/"},{"@type":"ListItem","position":2,"name":"Remotelight &#8211; step 4 &#8211; Hardware"}]},{"@type":"WebSite","@id":"https:\/\/www.selfdomotics.com\/#website","url":"https:\/\/www.selfdomotics.com\/","name":"selfdomotics.com","description":"make your own home automation and make your life easier","publisher":{"@id":"https:\/\/www.selfdomotics.com\/#\/schema\/person\/266c1f401d1fb55745e0c625757937b3"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.selfdomotics.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.selfdomotics.com\/#\/schema\/person\/266c1f401d1fb55745e0c625757937b3","name":"selfdom","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.selfdomotics.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7ae680ceca3544c8a37149e6254db758ee7c1ecefd5c6ad34aa972b9c5bfd1d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7ae680ceca3544c8a37149e6254db758ee7c1ecefd5c6ad34aa972b9c5bfd1d0?s=96&d=mm&r=g","caption":"selfdom"},"logo":{"@id":"https:\/\/www.selfdomotics.com\/#\/schema\/person\/image\/"},"url":"https:\/\/www.selfdomotics.com\/index.php\/author\/selfdom\/"}]}},"_links":{"self":[{"href":"https:\/\/www.selfdomotics.com\/index.php\/wp-json\/wp\/v2\/posts\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.selfdomotics.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.selfdomotics.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.selfdomotics.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.selfdomotics.com\/index.php\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":6,"href":"https:\/\/www.selfdomotics.com\/index.php\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":127,"href":"https:\/\/www.selfdomotics.com\/index.php\/wp-json\/wp\/v2\/posts\/114\/revisions\/127"}],"wp:attachment":[{"href":"https:\/\/www.selfdomotics.com\/index.php\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.selfdomotics.com\/index.php\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.selfdomotics.com\/index.php\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}