{"id":5630,"date":"2015-02-12T19:25:34","date_gmt":"2015-02-12T23:25:34","guid":{"rendered":"http:\/\/www.streamingmeemee.com\/?p=5630"},"modified":"2015-03-08T19:18:12","modified_gmt":"2015-03-08T23:18:12","slug":"grandfather-floor-clock-interior-lighting-design-choices","status":"publish","type":"post","link":"https:\/\/www.streamingmeemee.com\/index.php\/2015\/02\/12\/grandfather-floor-clock-interior-lighting-design-choices\/","title":{"rendered":"Grandfather Floor Clock Interior Lighting \u2013 Design Choices"},"content":{"rendered":"<p>I had several goals in mind for the project:<\/p>\n<ul>\n<li>Light is active only at night<\/li>\n<li>Must have manual on\/off switch<\/li>\n<li>Only active if there are people present<\/li>\n<li>Light source not visible when the light is off<\/li>\n<\/ul>\n<p>I chose an <a href=\"https:\/\/www.adafruit.com\/products\/50\">Arduino Uno<\/a> as the controller. \u00a0I have a few of them around and have wanted to find an appropriate project to give them a try.<!--more--><\/p>\n<p>I hardwired a segment of LED strip to a 12V wall wart and taped them inside the clock to get a sense for how many LEDs I would need to achieve the desired effect. \u00a0I used a bit of tape to hold them in place during testing. \u00a0Two strips of 9 LEDs each did the trick. \u00a0One is placed on the top of the door frame, facing down. \u00a0This nicely illuminates the clock face. \u00a0The second is on a cross member just below the clock face. \u00a0This one faces inward and cast a great light on the mechanism and pendulum.<a href=\"http:\/\/www.streamingmeemee.com\/wp-content\/uploads\/2015\/02\/IMG_3009.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"  wp-image-5636 aligncenter\" src=\"http:\/\/www.streamingmeemee.com\/wp-content\/uploads\/2015\/02\/IMG_3009-300x214.jpg\" alt=\"IMG_3009\" width=\"300\" height=\"214\" srcset=\"https:\/\/www.streamingmeemee.com\/wp-content\/uploads\/2015\/02\/IMG_3009-300x214.jpg 300w, https:\/\/www.streamingmeemee.com\/wp-content\/uploads\/2015\/02\/IMG_3009-1024x731.jpg 1024w, https:\/\/www.streamingmeemee.com\/wp-content\/uploads\/2015\/02\/IMG_3009.jpg 2000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"http:\/\/www.streamingmeemee.com\/wp-content\/uploads\/2015\/02\/IMG_3011.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" size-medium wp-image-5637 aligncenter\" src=\"http:\/\/www.streamingmeemee.com\/wp-content\/uploads\/2015\/02\/IMG_3011-300x226.jpg\" alt=\"IMG_3011\" width=\"300\" height=\"226\" srcset=\"https:\/\/www.streamingmeemee.com\/wp-content\/uploads\/2015\/02\/IMG_3011-300x226.jpg 300w, https:\/\/www.streamingmeemee.com\/wp-content\/uploads\/2015\/02\/IMG_3011-1024x772.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>I knew I would not be able to control the LED light strips directly. \u00a0 Each group of 3 LEDs draw 20mA under full brightness. \u00a0The configuration I settled on has 18 or 6 segments of 3. \u00a0The total current draw will be 6 x 20mA or 120mA total. \u00a0Arduinos have a max. draw of 40mA per pin so I&#8217;ll have to use a transistor with a higher current capacity. \u00a0I had a few <a href=\"https:\/\/www.adafruit.com\/products\/976\">TIP120<\/a>&#8216;s in the parts bin so I went with those. \u00a0I&#8217;m hoping that I can run them without a heatsink.<\/p>\n<p>A simple <a href=\"https:\/\/www.adafruit.com\/products\/161\">photo-resistor<\/a> will determine the ambient light in the room. \u00a0I&#8217;ll use this to determine when it is &#8216;night&#8217; and enable the lights.<\/p>\n<p>For the &#8216;people sensor&#8217; I&#8217;m using a <a href=\"https:\/\/www.adafruit.com\/products\/189\">PIR motion sensor<\/a>. \u00a0It will run off the +5V rail of the Arduino and provides a simple digital high\/low signal to indicate motion.<\/p>\n<p>I&#8217;m planning on mounting the on\/off button out of sight so I needed a big target to make it easy to find by touch. \u00a0I choose a <a href=\"https:\/\/www.adafruit.com\/products\/475\">momentary arcade style button<\/a>. \u00a0The control will simply toggle the lights on\/off when pressed. \u00a0I opted not to have a power switch to turn it off completely; I&#8217;ll just unplug the wall wart for the few times I&#8217;ll want to disable it.<\/p>\n<p>The first step will be to breadboard the parts so that I can start on the software. \u00a0I&#8217;ll cover that next time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had several goals in mind for the project: Light is active only at night Must have manual on\/off switch Only active if there are people present Light source not visible when the light is off I chose an Arduino Uno as the controller. \u00a0I have a few of them around and have wanted to &hellip; <a href=\"https:\/\/www.streamingmeemee.com\/index.php\/2015\/02\/12\/grandfather-floor-clock-interior-lighting-design-choices\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Grandfather Floor Clock Interior Lighting \u2013 Design Choices<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":5488,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[653],"tags":[778,656,654,655,665,659,679,678,661],"class_list":["post-5630","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-iot","tag-arduino","tag-grandfather","tag-iot-2","tag-led-strip","tag-led-strip-light","tag-microcontroller","tag-photocell","tag-photoresistor","tag-pir-sensor"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/posts\/5630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/comments?post=5630"}],"version-history":[{"count":5,"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/posts\/5630\/revisions"}],"predecessor-version":[{"id":5639,"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/posts\/5630\/revisions\/5639"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/media\/5488"}],"wp:attachment":[{"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/media?parent=5630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/categories?post=5630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.streamingmeemee.com\/index.php\/wp-json\/wp\/v2\/tags?post=5630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}