Trivia Game
.
ECE 4180 Fall 2016 Final Project
By Michael Balourdas and Abraham Kancherla
Overview
This project is a Trivia Game that has three different game modes and interacts through a serial connection with a C# GUI. The three game modes are: Normal, Timed, and Challenge.
In Normal Mode, the player is given a set number of questions and answers as many correctly as possible.
In Timed Mode, the player has 60 seconds to answer as many questions as possible.
In Challenge Mode, the player answers questions until they answer one incorrectly.
Components
- Mbed Microcontroller
- MPR121 Capacitive Touchpad
- uLCD-1.44" LCD Display
- SD Card Reader
- Speaker
- 2N3904 Transistor
- Mbed to CPU USB Cable
Wiring
Touchpad
https://developer.mbed.org/components/MPR121-I2C-Capacitive-Touch-Keypad/
Use 4.7kOhm pull-up resistors to 3.3V for SDA and SCL.
Touchpad | Mbed |
---|---|
GND | GND |
SDA | p9 |
SCL | p10 |
IRQ | p26 |
Vcc | 3.3V |
LCD
http://developer.mbed.org/users/4180_1/notebook/ulcd-144-g2-128-by-128-color-lcd/
LCD | Mbed |
---|---|
+5V | Vu |
RX | p27 |
TX | p28 |
RES | p29 |
GND | GND |
SD Card Reader
http://developer.mbed.org/cookbook/SD-Card-File-System
SD | Mbed |
---|---|
CS | p8 |
DI | p5 |
VCC | 3.3V |
SCK | p7 |
GND | GND |
DO | p6 |
CD | NC |
Speaker
See https://developer.mbed.org/users/4180_1/notebook/using-a-speaker-for-audio-output/
Import programTriviaGame_Final
Final Trivia Game Code
C# GUI Code /media/uploads/mbalourdas9/windowsformsapplication2.zip
Please log in to post comments.