The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Halloween Circuitry

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Eric Gunnerson

Posts: 1006
Nickname: ericgu
Registered: Aug, 2003

Eric Gunnerson is a program manager on the Visual C# team
Halloween Circuitry Posted: Oct 31, 2004 8:16 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Eric Gunnerson.
Original Post: Halloween Circuitry
Feed Title: Eric Gunnerson's C# Compendium
Feed URL: /msdnerror.htm?aspxerrorpath=/ericgu/Rss.aspx
Feed Description: Eric comments on C#, programming and dotnet in general, and the aerodynamic characteristics of the red-nosed flying squirrel of the Lesser Antilles
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Eric Gunnerson
Latest Posts From Eric Gunnerson's C# Compendium

Advertisement

I managed to steal a bit of time in the past few weeks to build some circuitry for Halloween. I'd hoped to do something with pneumatics, but that didn't happen, so we had to settle for a few smaller things.

I'm also using this as an opportunity to teach Sam how to solder.

We started with converting a typical "Home depot" motion sensor into an inline version. That's pretty simple - take a extension cord, and wire in the motion sensor inline. A little heat-shrink tubing, and it was done. The motion sensor is hooked up to the power for an old boom box that I have, which is playing spooky music from my MP3 player. Come up the walk, and the music starts playing.

Te second project is a bit more elaborate. Right next to the front door, there's a dummy with a pumpin head sitting in a chair. In his (its?) lap, there's a bowl with a full-size Hershey's chocolate bar, and a sign that says "Help Yourself". If you do help yourself, the eyes of the pumpkin light up and a bell rings. This is all based on detecting somebody trying to grab the candy. I explored a few methods of doing this - there are some that use RF techniques to detect the change in capacitance as somebody approaches, but they're notoriously finicky. I decided on an IR approach, and was lucky to find a site that sold the Sharp GP2D15 IR sensor. You've probably come across this sensor in the hands-free faucet in a public restroom. This sensor is very easy to use - it generates a signal when something comes within about 10" of the sensor. The output of the sensor isn't powerful enough to power a relay, so an added 2N2222 transistor does the amplification. That relay runs the bell, and there's a separate solid-state relay that turns the eyes on.

Finally, I bought an Edirol UM-1X Midi interface. This connects to our Roland digital piano, and is used to play back spooky organ music (Bach, mostly) through the piano's built-in Pipe Organ patch.

Read: Halloween Circuitry

Topic: New Version FxCop 1.312 Released Previous Topic   Next Topic Topic: Comments temporarily disabled

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use