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.

/media/uploads/mbalourdas9/4180.jpg

/media/uploads/mbalourdas9/block.png

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.

TouchpadMbed
GNDGND
SDAp9
SCLp10
IRQp26
Vcc3.3V

LCD

http://developer.mbed.org/users/4180_1/notebook/ulcd-144-g2-128-by-128-color-lcd/

LCDMbed
+5VVu
RXp27
TXp28
RESp29
GNDGND

SD Card Reader

http://developer.mbed.org/cookbook/SD-Card-File-System

SDMbed
CSp8
DIp5
VCC3.3V
SCKp7
GNDGND
DOp6
CDNC

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.