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 pinsMic pinsSpeaker PinsIR SensorSD pinsuLCD pinsClass D amp
GNDGNDN/ABlack WireGNDGNDPWR - and IN -
VOUT (3.3V)N/AVccPWR +
V0 (5V)VinRed Wire5V+
p5 (SPI MOSI)DI
p6 (SPI MISO)DO
p7 (SPI SCK)SCK
p8CS
p16 (AnalogIn)DC
p18 (AnalogOut)IN+
p20 (AnalogOut)Yellow Wire
p27 (mbed's RX)uLCD's TX
p28 (mbed's TX)uLCD's RX
p30RES
Speakerpins
+ClassD OUT+
-ClassD OUT-

Images

/media/uploads/zjohnson31/im2.jpg /media/uploads/zjohnson31/im1.jpg /media/uploads/zjohnson31/im4.jpg /media/uploads/zjohnson31/im3.jpg /media/uploads/zjohnson31/im5.jpg

Video

Code/Libraries

Import programWWZombies

World War Zombies! Kirby vs. Zombies in an endless post apocalyptic brawl!


Please log in to post comments.