Introduction: Halloween Stoplight

Picture of Halloween Stoplight

My daughter really wanted to be a stoplight for Halloween, so my wife asked me if I could get it to light up.  We came up with a stoplight that had a "normal" mode where the lights would change from green to yellow to red, and also had a "dance party mode" where it played the Halloween song from the Nightmare Before Christmas and Michael Jackson's Thriller while flashing the lights in different sequences.  There was a button on the side for my daughter to control what mode it was in.  My youngest daughter is too young to decide what she wants to be so we made her the pedestrian sign.  Both costumes are based on Arduinos.

Step 1: Parts

Picture of Parts

 The stoplight costume had the following parts
-Cardboard box with holes for the head and arms
-Arduino
-Ladyada Wave Sheild
-6 - 74HC595 shift registers
-speaker
-Battery Holder and 4 AA batteries
-48 LEDs (we did 12 red, 12 yellow, 12 green, and we had 12 reserved for other lights around the costume)
-48 resistors

The Pedestrian sign used the following parts
-Arduino
-6 - 74HC595 shift registers
-48 LEDs (24 red, 24 white)
-48 Resistors
-Battery Holder and 4 AA batteries
-Piezo buzzer

Step 2: Stoplight Assembly

Picture of Stoplight Assembly

 Build the Wave Shield ( www.ladyada.net/make/waveshield/ ) and connect to the Arudino.  To connect the shift registers follow the tutorial on www.arduino.cc/en/Tutorial/ShiftOut .  The only difference is when you connect the shift registers to the Arudino you need to use pin 9 for the clock pin and pin 6 for the data pin because the Wave Shield uses some of the pins the Shift out tutorial also uses.  Connect a button to analog pin 1 for setting the stoplight to normal mode, and analog pin 2 to start playing a song.  The first time it will play the song from Nightmare Before Christmas, the second time it's pressed it will play Thriller.  The buttons are connected to ground (the buttons I used are "normally closed momentary buttons".

Step 3: Stoplight Code

Step 4: Finished Product


Comments

WesleySwain (author)2010-01-05

 Awesome project!, Did you happen to snag a video of the stop light in action?

compnerd4 (author)2009-11-08

Best Dad ever!
Nice work!

davewking (author)compnerd42009-11-18

Well, I don't know about the best dad ever, that may be going a little too far (but just a little ;-).

compnerd4 (author)davewking2009-11-18

lol

WyoJustin (author)2009-11-06

Sweet Make!  Nice video.

Justin

davewking (author)WyoJustin2009-11-18

Thanks, I think the kids make the video.  Kids are so funny.

theshades (author)2009-11-13

Yup way too over engineered. I wish I could do that. Seriously.

davewking (author)theshades2009-11-18

Thanks, it was fun.

tamilemon (author)2009-11-09

Love it!  Could be the best costume I've ever seen "made"! 

crapflinger (author)2009-11-05

"my daughter really wanted to be a stoplight for halloween"...probably the first time those words have ever been uttered

i like the baby costume too

davewking (author)crapflinger2009-11-05

 Thanks, I agree it is funny that's what she wanted to be.  A couple of months ago she figured out how stoplights work, now whenever we're making a right turn on a red light she lectures us on "red means stop", "green means go".  She's hilarious.

About This Instructable

3,877views

6favorites

License:

More by davewking:Egg-bot Creations and TipsQuestion Box Puzzle"Up" Gingerbread house
Add instructable to: