{"id":3292,"date":"2013-06-22T23:22:27","date_gmt":"2013-06-23T03:22:27","guid":{"rendered":"https:\/\/example.com\/?postname=alternate-night-light"},"modified":"2013-06-22T23:22:27","modified_gmt":"2013-06-23T03:22:27","slug":"alternate-night-light","status":"publish","type":"post","link":"http:\/\/atomsofttech.com\/blog\/uncategorized\/alternate-night-light\/","title":{"rendered":"Alternate Night Light"},"content":{"rendered":"<p><a href=\"http:\/\/atomsoft.wordpress.com\/wp-content\/uploads\/2013\/06\/dog.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2820\" alt=\"dog\" src=\"http:\/\/atomsoft.wordpress.com\/wp-content\/uploads\/2013\/06\/dog.jpg\" width=\"626\" height=\"449\" srcset=\"http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/dog.jpg 626w, http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/dog-300x215.jpg 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/a><\/p>\n<p>My Daughter has this cool Teddy since Christmas and it just vanished&#8230; \ud83d\ude41 but we have the little night lights that accompany it. Its the Starshine Watchdog..<\/p>\n<p>So instead of throwing it out i decided to do a little work around and have it stay on as a night light. In the future i may simply make a motion sense pcb and have it auto on\/off. For now the simple ON\/OFF switch on bottom will do.<\/p>\n<p><a href=\"http:\/\/atomsoft.wordpress.com\/wp-content\/uploads\/2013\/06\/toy4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2823\" alt=\"TOY4\" src=\"http:\/\/atomsoft.wordpress.com\/wp-content\/uploads\/2013\/06\/toy4.jpg\" width=\"627\" height=\"470\" srcset=\"http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy4.jpg 1024w, http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy4-300x225.jpg 300w, http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy4-768x576.jpg 768w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p>Once open you will notice the PCB is very basic and the LED can be connected to directly. First i find the power for the LED. I see its tied to VCC via a resistor so i know the mcu controls gnd to it. So we find gnd first.<\/p>\n<p><a href=\"http:\/\/atomsoft.wordpress.com\/wp-content\/uploads\/2013\/06\/toy2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2821\" alt=\"TOY2\" src=\"http:\/\/atomsoft.wordpress.com\/wp-content\/uploads\/2013\/06\/toy2.jpg\" width=\"627\" height=\"470\" srcset=\"http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy2.jpg 1024w, http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy2-300x225.jpg 300w, http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy2-768x576.jpg 768w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p>Circled above is GND&#8230; not VCC is also tied to the switch so it makes this dead simple. We can hard wire the GND wire to the LED so the switch basically controls the LED only.<\/p>\n<p><a href=\"http:\/\/atomsoft.wordpress.com\/wp-content\/uploads\/2013\/06\/toy3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2822\" alt=\"TOY3\" src=\"http:\/\/atomsoft.wordpress.com\/wp-content\/uploads\/2013\/06\/toy3.jpg\" width=\"627\" height=\"424\" srcset=\"http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy3.jpg 1024w, http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy3-300x203.jpg 300w, http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy3-768x521.jpg 768w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Close it back up and test it \ud83d\ude42 Works of course!<\/p>\n<p><a href=\"http:\/\/atomsoft.wordpress.com\/wp-content\/uploads\/2013\/06\/toy5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2824\" alt=\"TOY5\" src=\"http:\/\/atomsoft.wordpress.com\/wp-content\/uploads\/2013\/06\/toy5.jpg\" width=\"627\" height=\"470\" srcset=\"http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy5.jpg 1024w, http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy5-300x225.jpg 300w, http:\/\/atomsofttech.com\/blog\/wp-content\/uploads\/2013\/06\/toy5-768x576.jpg 768w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Now we have a fully functional night light that works with a simple switch. No external teddy needed \ud83d\ude00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Daughter has this cool Teddy since Christmas and it just vanished&#8230; \ud83d\ude41 but we have the little night lights that accompany it. Its the Starshine Watchdog.. So instead of throwing it out i decided to do a little work around and have it stay on as a night light. In the future i may [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-3292","post","type-post","status-publish","format-standard","hentry"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/posts\/3292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/comments?post=3292"}],"version-history":[{"count":0,"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/posts\/3292\/revisions"}],"wp:attachment":[{"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/media?parent=3292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/categories?post=3292"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/tags?post=3292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}