Difference between revisions of "F18: Two Zero Four Eight"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Schedule)
(Parts List & Cost)
 
(52 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
== Project Title ==
 
== Project Title ==
  
Flappy bird is a fun and intuitive single player game that lays focus on the players ability to avoid the obstacles and clear the maximum number of obstacles in order to beat the highest score. The flappy bird continues to traverse the environment so long as the player is able to avoid the obstacles by jumping over them with the help of the input taken from the push button switch connected externally.
+
Two Zero Four Eight (2048) is a game having a grid of numbered tiles (i.e., power of 2) to combine them to create a tile with the number 2048. It is usually played on a 4x4 grid with tiles that slide smoothly when a player moves them towards right, left, up or down. Every time a new tile will randomly appear in an empty spot on the display with a value of either 2 or 4. If two tiles of the same number collide then they will merge into one tile with value of sum of those two tiles. Game continues until no merge is possible.
At the beginning of the game, the player is acknowledged of the controls, rules as well as the highest score that they have to beat.
 
Once the Bird is unable to beat the last obstacle, the game is concluded and the score for that session is displayed.
 
  
 
== Objectives & Introduction ==
 
== Objectives & Introduction ==
  
 
=== Team Members & Responsibilities ===
 
=== Team Members & Responsibilities ===
* Deepak Shivani
+
* [https://www.linkedin.com/in/deepak-shivani-a18945111/ Deepak Shivani]
 +
**LED Matrix Drivers
 +
**PCB Design
  
* Navyashree Chandraiah
+
* [https://www.linkedin.com/in/navyashree-chandraiah/ Navyashree Chandraiah]
 +
**Game Logic
 +
**PCB Design
  
* Sai Kiran Duggineni
+
* [https://www.linkedin.com/in/sai-kiran-duggineni-80b951104/ Sai Kiran Duggineni]
 +
**LED Matrix Drivers
 
    
 
    
* Shrusti Shashidhar
+
* [https://www.linkedin.com/in/shrustishashidhar/ Shrusti Shashidhar]
 +
**Joystick Drivers
 +
**Game Logic
  
* Vishal Govindraddi Yarabandi
+
* [https://www.linkedin.com/in/yarabandi/ Vishal Yarabandi]
 +
**Middleware Application
 +
**Wiki Schedule
  
 
== Schedule ==
 
== Schedule ==
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! scope="col"| Week#
+
! Week#
! scope="col"| Start Date
+
! Start Date
! scope="col"| Task  
+
! Task  
! scope="col"| Status
+
! Status
! scope="col"| Completion Date
+
! Completion Date
 
|-
 
|-
|-
+
! 1
 
 
 
 
! scope="row"| 1
 
 
| 09/18
 
| 09/18
 
|  
 
|  
* Submission of Project Proposals
+
* Submission of Project Proposals  
 
|  
 
|  
 
* Completed
 
* Completed
| 09/25
+
| 09/25  
 
|-
 
|-
 
+
! 2
 
 
! scope="row"| 2
 
 
| 10/09
 
| 10/09
 
|  
 
|  
* Work on high-level implementation
+
* High-level project design
 
* Decide on the components and order them.
 
* Decide on the components and order them.
 
|  
 
|  
Line 63: Line 65:
 
10/16
 
10/16
 
|-
 
|-
! scope="row"| 3
+
! 3
| 10/16/2018
+
| 10/16
 
|  
 
|  
* Deciding the game strategy
 
 
* Dividing Individual responsibilities and tasks
 
* Dividing Individual responsibilities and tasks
 +
* Initial schematic design
 
|
 
|
 
* Completed
 
* Completed
 
* Completed
 
* Completed
| 10/20
+
|10/20
10/23
+
10/23  
 
+
|-
 
+
! 4
+
| 10/23
 +
|
 +
* Initial PCB Layout design
 +
* Joystick drivers
 +
|
 +
* In Progress
 +
* Completed
 +
|
 
|-  
 
|-  
 
+
! 5
! scope="row"| 4
+
| 10/30
| 10/23/2018
 
 
|  
 
|  
* Develop Algorithm for Obstacle Generation.
+
* LED Matrix Display drivers
* Develop Alogrithm to Display a Bird on Matrix.
+
* Basic Game strategy implementation on Linux console
* Project report update on the wiki.
 
 
|
 
|
*
+
* In Progress
*
+
* In Progress
*
 
 
|
 
|
 
 
 
 
 
|-  
 
|-  
! scope="row"| 5
+
! 6
| 10/30/2018
+
| 11/06
 
|  
 
|  
* Integrate Obstacle Generation and a Bird on the Matrix at One Time.
+
* Display random numbers on LED Matrix using drivers
* PCB layout design using Eagle and Finalizing the schematic.
+
* Review of PCB design by team and ISA team/Professor
* Project report update on the wiki.
 
 
|
 
|
*
+
* In Progress
*
 
 
*  
 
*  
 
|
 
|
 
+
|-
 
+
! 7
 
+
| 11/13
|-  
 
! scope="row"| 6
 
| 11/06/18
 
 
|  
 
|  
* Detection of Collision between the Bird and the Obstacle
+
* Control LED Matrix using Joystick
* Project report update on the wiki.
+
* Implementation of game logic on SJOne board
 +
* Finalize PCB design
 
|
 
|
 
*  
 
*  
 
*  
 
*  
 
|
 
|
 
 
 
|-
 
|-
+
! 8
! scope="row"| 7
+
| 11/20
| 11/13/18
 
 
|  
 
|  
* Designing the Interface of the Start Screen.
+
* Integration of all the Software modules
* Project report update on the wiki.
+
* Assembling components and Hardware Testing
 +
* Testing and debugging complete system
 
|
 
|
 
*  
 
*  
 
*  
 
*  
 +
*
 
|
 
|
 
 
 
|-  
 
|-  
+
! 9
! scope="row"| 8
+
| 11/27
| 11/20/18
 
 
|  
 
|  
* Soldering components and hardware testing on PCB
+
* Final testing and debugging
* Packaging of hardware board and related components.
+
* Work on project demo, presentation and Wiki report
* Project report update on the wiki.
 
 
|
 
|
 
*  
 
*  
*
 
 
*  
 
*  
 
|
 
|
 
 
 
 
|-  
 
|-  
+
! 10
! scope="row"| 9
+
| 12/03
| 11/27/18
 
 
|  
 
|  
* Final testing and bug fixes.
+
* Ultimate deadline; Review complete project work in detail
* Complete wiki report and final demo.
 
 
|
 
|
*
 
 
*  
 
*  
 
|
 
|
 
 
 
|-  
 
|-  
 
 
 
|}
 
|}
  
 
== Parts List & Cost ==
 
== Parts List & Cost ==
Give a simple list of the cost of your project broken down by componentsDo not write long stories here.
+
{| class="wikitable"
 +
|-
 +
! Component
 +
! Cost
 +
! Quantity
 +
! Seller
 +
|-
 +
| SJOne Board
 +
| $80
 +
| 1
 +
| [https://www.linkedin.com/in/preetpalkang/ Preetpal Kang]
 +
|-
 +
| Adafruit RGB (64x64) LED Matrix Display
 +
| $60
 +
| 1
 +
| [http://socialledge.com/sjsu/index.php/S18:_Traffic_Menace_Video_Game Dheemanth and et.al]
 +
|-
 +
| Adafruit Analog 2-axis thumb Joystick
 +
| $10.18
 +
| 1
 +
| [https://www.amazon.com/gp/product/B00NAY2Q6O/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 Amazon]
 +
|-
 +
|}
  
 
== Design & Implementation ==
 
== Design & Implementation ==

Latest revision as of 03:54, 14 November 2018

Grading Criteria

  • How well is Software & Hardware Design described?
  • How well can this report be used to reproduce this project?
  • Code Quality
  • Overall Report Quality:
    • Software Block Diagrams
    • Hardware Block Diagrams
      Schematic Quality
    • Quality of technical challenges and solutions adopted.

Project Title

Two Zero Four Eight (2048) is a game having a grid of numbered tiles (i.e., power of 2) to combine them to create a tile with the number 2048. It is usually played on a 4x4 grid with tiles that slide smoothly when a player moves them towards right, left, up or down. Every time a new tile will randomly appear in an empty spot on the display with a value of either 2 or 4. If two tiles of the same number collide then they will merge into one tile with value of sum of those two tiles. Game continues until no merge is possible.

Objectives & Introduction

Team Members & Responsibilities

Schedule

Week# Start Date Task Status Completion Date
1 09/18
  • Submission of Project Proposals
  • Completed
09/25
2 10/09
  • High-level project design
  • Decide on the components and order them.
  • Completed
  • Completed
10/16

10/16

3 10/16
  • Dividing Individual responsibilities and tasks
  • Initial schematic design
  • Completed
  • Completed
10/20

10/23

4 10/23
  • Initial PCB Layout design
  • Joystick drivers
  • In Progress
  • Completed
5 10/30
  • LED Matrix Display drivers
  • Basic Game strategy implementation on Linux console
  • In Progress
  • In Progress
6 11/06
  • Display random numbers on LED Matrix using drivers
  • Review of PCB design by team and ISA team/Professor
  • In Progress
7 11/13
  • Control LED Matrix using Joystick
  • Implementation of game logic on SJOne board
  • Finalize PCB design
8 11/20
  • Integration of all the Software modules
  • Assembling components and Hardware Testing
  • Testing and debugging complete system
9 11/27
  • Final testing and debugging
  • Work on project demo, presentation and Wiki report
10 12/03
  • Ultimate deadline; Review complete project work in detail

Parts List & Cost

Component Cost Quantity Seller
SJOne Board $80 1 Preetpal Kang
Adafruit RGB (64x64) LED Matrix Display $60 1 Dheemanth and et.al
Adafruit Analog 2-axis thumb Joystick $10.18 1 Amazon

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.