Deal or No Deal Mbed Game

Overview

This project uses the uLCD-144-G2 smart color LCD screen along with an MPR 121 capacitive touch sensor and speaker to create a Deal-or-No-Deal inspired game for mbed. The game begins with a start screen prompting the user to hit the Deal button to begin the game. Once the game has begun, the user pushes uses the grid of capacitive touch buttons to select cases from those displayed on the screen. After selecting five cases, the "banker" makes an offer to the user to purchase their case, which the player can decide to take or decline and keep the mystery contents of their chosen case.

Pictures

http://i.imgur.com/h2QrgJ1.jpg http://i.imgur.com/6m9sqIX.jpg

Video

Components

Circuit

uLCD Pinmbed Pin
+5vVu
RXp28
TXp27
GNDGND
RESp30
Amplifiermbed PinSpeaker
IN+p18
PWR -GND
PWR+Vout
OUT+IN+
OUT-IN-
Touch Keypad Pinmbed PinPullup Resistors
GndGnd
p9SDA4.7K ohm - from p9/SDA to Vout
p10SCL4.7K ohm - from p9/SCL to Vout
p26IRQ
Vout(3.3v)VCC
Pushbuttonsmbed Pin
PB1 GndGnd
PB2 GndGnd
PB1p11
PB2p12

Code

Import programdeal_or_no_deal_graphics

Gatech ECE 4180 Lab 4 Deal or No Deal Game -Alex Ferrara -Luke LeFeve


Please log in to post comments.