2012年11月28日 星期三

Mini-project: Sokoban


               On these two weeks, we need to do the mini-project. The project title is Sokoban. That means we need to write a assembly game of Sokoban. In this game,  Player pushes boxes or crates around in a warehouse, trying to get them to storage locations.
              First of all, we need to connect the graphical LCD (128X64) and 6X4 keypad to our system board.

Schematic of keypad
pin assignment of graphic LCD












Here is the result of our final circuit















Final product











           

             












             And we write a test program to test whether the LCD display is work correctly or not. And finally we found out it is work. In this wrap wire experience, I feel some trouble on testing the circuit is work or not. However, I have learnt how to use CRO to find out the problem. I use CRO to trace the signal. Finally, I found out a active low pin remains low at all time. This technique is very useful.
           Now, we still are writing our assembly game. This is a challenging project. The workload is a bit high. We have to finish this project within 3 weeks. Therefore, we need to take the extra session to do this project. Although, this project is tough, I have learnt more things from this course. 


沒有留言:

張貼留言