{"id":36,"date":"2013-07-04T23:41:56","date_gmt":"2013-07-05T03:41:56","guid":{"rendered":"http:\/\/www.twodimes.ca\/words\/?p=36"},"modified":"2013-07-04T23:41:56","modified_gmt":"2013-07-05T03:41:56","slug":"project-1-nightlight","status":"publish","type":"post","link":"https:\/\/twodimes.ca\/words\/2013\/07\/04\/project-1-nightlight\/","title":{"rendered":"Project 1 &#8211; Nightlight"},"content":{"rendered":"<p>\t\t\t\tI made an order late last week from the excellent folks at <a title=\"Spikenzie\" href=\"http:\/\/spikenzielabs.com\/\" target=\"_blank\" rel=\"noopener\">Spikenzie Labs<\/a> to replace a fraction of what I lost when I left Diyode and Guelph. Mainly, a new soldering iron and some kits to play with. So now I can finish my extra <a title=\"Codeshield\" href=\"http:\/\/codeshield.diyode.com\/\" target=\"_blank\" rel=\"noopener\">Codeshields<\/a> and restart a few projects I&#8217;ve been meaning to work on.<\/p>\n<p>The project I&#8217;d like to work on first is a bit of illumination for the nursary. He doesn&#8217;t sleep there at all yet, but when he does, it&#8217;ll be nice to have some gentle illumination that can change based on what&#8217;s happening &#8211; so ground level lighting when we bring him in, change table lighting when we&#8217;re over there, and some colour for him to watch while he&#8217;s waiting to sleep. Because if he has a few lights, we can just put him in the crib and he&#8217;ll be happy from 7-10pm and mom and dad will have lots of time for their own hobbies. Right? Right. These had better be some great lights.<\/p>\n<p>I have no real experience with Arduino, or with anything really. But, as any great artist, I know how to steal. So I&#8217;m going to start with one of the available codeshields sketches and work off that &#8211; The button, potentiometer, tri-coloured LED and white LED to start, and I&#8217;m going to include a non-codeshield componant &#8211; a Motion Sensor.<\/p>\n<p>So &#8211; How to attach the motion sensor? What pins are free on an arduino with a Codeshield? Are there any extra pins on a Codeshield? Yup! Looks like pins 7 and 8 are free. I used some F\/F jumpers to easily add the motion sensor to pin 7 and used it to trigger the LED &#8211; Step 1 down, now to figure out what else I can trigger on motion!\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I made an order late last week from the excellent folks at Spikenzie Labs to replace a fraction of what I lost when I left Diyode and Guelph. Mainly, a new soldering iron and some kits to play with. So now I can finish my extra Codeshields and restart a few projects I&#8217;ve been meaning [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-36","post","type-post","status-publish","format-standard","hentry","category-maker"],"_links":{"self":[{"href":"https:\/\/twodimes.ca\/words\/wp-json\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twodimes.ca\/words\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/twodimes.ca\/words\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/twodimes.ca\/words\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/twodimes.ca\/words\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":0,"href":"https:\/\/twodimes.ca\/words\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"wp:attachment":[{"href":"https:\/\/twodimes.ca\/words\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/twodimes.ca\/words\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/twodimes.ca\/words\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}