Presentation is loading. Please wait.

Presentation is loading. Please wait.

Blackfin Calculator Learning Game By Majed Al-Herbi Will Matthau Course: ECE3552 – Spring 2008 Instructor: Dr. Veton Kepuska.

Similar presentations


Presentation on theme: "Blackfin Calculator Learning Game By Majed Al-Herbi Will Matthau Course: ECE3552 – Spring 2008 Instructor: Dr. Veton Kepuska."— Presentation transcript:

1 Blackfin Calculator Learning Game By Majed Al-Herbi Will Matthau Course: ECE3552 – Spring 2008 Instructor: Dr. Veton Kepuska

2 Overview We have developed a game for children that will teach them math We have developed a game for children that will teach them math This game will incorporate sound and button inputs for calculations with an output (All LED will light up) if the Answer is correct. This game will incorporate sound and button inputs for calculations with an output (All LED will light up) if the Answer is correct.

3 The Design We have 4 buttons: We have 4 buttons: First 3 buttons are use for our calculator’s calculationFirst 3 buttons are use for our calculator’s calculation 1 st buttons increment to specify number1 st buttons increment to specify number 2 nd buttons to confirm number2 nd buttons to confirm number 3 rd button to confirm operation3 rd button to confirm operation Computed answer cannot be more than 63 Computed answer cannot be more than 63 The Six LED represent binary number ( 1, 2, 4, 8, 16, 32) if you press the 2 nd button to confirm number that is lighted. The Six LED represent binary number ( 1, 2, 4, 8, 16, 32) if you press the 2 nd button to confirm number that is lighted. Also The Six LED represent Operation (+, *, -, /,%, power) if you press 3 rd button to confirm operation that is lighted. Also The Six LED represent Operation (+, *, -, /,%, power) if you press 3 rd button to confirm operation that is lighted. Last button used for the confirmation of the computation and send the computation to the other board.Last button used for the confirmation of the computation and send the computation to the other board. We have a buffers for our sound, picture and calculated answer We have a buffers for our sound, picture and calculated answer Buffer[0]  sound Buffer[0]  sound Buffer[1]  calculator answer Buffer[1]  calculator answer Buffer[2+]  Image (was not needed in the time of presentation ) Buffer[2+]  Image (was not needed in the time of presentation )

4 The Flow: 1. The Calculator’s Computational Process: ► This is where we use our calculator to compute an math problem and send the answer to the receiver board. ► Then in the Receiving board we have to input the correct Answer for the computation to test it. 2. Sound Transmission Process ► We have incorporated our sound through our buffer while the previous processes are going on.

5 1.) The Computation Process First button is used to increment the lights/value of the first and second number we will be using First button is used to increment the lights/value of the first and second number we will be using Once the first value has been inputted, we confirm it with the second button:Once the first value has been inputted, we confirm it with the second button: (value confirm button) (value confirm button) After the first value has been confirmed into the Blackfin, we then increment our operations with the first button and confirm it with the third button:After the first value has been confirmed into the Blackfin, we then increment our operations with the first button and confirm it with the third button: (operation confirm button) (operation confirm button) We then confirm the second value with the value confirm buttonWe then confirm the second value with the value confirm button To confirm the entire computation, we use the final fourth confirm button to send the answer to the other board.To confirm the entire computation, we use the final fourth confirm button to send the answer to the other board.

6 2.) Transfer Process In The receiving board we have to confirm the Right answer for the computation so all the LED will light up showing that we had the right Answer otherwise nothing will happen.In The receiving board we have to confirm the Right answer for the computation so all the LED will light up showing that we had the right Answer otherwise nothing will happen.

7 3.) Sound Transmission Process Summary: Summary: We have successfully combined the transmission of the audio from the first board to the second board while the previous process run.We have successfully combined the transmission of the audio from the first board to the second board while the previous process run. This was very difficult because none of our custom made protocols were correctly deciphering between the answer’s buffer, and the sound’s buffer. This was very difficult because none of our custom made protocols were correctly deciphering between the answer’s buffer, and the sound’s buffer. The final protocol sends the audio data as a “-1” until it The final protocol sends the audio data as a “-1” until it Code: Code:

8 Difficulties We have to reset the two boards after every build because our board seem to save the inputs. We have to reset the two boards after every build because our board seem to save the inputs. Old working code (from last year) seemed not to build correctly which slowed us down because we could not model our program after anything. Old working code (from last year) seemed not to build correctly which slowed us down because we could not model our program after anything.

9 Improving the program We could use shared memory to store prerecorded messages to play to the user if their answer is close, wrong or right. We could use shared memory to store prerecorded messages to play to the user if their answer is close, wrong or right. We could have a picture to be displayed as a result for getting the right answer but we were not receiving the right Image that we transmitted from the first board but I will work on that during the summer. We could have a picture to be displayed as a result for getting the right answer but we were not receiving the right Image that we transmitted from the first board but I will work on that during the summer.

10 For Question look in the code ?


Download ppt "Blackfin Calculator Learning Game By Majed Al-Herbi Will Matthau Course: ECE3552 – Spring 2008 Instructor: Dr. Veton Kepuska."

Similar presentations


Ads by Google