Step 1: Overview
This video is of the LED lights going off outside of the pumpkin.
Sorry, I couldn't get my camera to pick up the light coming out of the pumpkin well enough to be worth including the video of this really working.
Step 2: Materials
- Pumpkin!
- Super Bright LED's- I used regular LED's, and I think it would look a lot better with the super bright type of LED's
- Some kind of Micro-controller board - I used the Parallax Basic Stamp two because that was what I had, but I'm sure the Make Controller or some other type of controller could be used as well.
Nails- These will be used to hold the Micro-controller board onto the side of the pumpkin, you might not need these depending on how your controller can be mounted
Optional:
Computer Speaker- this will serve as an amplifier for the small speaker that comes with the Micro Controller
Tools:
Knives
Step 3: Carve Your Pumpkin!
Step 4: Hook Up Your Microcontroller
You will need to hook up the LED's and speakers in the exact same place as I show, or the program that I will include in the next step will not work. In the 14th 13th 12th and 11th rows, plug in 470 ohm resistors leading into the far set of rows under the Vss terminals, the resistors should lead into the same row as they came out of. Now take four different LED's and plug the negative (shorter end) ends of the LED's into the Vss terminals. Take the positive ends (longer ends) of the LED's and plug them into the same rows as you plugged the resistors into (rows 14, 13, 12, and 11) The two ends of the speaker should be plugged into row 9, and into one of the Vss terminals, using a longer wire if necessary. If you are going to use a computer speaker to amplify the sound, just hook up the wire coming out of terminal 9 to the input wire of your computer speaker. The pictures should make all of this a lot clearer if this was confusing for you.
Step 5: The Software
' {$STAMP BS2}
' {$PBASIC 2.5}
These two commands above are to tell the compiler what type of coding you are using, and what type of hardware you will be using.
DO
The "do" command tells the controller to do everything it finds until it hits a loop command
HIGH 14
The "high" command tells the Controller to apply voltage to
the pin that follows, in this case the PIN is number 14,
the same number fourteen as there is on your micro controller
PAUSE 100
The "pause" command tells the controller to pause everything that it is doing
for a given time in this case it will pause for 100 mili seconds
FREQOUT 9,200, 1568
The "Freqout" command tells the Controller to output a certian frequency
for a certian durration of time through a certian pin number, in this case
the pin number is 9, the time is 200 mili seconds and the frequency is 1568Hz
LOW 14
The "low" command tells the controller to stop applying voltage to a certain pin,
in this case pin 14.
LOOP
The "loop" command tells the controller to go back the the "DO" command it
found earlier, this will create a loop.






























Not Nice



















Visit Our Store »
Go Pro Today »



