ECE4180 LAB4

MBED RHYTHM GAME

Objective

To design a simple game on the mbed microcontroller chip similar to music rhythm games in the market today such as OSU, O2JAMm, or BeatX.

Program Description

In the beginning of this game, a user can choose their music in the beginning and there are 3 .wav files in the SD card. The 4 pushbuttons are used as the input while the music is being played. Since this is a simple game, the node blocks are coming randomly. There is numeric boards that showing the user's score. After 45 seconds of music playing, the game is over. Each hit node gives 1 score point. 5th push button is used for restarting the game.

Wiring

/media/uploads/ssong86/4180wiring_bkQotPG.jpg

PinOuts

MbeduLCDSDcardPushbuttonsSpeakerD Audio Amp
GNDGNDGNDGNDin-
Vout(3.3v)+5VVCC
P13TXGND
P14RXGND
P15RESETGND
P5DI
P6DO
P7SCK
P8CS
P21PB5
P22PB4
P23PB3
P24PB2
P25PB1
+out+
-out-
P18in+
extern+pwr+
extern-pwr-

DEMO

Program

Import program4180_lab4_SEVENTrial

4180 lab4


Please log in to post comments.