F20: Tom & Jerry
Contents
INTRODUCTION
We intend to design a game using RGB LED Matrix and microcontroller LPC 4058.
OBJECTIVE
The game objectives are as follows:
- Interfacing the RGB LED Matrix with SJTwo Microcontroller
- Coding simple to use display functions for displaying characters at any given position
- Randomizer to generate random position for Jerry
- Tasks that can move Tom depending on the user:
- Interrupt to be generated on press of button to start game/Pause the game
- Score Counter and Energy Counter to be displayed at the top and updated in real time as the game progresses
- Title Screen and Game Over screens
- MP3 driver for playing audio
TEAM MEMBERS AND RESPONSIBILITIES
- Sarika Natu
- Git Repository
- MP3 Decoder Driver
- Shivani Pradeep Tambatkar
- Wiki Page Updates.
- Accelerometer Driver
- PCB and Hardware Design
- Integrating Accelerometer and RGB Matrix
- Maze Design
- Finalizing Game Logic and Testing
- Packaging and Component Assembling
- Soumya Sahu
- RGB Matrix Interface and Design of base matrix code.
- Maze Design
- PCB Design Verification
- Finance Manager
- Bill of Material
- Finalizing Game Logic and Testing
SCHEDULE
Week# | Start Date | End Date | Task | Status |
---|---|---|---|---|
1 |
|
|
|
|
2 |
|
|
|
|
3 |
|
|
|
|
4 |
|
|
|
|
5 |
|
|
|
|
6 |
|
|
|
|
7 |
|
|
|
|
8 |
|
|
|
|
9 |
|
|
|
|
10 |
|
|
|
|
11 |
|
|
|
Parts List & Cost
Part | # | Cost | Source |
---|---|---|---|
SJ2 Board | 1 | $50.00 | Preet |
Sparkfun RGB (32x64) LED Matrix Display | 1 | $65.72 | Amazon |
PCB Fabrication | 1 | $25.00 | JLC PCB |
5V/4A Power Adapter | 1 | $8.99 | Amazon |
12v DC Power Jack Adapter Connector | 1 | $3.90 | Amazon |
Jumper Wires | 1 | $6.99 | Amazon |
- Total Cost: $195.7
Design & Implementation
The design section can go over your hardware and software design. Organize this section using sub-sections that go over your design and implementation.
Hardware Design
Discuss your hardware design here. Show detailed schematics, and the interface here.
Hardware Interface
In this section, you can describe how your hardware communicates, such as which BUSes used. You can discuss your driver implementation here, such that the Software Design section is isolated to talk about high level workings rather than inner working of your project.
Software Design
Show your software design. For example, if you are designing an MP3 Player, show the tasks that you are using, and what they are doing at a high level. Do not show the details of the code. For example, do not show exact code, but you may show psuedocode and fragments of code. Keep in mind that you are showing DESIGN of your software, not the inner workings of it.
Implementation
This section includes implementation, but again, not the details, just the high level. For example, you can list the steps it takes to communicate over a sensor, or the steps needed to write a page of memory onto SPI Flash. You can include sub-sections for each of your component implementation.
Testing & Technical Challenges
1. LED MATRIX:
The OE pin when low, it switches off the LEDs before transition to next row) and LAT (when high) it latches the output pin with current row value). Before transitioning new row value it is important to follow the above instructions, otherwise you will see ghosting effect in the LEDs.
Conclusion
Conclude your project here. You can recap your testing and problems. You should address the "so what" part here to indicate what you ultimately learnt from this project. How has this project increased your knowledge?
Project Video
Upload a video of your project and post the link here.
Project Source Code
References
Acknowledgement
Any acknowledgement that you may wish to provide can be included here.
References Used
List any references used in project.
Appendix
You can list the references you used.