{"id":1087,"date":"2014-06-19T11:09:53","date_gmt":"2014-06-19T18:09:53","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=1087"},"modified":"2015-08-03T17:51:00","modified_gmt":"2015-08-04T00:51:00","slug":"motion-sensing-ac-switch-with-built-in-timer","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/motion-sensing-ac-switch-with-built-in-timer\/","title":{"rendered":"Motion-Sensing AC Switch with Built-in Timer"},"content":{"rendered":"<p style=\"text-align: left;\">Hello, all! I just finished a new project, the motion-activated AC switch.<\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/finished1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1089 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/finished1-300x225.jpg\" alt=\"Finished Project\" width=\"300\" height=\"225\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/finished1-300x225.jpg 300w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/finished1-1024x768.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/finished1-600x450.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/finished1-800x600.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/finished1-1200x900-cropped.jpg 1200w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/finished1.jpg 2048w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">In the interest of saving my sanity while configuring Christmas lights on the tree, I decided to build a motion-activated switch that can power the lights for me. It has an integrated adjustable timer so they will stay on for as much time\u00a0as I want. Here&#8217;s a\u00a0video\u00a0showing the final test on the fish tank light.<\/p>\n<div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" width=\"735\" height=\"413\" src=\"https:\/\/www.youtube.com\/embed\/OGKfNQh_8Cc?feature=oembed\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe><\/div>\n<p style=\"text-align: left;\">Head on over to <a title=\"Instructables\" href=\"http:\/\/www.instructables.com\/id\/Motion-Activated-AC-Switch\/\" target=\"_blank\">Instructables<\/a>\u00a0to check it out step-by-step!<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-1087 jlk' data-task='like' data-post_id='1087' data-nonce='0a2140b8b1' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-1087 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-1087 jlk' data-task='unlike' data-post_id='1087' data-nonce='0a2140b8b1' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-1087 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-1087 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Hello, all! I just finished a new project, the motion-activated AC switch.<\/p>\n","protected":false},"author":22,"featured_media":1089,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1561],"tags":[104],"ppma_author":[4471],"class_list":["post-1087","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-applications","tag-project-2"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/finished1.jpg","jetpack_sharing_enabled":true,"authors":[{"term_id":4471,"user_id":22,"is_guest":0,"slug":"brmarcum","display_name":"Brandon Marcum","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/3f3481ac36f3c92f08a1a8266d60111ca31c5031c4428d551991aa080d9d529b?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/1087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=1087"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/1087\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/1089"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=1087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=1087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=1087"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=1087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}