{"id":137,"date":"2012-12-09T12:29:17","date_gmt":"2012-12-09T17:29:17","guid":{"rendered":"http:\/\/www.mcgurrin.com\/robots\/?p=137"},"modified":"2017-02-19T23:51:24","modified_gmt":"2017-02-20T04:51:24","slug":"an-unseasonal-post-automating-halloween-props","status":"publish","type":"post","link":"https:\/\/www.mcgurrin.info\/robots\/137\/","title":{"rendered":"An unseasonal post: Automating Halloween Props"},"content":{"rendered":"<p>This post is more suited to Halloween then the coming Yule, but I finally got around to writing it, and besides, as I write this, there&#8217;s only 327 days left to next Halloween!\u00a0 There are several options for controlling animated props, including prop controllers specifically designed for this purpose.\u00a0 A recent addition to the market is the <a href=\"http:\/\/www.hauntsoft.com\/Default.aspx\">MonsterShield,<\/a> an Arduino-based prop controller with open source code you can modify.\u00a0 I haven&#8217;t tried one out, but thought it was work a mention.\u00a0 In my props, I just use a handy micro-controllers, such as an Arduino, along with sensors such as a <a href=\"http:\/\/www.ladyada.net\/wiki\/tutorials\/learn\/sensors\/pir.html\">PIR<\/a>.\u00a0 The PIR (or pressure mat, or whatever sensor you choose) sends a signal to the microcontroller when it detects someone, and then your microcontroller can trigger a whole sequence of pre-programmed actions.\u00a0 I had two such props in my Halloween display this year.\u00a0 The first is a classic &#8220;<a href=\"http:\/\/omarshauntedtrail.com\/Props\/Prop%20Idea%20Files\/Animatonics\/Monster%20in%20a%20Box\/Monster%20in%20a%20Box.pdf \">Monster in a Box<\/a>&#8220;.\u00a0 I use a PIR sensor to detect when someone comes near.\u00a0 When this happens,a <a href=\"http:\/\/www.pjrc.com\/teensy\/\">Teensy<\/a> sends out an output to a <a href=\"http:\/\/www.powerswitchtail.com\/Pages\/default.aspx\">Power Switch Tail<\/a> to turn on the power to a wall wart that delivers 12V power to the windshield wiper motor, as well as to a green light inside the box.\u00a0 I use a Power Switch Tail so that I don&#8217;t have to worry about any safety issues dealing with house current directly.\u00a0 The motor sequence has several stops and stop in it, of differing lengths, so that the action is more natural.\u00a0 After it triggers, there&#8217;s a dead time, so that it doesn&#8217;t keep restarting while trick-or-treaters are standing in front watching it.<\/p>\n<div id=\"attachment_138\" style=\"width: 510px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.mcgurrin.info\/robots\/wp-content\/uploads\/2012\/12\/IMG_0316.jpg\"><img aria-describedby=\"caption-attachment-138\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-139 \" title=\"Monster in a box\" src=\"http:\/\/www.mcgurrin.info\/robots\/wp-content\/uploads\/2012\/12\/IMG_0316-1024x764.jpg\" alt=\"\" width=\"500\" height=\"373\" srcset=\"https:\/\/www.mcgurrin.info\/robots\/wp-content\/uploads\/2012\/12\/IMG_0316.jpg 1024w, https:\/\/www.mcgurrin.info\/robots\/wp-content\/uploads\/2012\/12\/IMG_0316-300x224.jpg 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-138\" class=\"wp-caption-text\">Closed Monster in a box, showing the box with the PIR and Arduino that triggers the box.<\/p><\/div>\n<div id=\"attachment_144\" style=\"width: 510px\" class=\"wp-caption alignright\"><a href=\"http:\/\/www.mcgurrin.info\/robots\/wp-content\/uploads\/2012\/12\/IMG_03172.jpg\"><img aria-describedby=\"caption-attachment-144\" decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-144\" title=\"Inside of monster in a box\" src=\"http:\/\/www.mcgurrin.com\/robots\/wp-content\/uploads\/2012\/12\/IMG_03172-764x1024.jpg\" alt=\"\" width=\"500\" height=\"670\" srcset=\"https:\/\/www.mcgurrin.info\/robots\/wp-content\/uploads\/2012\/12\/IMG_03172-764x1024.jpg 764w, https:\/\/www.mcgurrin.info\/robots\/wp-content\/uploads\/2012\/12\/IMG_03172-224x300.jpg 224w, https:\/\/www.mcgurrin.info\/robots\/wp-content\/uploads\/2012\/12\/IMG_03172.jpg 765w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-144\" class=\"wp-caption-text\">Inside view of the Monster in a Box, showing the wiper motor and irregular cam.<\/p><\/div>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" width=\"584\" height=\"438\" src=\"https:\/\/www.youtube.com\/embed\/PV-BpGCgnKc?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>The other prop where I use a PIR and an Arduino is my scarecrow skeletons, who do a little talking and singing routine when triggered.\u00a0 Here, an Arduino controls two <a href=\"http:\/\/www.cowlacious.com\/\">Cowlacious<\/a> audio boards that in turn drive the servo boards that control the jaw servo and lights in the skulls (also from Cowlacious).\u00a0 I&#8217;ve had the audio boards for some time.\u00a0 They work fine, and have a wide host of control options (including the ability to be triggered directly from a PIR).\u00a0 However if I was remaking this prop, I&#8217;d probably just <a href=\"http:\/\/www.instructables.com\/id\/MP3-Interface-for-Arduino-Cheap-and-Easy\/\">wire up some really cheap mp3 players<\/a>. The video shows the two skeletons doing their routine. Sorry for the quality, my video editor is refusing to save the edited version.<\/p>\n<p><iframe loading=\"lazy\" width=\"584\" height=\"329\" src=\"https:\/\/www.youtube.com\/embed\/8_qz8yjWFZk?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post is more suited to Halloween then the coming Yule, but I finally got around to writing it, and besides, as I write this, there&#8217;s only 327 days left to next Halloween!\u00a0 There are several options for controlling animated &hellip; <a href=\"https:\/\/www.mcgurrin.info\/robots\/137\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":144,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3,32,30,33,31],"_links":{"self":[{"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/posts\/137"}],"collection":[{"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/comments?post=137"}],"version-history":[{"count":10,"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/posts\/137\/revisions"}],"predecessor-version":[{"id":425,"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/posts\/137\/revisions\/425"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/media\/144"}],"wp:attachment":[{"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/media?parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/categories?post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mcgurrin.info\/robots\/wp-json\/wp\/v2\/tags?post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}