Tap Tap Revolution
Team Members
Shelby Conway, Joshua Crane, Jun Qin
Project Overview
The objective of the project was to design a game in which a player attempts to tap in accordance with bubbles once they reached the bottom of the screen. Using a joystick, the player would have the option of picking from three songs, which would play from the speaker. After selecting the song, bubbles would appear randomly in three columns on a uLCD, and players would try to time their hits on a capacitive touch pad with the bubbles as they moved down the screen. A multi-color LED would emit one of three colors(red, blue, green), depending on how well the player was performing. One pushbutton is used to select the song and the other is to exit to the homescreen.
Parts
- mbed lpc1768: https://os.mbed.com/platforms/mbed-LPC1768/

- uLCD-144-G2 128 by 128 Smart Color LCD: https://os.mbed.com/users/4180_1/notebook/ulcd-144-g2-128-by-128-color-lcd/

- MPR121 I2C Capacitive Touch Sensor: [{https://os.mbed.com/users/4180_1/notebook/mpr121-i2c-capacitive-touch-sensor/]]

- Thumb Joystick: https://www.sparkfun.com/products/9032


- Pushbuttons x 2: https://os.mbed.com/users/4180_1/notebook/pushbuttons/

- Speaker with BJT Driver: https://os.mbed.com/users/4180_1/notebook/using-a-speaker-for-audio-output/

Wiring
uLCD
| mbed | uLCD |
|---|---|
| Vu | +5V |
| p27 | TX |
| p28 | RX |
| GND | GND |
| p30 | RES |
Capacitive TouchPad
| mbed | TouchPad | =Pullup Resistors |
|---|---|---|
| Gnd | Gnd | |
| p9 | SDA | 4.7K ohm - from p9/SDA to Vout (not in series!) |
| p10 | SCL | 4.7K ohm - from p10/SCL to Vout (not in series!) |
| p26 | IRQ | |
| Vout(3.3V) | Vcc |
Analog Joystick
| mbed | uLCD |
|---|---|
| Vout | VCC |
| p16 | Vert |
| GND | GND |
RGB LED

| mbed | LED |
|---|---|
| p24 | Red(p1) |
| p23 | Green(p3) |
| p22 | Blue (p4) |
| Gnd | p2 |
PB1(To select the song)
| mbed | pb1 |
|---|---|
| p20 | + |
| Gnd | - |
PB2(To exit the game)
| mbed | pb2 |
|---|---|
| p19 | + |
| Gnd | - |
Speaker

| mbed | Driver Circuit |
|---|---|
| p18 | R1 |
Demo
Program
Import programECE4180_Final
ECE 4180 Final
Please log in to post comments.
