ASHPD - DIY Lights & Sound Effects (for under $100)
So I got my Arduino and WaveShield last week (care of http://adafruit.com/), and I haven't slept much since ;)
This is literally my first project (I've never soldered anything before last Monday!). I thought I'd share incase there's other prop/replica geeks out there who feel the need to learn enough EE to make their own sound effects.
I don't think I've slept much this week....
Overview:
Aperture Science Handheld Portal Device (ASHPD) - DIY Sound Effects
Functionality:
Power-Switch (SPST ON-OFF):
Now I'm off to bed... enjoy!
--Rachel
This is literally my first project (I've never soldered anything before last Monday!). I thought I'd share incase there's other prop/replica geeks out there who feel the need to learn enough EE to make their own sound effects.
I don't think I've slept much this week....
Overview:
Aperture Science Handheld Portal Device (ASHPD) - DIY Sound Effects
- Adapted from ebs' forum post to ladyada.net, here: http://www.ladyada.net/forums
- And ladyada's dap.pde example: http://www.ladyada.net/media/wavshield/dap.pde
- Arduino (pre-assembled) (Duemilanove) (http://adafruit.com/) = $30.00
- Arduino-bootloader 2x upgrade chip (Atmega328) (http://adafruit.com/) = $7.50
- Adafruit Wave Shield for Arduino Kit (v1.0) (http://adafruit.com/) = $22.00
- SD/MMC Memory Card (1 Gig) ~$5.00
- Sony SRS-A27 desktop personal speakers ~$17.00
- Arduino 0013: http://arduino.cc/en/Main/Software
- WaveShield lib: http://www.ladyada.net/make/waveshield/download.html
- My Sketch source code (Arduine Code): http://downloads.rockyluck.com/files/PortalGun.pde
Functionality:
Power-Switch (SPST ON-OFF):
- Turn the board (lights & sound) ON-OFF
- On setup(): Plays the powerup_sound1.wav file and starts the ambient_loop.wav
- ambient_loop.wav will continue to play while gun is on; and pauses when gun is fired or other effect is triggered
- Changes between Orange/Blue lights
- Toggles Fire-Button sound effects
- Plays the color appropriate sound effect when pressed
- [Optionally] Flashes 4 additional white LEDs
- Follows up with randomly selected open-portal sound (open1 - open3.wav)
- Small discrete ON-OFF slide switch
- When ON: causes the follow-up sound to play invalid_surface.wav rather than random open-portal sound
- When pressed it plays "Still Alive" by GLaDOS (Jonathan Coulton)
- Bonus! If the Invalid-Surface-Toggle is ON it plays the "radio mix" edit of Still Alive
Now I'm off to bed... enjoy!
--Rachel