Art is Art and Water is Water

November 1, 2009

Project: Zelda Door

Filed under: Arduino — foone @ 2:25 am

Someone on tumblr said that they love this theme and that it should play whenever they enter their house.

Since it’s Halloween and I had a microcontroller handy, I made it happen.

Technical type details:

The Arduino is running a minor variant of the Debounce tutorial, with serial status writing added. On the laptop there’s a simple python script that waits for the serial status to show that the door has been open for 1/5th of a second, and then it runs an external command. I set the external command to “playsound zelda_oot_house.mp3”, so it plays the House theme (and not the Massive Attack one).

The biggest design problem I had was that the frame of the door is metal, so there’s always connectivity between the two halves of the security lock, even when the door is open. I had to rewrite it halfway through to detect the change in resistance (since the door open is about 600ohms and closed is about 1). It would have been nice to know that ahead of time, I really should have checked with my multimeter before wiring it up.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: