{"id":5,"date":"2014-11-06T01:09:19","date_gmt":"2014-11-06T01:09:19","guid":{"rendered":"http:\/\/parablog-wordpress.dockerbox.rei.moe\/?p=5"},"modified":"2014-11-06T04:19:58","modified_gmt":"2014-11-06T04:19:58","slug":"dump-of-plans-thoughts-amd-ideas","status":"publish","type":"post","link":"https:\/\/blog.lewys.eu\/?p=5","title":{"rendered":"dump of plans, thoughts and ideas"},"content":{"rendered":"<p>Backup battery for ceiling arduino, mount to proto shield, put in case<\/p>\n<p>AC to 5v transformer.<\/p>\n<p>Emergency lighting<\/p>\n<p>Crude Diagram:<\/p>\n<p>AC&gt;5vDC&gt;Batt&gt;Arduino&gt;LED<br \/>\n&gt;&#8212;-&gt;3.3v^<\/p>\n<p>5v power supply also connects to 3.3v regulator, which arduino reads, when this drops to 0v turn on led_pin.<\/p>\n<p>Ping method won&#8217;t work on light because its offline! Doh!<\/p>\n<p>if(ping 192.168.1.1 = reply){<\/p>\n<p>digitalWrite(4, HIGH);<\/p>\n<p>else({<\/p>\n<p>digitalWrite(4, LOW);<\/p>\n<p>}<\/p>\n<p>Arduino pro mini based light switch<\/p>\n<p>Send same on\/off signals as http requests (30\/31)<\/p>\n<p>3 indicates start bit<\/p>\n<p>Second bit is state to switch relay.<\/p>\n<p>Purchase or make two position momentary wall mount switch and wire buttons up to send signals to light.<\/p>\n<p>Ethernet arduino add motor shield and use directly for blinds control or use separate mini arduino ?<\/p>\n<p>Undecided. Probably mini.<\/p>\n<p>Can adapt existing code for light to operate blinds servo or stepper motor.<\/p>\n<p>And can easily send different control bits from existing code in etherten. Easy to add more sections ! \ud83d\ude00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Backup battery for ceiling arduino, mount to proto shield, put in case AC to 5v transformer. Emergency lighting Crude Diagram: AC&gt;5vDC&gt;Batt&gt;Arduino&gt;LED &gt;&#8212;-&gt;3.3v^ 5v power supply also connects to 3.3v regulator, which arduino reads, when this drops to 0v turn on led_pin. Ping method won&#8217;t work on light because its offline! Doh! if(ping 192.168.1.1 = reply){ &hellip; <a href=\"https:\/\/blog.lewys.eu\/?p=5\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">dump of plans, thoughts and ideas<\/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":[20,19],"tags":[7,16,9,13,10,15,5,2,11],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-arduino-2","category-home-automation-2","tag-arduino","tag-code","tag-diy","tag-electronics","tag-home-automation","tag-led","tag-notes","tag-programming","tag-tinkering"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5"}],"version-history":[{"count":3,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}