an mbed tile music game using a capacitive touchpad and uLCD

Dependencies:   SDFileSystem mbed wave_player

piano tiles game

Overview

This mbed mini-project creates a game called “Piano Tiles”, where the user has to tap on the black tiles while avoiding the white tiles. Each correct tap results in a musical tone played, and in quick succession plays famous song Fur Elise. The score is measured on the speed of the player. For more info on this game check out: https://en.wikipedia.org/wiki/Piano_Tiles and you can also play an online demo here: https://scratch.mit.edu/projects/21596393/

Hookup Guide

The mbed to different device hookups are shown below:

uLCD-144-G2

mbeduLCD Header
VU = 5VuLCD Header
GndGnd
TX=P28RX
RX=P27TX
P30Reset

MPR121 I2C Capacitive Touch Sensor

mbedTouch KeypadPullups
GndGnd
P9SDA4.7K
P10SCL4.7K
P26IRQ
Vout (3.3 V)Vcc

SDFileSystem

mbedSDFileSystem
P8CS
P5DI
VoutVcc
P7SCK
GndGnd
P6DO
CD

Speaker

mbedTPA2005D1SpeakerPotentiometer
GndPwr -
Vout (3.3 V)Pwr +
P21, P18In+
Out ++
Out --
Volplug

Images

/media/uploads/clu67/image1.jpg /media/uploads/clu67/image2.jpg

Video


All wikipages