Difference between revisions of "F19: Road Max Fury"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Created page with "== Project Title == Space Impact - Game using FreeRTOS == Abstract == Space Impact is a classic game from the days of the Nokia era. Our objective is to design a game in whic...")
 
(Parts List & Cost)
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Project Title ==
 
== Project Title ==
Space Impact - Game using FreeRTOS
+
Road Max Fury- Game using FreeRTOS
  
 
== Abstract ==
 
== Abstract ==
Space Impact is a classic game from the days of the Nokia era. Our objective is to design a game in which a player is prompted to protect a spaceship from incoming missiles by moving the ship up and down. The player will also have the ability to fire back at the incoming enemies. The enemy ship's movements will speed up as the game progresses, increasing the difficulty of the game.
+
Road Max Fury is a game based on a classic car racing arcade game developed in 1984 by Konami named Road Fighter. We planned to reproduce this game as a part of our CMPE 244 project. The goal is to reach the finish line without running out of time, avoiding other cars on the road or running out of fuel .The fuel is refilled by hitting petrol pump which the player can encounter at random location during the course of the game. The player also needs to prevent car from hitting the edge of the road to prevent the collision.
  
Example Link: https://www.youtube.com/watch?v=jh49RWFnZHk
+
Example Link: https://www.youtube.com/watch?v=1FzumH75whY
  
 
== Objectives & Introduction ==
 
== Objectives & Introduction ==
Line 11: Line 11:
  
 
=== Team Members & Responsibilities ===
 
=== Team Members & Responsibilities ===
Nikhil Pabbisetty
+
Namdev Prabhugaonkar
 
**   
 
**   
Hari Haran Kura
+
Rutuja Shah
 
**   
 
**   
Daniel Tsai
+
Saumil Shah
 
**
 
**
  
 
== Schedule ==
 
== Schedule ==
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 
! scope="col"| Week#
 
! scope="col"| Week#
 
! scope="col"| Date
 
! scope="col"| Date
! scope="col"| Task
+
! scope="col"| Deliverables
! scope="col"| Current Progress
+
! scope="col"| Status
! scope="col"| Actual Completion Date
 
 
|-
 
|-
 
! scope="row"| 1
 
! scope="row"| 1
| 10/15/2019
+
| 09/29
 
|  
 
|  
* Create our own Wikipedia page of Space Impact.
+
* Road Max Fury project approved by instructor
* Delegation of tasks to each team member.
+
|
* Discuss the various challenges that might come up with during the design phase and report it as top questions.
+
* Completed
* Discuss what kind of components would be needed for our design.
+
|-
| In Progress
+
! scope="col"| Week#
| N/A
+
! scope="col"| Date
 +
! scope="col"| Deliverables
 +
! scope="col"| Status
 
|-
 
|-
 
! scope="row"| 2
 
! scope="row"| 2
| 10/22/2019
+
| 10/12
 +
|
 +
* Create project Wiki page
 
|
 
|
* Finalize the Bill of Materials.
+
* Completed
* Place order for Hardware components.
+
|-
| In Progress
+
! scope="col"| Week#
| N/A
+
! scope="col"| Date
 +
! scope="col"| Deliverables
 +
! scope="col"| Status
 
|-
 
|-
 
! scope="row"| 3
 
! scope="row"| 3
| 10/29/2019
+
| 10/12
 
|  
 
|  
* Reading the 64x64 LED-Matrix datasheet.
+
* Finalize list of parts to order
* Initial design implementation.
+
|
| In Progress
+
* In Progress
| N/A
+
|-
 +
! scope="col"| Week#
 +
! scope="col"| Date
 +
! scope="col"| Deliverables
 +
! scope="col"| Status
 +
|-
 +
! scope="row"| 4
 +
| 10/30
 +
|
 +
* Order all necessary project parts
 +
|
 +
*
 
|-
 
|-
 +
! scope="col"| Week#
 +
! scope="col"| Date
 +
! scope="col"| Deliverables
 +
! scope="col"| Status
 +
|-
 +
! scope="row"| 5
 +
| 11/06
 +
|
 +
* Design and layout Board-Matrix interface circuit schematic and PCB in EAGLE <br>
 +
