WW Zombies
Description
WW Zombies is an epic 2-D side-scroller video game. Play as Kirby, as the world becomes overrun with zombies and fight for your survival. Use the microphone to tell Kirby when to jump over zombies or use the IR sensor to let Kirby know when it's time for heads to roll. But be careful, you only have 20 rounds of ammo.
Gameplay: While the game is running, yell "jump" into the microphone to make Kirby jump. The AnalogIn signal from the microphone can saturate at times with loud noises so if that starts to happen you will need to yell louder for the microphone to pick up your voice. After a few seconds the signal will start to fall back down though. Move your hand close to the IR sensor to have Kirby shoot.
Parts used: Speaker, SPW 2430 microphone, IR sensor, SD card reader, uLCD screen.
Hookup Guide
It's recommended using an external 5V power source using the barrel jack to supply extra power to all the peripherals. (optional use a 10uF capacitor on Vcc to GND to help with the noise for the microphone)
MBED pins | Mic pins | Speaker Pins | IR Sensor | SD pins | uLCD pins | Class D amp |
---|---|---|---|---|---|---|
GND | GND | N/A | Black Wire | GND | GND | PWR - and IN - |
VOUT (3.3V) | N/A | Vcc | PWR + | |||
V0 (5V) | Vin | Red Wire | 5V+ | |||
p5 (SPI MOSI) | DI | |||||
p6 (SPI MISO) | DO | |||||
p7 (SPI SCK) | SCK | |||||
p8 | CS | |||||
p16 (AnalogIn) | DC | |||||
p18 (AnalogOut) | IN+ | |||||
p20 (AnalogOut) | Yellow Wire | |||||
p27 (mbed's RX) | uLCD's TX | |||||
p28 (mbed's TX) | uLCD's RX | |||||
p30 | RES |
Speaker | pins |
---|---|
+ | ClassD OUT+ |
- | ClassD OUT- |
Images
Video
Code/Libraries
Import programWWZombies
World War Zombies! Kirby vs. Zombies in an endless post apocalyptic brawl!
Please log in to post comments.