"YOU are the calculator! " Problem Solving Game

Description

This project makes use of the mbed in conjunction with a navigation switch/digital joystick for the user to answer randomly generated math problems. The internal pushbuttons in the navigation switch are used to select each digit of the answer. The end goal is to answer 3 out of 5 questions correctly before a winning message along with graphics and sounds is shown, representing that the user has won the game. Otherwise, a sound is played and a message is displayed notifying that the user has lost. The up pushbutton is used to increment digits, the down button is used to go to the next digit and the left is used to indicate that the user has finished answering. Since the navigation switch’s pushbuttons are highly sensitive to user movements and hence is hard to control, the right pushbutton is used to clear the answer value entered. The screen gets cleared with the equation that needs to be solved displayed at the top and the user is given another chance to input the answer.

Hardware Connections

/media/uploads/mave3/nav_switch_UpaURTb.png

/media/uploads/mave3/lcd_xL7X13E.png

/media/uploads/mave3/class_d_Ii1BkMv.png

/media/uploads/mave3/sd_CTA2n3e.png

Breadboard Example

/media/uploads/mave3/img_2877.jpg

Video Demonstration

Import programLab4FINAL

"YOU are the calculator" Problem Solving Game


Please log in to post comments.