* Finalize Spartan Warrior game design (flowchart and art)<br>
 +
* ''Note:'' (Adafruit 32 x 32 LED matrix arrives today)<br>
 +
* Complete sound effect for trigger pull
 +
|
 +
*
 +
*
 +
*
 +
*
 +
|-
 +
! scope="col"| Week#
 +
! scope="col"| Date
 +
! scope="col"| Deliverables
 +
! scope="col"| Status
 +
|-
 +
! scope="row"| 6
 +
| 11/13
 +
|
 +
* Interface LPC1758 to 32 x 32 LED Adafruit LED Matrix<br>
 +
* Complete and demo initial soundtrack prototype
 +
|
 +
*
 +
*
 +
|-
 +
! scope="col"| Week#
 +
! scope="col"| Date
 +
! scope="col"| Deliverables
 +
! scope="col"| Status
 +
|-
 +
! scope="row"| 7
 +
| 11/20
 +
|
 +
* Achieve full control of individual LED matrix pixels<br>
 +
* Complete final soundtrack design<br>
 +
* Send PCB to fabrication house
 +
|
 +
*
 +
*
 +
*
 +
|-
 +
! scope="col"| Week#
 +
! scope="col"| Date
 +
! scope="col"| Deliverables
 +
! scope="col"| Status
 +
|-
 +
! scope="row"| 8
 +
| 11/27
 +
|
 +
* Improve overall code readability 
 +
* Integrate row control multiplexer into a FreeRTOS task
 +
* Integrate column control loop into a FreeRTOS task
 +
* Create and integrate data structures for enemy sprites
 +
* Implement lateral and vertical movement of sprites<br>
 +
|
 +
*
 +
*
 +
*
 +
*
 +
*
 +
|-
 +
! scope="col"| Week#
 +
! scope="col"| Date
 +
! scope="col"| Deliverables
 +
! scope="col"| Status
 +
|-
 +
! scope="row"| 9
 +
| 12/4
 +
|
 +
* Implement shooting and scorekeeping into game
 +
* Finish designing controller prototype<br>
 +
* Complete and demo final soundtrack<br>
 +
* Integrate PCB into system
 +
* Test and debug PCB (send another revision to fabrication house if needed)
 +
* Integrate controller
 +
|
 +
*
 +
*
 +
*
 +
*
 +
*
 +
*
 +
|-
 +
! scope="col"| Week#
 +
! scope="col"| Date
 +
! scope="col"| Deliverables
 +
! scope="col"| Status
 +
|-
 +
! scope="row"| 10
 +
| 12/11
 +
|
 +
* Complete initial full implementation of Spartan Warrior and demo<br>
 +
* Test and debug game as needed
 +
* Integrate controller into system
 +
* Integrate Soundtrack into system
 +
* Integrate final PCB revision into system
 +
* Power both LPC1758's using portable USB power supply
 +
|
 +
*
 +
*
 +
*
 +
*
 +
*
 +
*
 +
|-
 +
! scope="col"| Week#
 +
! scope="col"| Date
 +
! scope="col"| Deliverables
 +
! scope="col"| Status
 +
|-
 +
! scope="row"| 11
 +
| 12/19
 +
|
 +
* Complete final implementation of Spartan Warrior<br>
 +
* Complete debugging of all game components
 +
* Demo <br>
 +
|
 +
*
 +
*
 +
*
 
|}
 
|}
  
 
== Parts List & Cost ==
 
== Parts List & Cost ==
Give a simple list of the cost of your project broken down by components. Do not write long stories here.
+
{| class="wikitable"
 +
|-
 +
! scope="col"| Part
 +
! scope="col"| #
 +
! scope="col"| Cost
 +
! scope="col"| Source
 +
|-
 +
! scope="row"| LPC 1758 Development Board
 +
| 2
 +
| $160.00
 +
| Preet
 +
|-
 +
! scope="row"| Adafruit 32 x 32 LED Matrix
 +
| 1
 +
| $39.95
 +
| https://www.adafruit.com/product/1484
 +
|-
 +
! scope="row"| PCB
 +
| 1
 +
| $23.00
 +
| https://www.pcbway.com/
 +
|-
 +
! scope="row"| Aukey 20000 mAH Power Supply
 +
| 1
 +
| $33.00
 +
| https://www.amazon.com/AUKEY-20000mAh-Lightning-Portable-Compatible/dp/B0176HQ1O8/ref=sr_1_4?s=wireless&ie=UTF8&qid=1545293329&sr=1-4&keywords=aukey+power+bank
 +
|-
 +
|}
  
 
== Design & Implementation ==
 
