Difference between revisions of "F19: Alien Wars"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Schedule)
(Schedule)
Line 79: Line 79:
 
|
 
|
  
* Analyze the hardware components, read datasheets (Bluetooth, LED Matrix display, MP3 encoder, joystick module)
+
* Analyze the hardware components, read datasheets (Bluetooth, LED Matrix display, MP3 encoder, joystick module.
* Develop basic game design, wiring and GPIO driver for LED matrix display.  
 
 
 
 
|
 
|
 
* Completed
 
* Completed
Line 101: Line 99:
 
|  11/12/2019
 
|  11/12/2019
 
|
 
|
 +
* Display objects on screen, control movement of spaceship.
 
* Develop UART driver for wireless joystick communication (Bluetooth)
 
* Develop UART driver for wireless joystick communication (Bluetooth)
* Develop driver for speaker to play game sounds
 
* Develop Algorithm for Game Logic
 
|
 
 
* TODO
 
* TODO
 
|
 
|
Line 114: Line 110:
 
|
 
|
 
* LED matrix integration with game.
 
* LED matrix integration with game.
 +
* Develop driver for speaker to play game sounds
 
|
 
|
 
* TODO
 
* TODO

Revision as of 01:38, 13 November 2019

Alien Wars

Abstract

Alien wars is a single player combat game, with increasing levels of difficulty. Each level has a has target number of enemy spaceships to be destroyed, before the ultimate villain ‘the alien king’ appears. Once the ultimate villain is killed the player proceeds to next level. The speed of the enemy spaceships approaching the player will increase with the increasing levels. The player can choose to either shoot the enemy spaceship using missiles or dodge it. The game ends when the player crashes with enemy spaceship.

Objectives & Introduction

Show list of your objectives. This section includes the high level details of your project. You can write about the various sensors or peripherals you used to get your project completed.

Team Members & Responsibilities

  • Abhinandan Burli
    • Developing enemy game algorithm and game characters on LED matrix display, GPIO driver for LED matrix display
  • Joel Samson
    • Joystick interfacing and transmitting control values and button inputs over bluetooth (HC05) - UART driver (transmitter & receiver), GPIO driver for LED matrix display
  • Basangouda Patil
    • Speaker and MP3 encoder interfacing, developing game sounds - SPI driver, GPIO driver for LED matrix display

Schedule

Week# Date Task Status Actual Completion Date
1 10/1/2019
  • Submission of Project Proposal
  • Completed
  • 10/1/2019
2 10/8/2019
  • Alien Wars Project Approved
  • Completed
  • 10/8/2019
3 10/15/2019
  • Submit wiki project plan for upcoming weeks
  • Completed
  • 10/14/2019
4 10/22/2019
  • Research Required Components - LED matrix display, Joystick, Bluetooth module, MP3 encoder
  • Order Parts and Identify Roles
  • Completed
  • 10/22/2019
5 10/29/2019
  • Analyze the hardware components, read datasheets (Bluetooth, LED Matrix display, MP3 encoder, joystick module.
  • Completed
  • -/-/2019
6 11/5/2019
  • Develop basic game design, wiring and GPIO driver for LED matrix display.
  • Print characters for start screen
  • TODO
  • -/-/2019
7 11/12/2019
  • Display objects on screen, control movement of spaceship.
  • Develop UART driver for wireless joystick communication (Bluetooth)
  • TODO
  • -/-/2019
8 11/19/2019
  • LED matrix integration with game.
  • Develop driver for speaker to play game sounds
  • TODO
  • -/-/2019
9 11/26/2019
  • Joystick Integration with game.
  • TODO
  • -/-/2019
10 12/3/2019
  • Further Game Design & Testing
  • TODO
  • -/-/2019
11 12/10/2019
  • Integration Testing and Fixes
  • TODO
  • -/-/2019
12 12/17/2019
  • Final bug fixes and troubleshooting.
  • Complete wiki report and final demo.
  • TODO
  • -/-/2019

Parts List & Cost

Item# Part Desciption Vendor Qty Cost
1 SJTwo Boards From Preet 3 $150.00
2 32x64 RGB LED Matrix Adafruit 1 $92.00
3 Wiring Components and Cable Amazon 1 $20
4 HC05 Bluetooth module Amazon 2 $35
5 Adafruit Analog 2-axis thumb Joystick Adafruit 1 $9

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

Describe the challenges of your project. What advise would you give yourself or someone else if your project can be started from scratch again? Make a smooth transition to testing section and described what it took to test your project.

Include sub-sections that list out a problem and solution, such as:

  • Technical Challennges
    • Flickering of data
    • Dynamic display of objects in LED matrix display

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.