Introduction: 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

 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

 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

author
WesleySwain made it!(author)2010-01-05

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

author
compnerd4 made it!(author)2009-11-08

Best Dad ever!
Nice work!

author
davewking made it!(author)2009-11-18

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

author
compnerd4 made it!(author)2009-11-18

lol

author
WyoJustin made it!(author)2009-11-06

Sweet Make!  Nice video.

Justin

author
davewking made it!(author)2009-11-18

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

author
theshades made it!(author)2009-11-13

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

author
davewking made it!(author)2009-11-18

Thanks, it was fun.

author
tamilemon made it!(author)2009-11-09

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

author
crapflinger made it!(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

author
davewking made it!(author)2009-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.