== Design & Implementation ==
Line 90: Line 259:
  
 
=== Project Source Code ===
 
=== Project Source Code ===
*  [https://sourceforge.net/projects/sjsu/files/CmpE_S2016/ Sourceforge Source Code Link]
+
*  []
  
 
== References ==
 
== References ==

Revision as of 21:20, 12 October 2019

Project Title

Road Max Fury- Game using FreeRTOS

Abstract

Road Max Fury is a game based on a classic car racing arcade game developed in 1984 by Konami named Road Fighter. We planned to reproduce this game as a part of our CMPE 244 project. The goal is to reach the finish line without running out of time, avoiding other cars on the road or running out of fuel .The fuel is refilled by hitting petrol pump which the player can encounter at random location during the course of the game. The player also needs to prevent car from hitting the edge of the road to prevent the collision.

Example Link: https://www.youtube.com/watch?v=1FzumH75whY

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

  • Namdev Prabhugaonkar
  • Rutuja Shah
  • Saumil Shah

Schedule

Week# Date Deliverables Status
1 09/29
  • Road Max Fury project approved by instructor
  • Completed
Week# Date Deliverables Status
2 10/12
  • Create project Wiki page
  • Completed
Week# Date Deliverables Status
3 10/12
  • Finalize list of parts to order
  • In Progress
Week# Date Deliverables Status
4 10/30
  • Order all necessary project parts
Week# Date Deliverables Status
5 11/06
  • Design and layout Board-Matrix interface circuit schematic and PCB in EAGLE
  • Finalize Spartan Warrior game design (flowchart and art)
  • Note: (Adafruit 32 x 32 LED matrix arrives today)
  • Complete sound effect for trigger pull
Week# Date Deliverables Status
6 11/13
  • Interface LPC1758 to 32 x 32 LED Adafruit LED Matrix
  • Complete and demo initial soundtrack prototype
Week# Date Deliverables Status
7 11/20
  • Achieve full control of individual LED matrix pixels
  • Complete final soundtrack design
  • Send PCB to fabrication house
Week# Date Deliverables Status
8 11/27
  • Improve overall code readability
  • Integrate row control multiplexer into a FreeRTOS task
  • Integrate column control loop into a FreeRTOS task
  • Create and integrate data structures for enemy sprites
  • Implement lateral and vertical movement of sprites
Week# Date Deliverables Status
9 12/4
  • Implement shooting and scorekeeping into game
  • Finish designing controller prototype
  • Complete and demo final soundtrack
  • Integrate PCB into system
  • Test and debug PCB (send another revision to fabrication house if needed)
  • Integrate controller
Week# Date Deliverables Status
10 12/11
  • Complete initial full implementation of Spartan Warrior and demo
  • Test and debug game as needed
  • Integrate controller into system
  • Integrate Soundtrack into system
  • Integrate final PCB revision into system
  • Power both LPC1758's using portable USB power supply
Week# Date Deliverables Status
11 12/19
  • Complete final implementation of Spartan Warrior
  • Complete debugging of all game components
  • Demo

Parts List & Cost

Part # Cost Source
LPC 1758 Development Board 2 $160.00 Preet
Adafruit 32 x 32 LED Matrix 1 $39.95 https://www.adafruit.com/product/1484
PCB 1 $23.00 https://www.pcbway.com/
Aukey 20000 mAH Power Supply 1 $33.00 https://www.amazon.com/AUKEY-20000mAh-Lightning-Portable-Compatible/dp/B0176HQ1O8/ref=sr_1_4?s=wireless&ie=UTF8&qid=1545293329&sr=1-4&keywords=aukey+power+bank

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:

<Bug/issue name>

Discuss the issue and resolution.

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.