Difference between revisions of "F21: V.G.A."

From Embedded Systems Learning Academy
Jump to: navigation, search
(Created page with "=== Grading Criteria === <font color="green"> * How well is Software & Hardware Design described? * How well can this report be used to reproduce this project? * Code Quali...")
 
(Treasure Dive)
 
(33 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
</font>
 
</font>
  
== Project Title ==
+
== '''Treasure Dive''' ==
Parking Frenzy
 
  
 
== Abstract ==
 
== Abstract ==
Parking Frenzy is car parking video game. The player will be able to move the car in right or left direction, the road itself will be descending towards the car and will also consist of obstacles such as other vehicles. The road will have lanes through which the car must navigate to ultimately be able to slot itself into the right parking spot along side the road. The parking spots will be randomly generated along the edge of the LED matrix and the player must navigate the car into the spot at the right time or else it will result in a crash. The difficulty of the game will increase as the player reaches a certain amount of points. The difficulty will increase in terms of the speed of the car and the number of obstacles. The final score of the player will be displayed at the end of every game. a speaker attached to the board will generate the game sounds.
+
TBD
  
 
== Objectives & Introduction ==
 
== Objectives & Introduction ==
Line 21: Line 20:
  
 
=== Team Members & Responsibilities ===
 
=== Team Members & Responsibilities ===
Scott LoCascio
+
Brian Ho
 
**   
 
**   
Naeem Mannan
+
Billy Lai
 
**   
 
**   
Rahul Ghadge
+
Jasdip Sekhon
 
**   
 
**   
 +
*  Isaac Wahhab
 +
**
  
  
Line 41: Line 42:
 
! scope="row"| 1
 
! scope="row"| 1
 
|  
 
|  
* 10/12/2020
+
*09/21/2021
* 10/13/2020
 
 
|
 
|
* 10/18/2020
+
*09/27/2021
* 10/13/2020
 
 
|
 
|
 
* Read previous projects, gather information and discuss among the group members.
 
* Read previous projects, gather information and discuss among the group members.
* Create GitLab repository for project
+
* Initial ordering of parts (LPC 4088 board, 64x64 LED screen)
 
|  
 
|  
 
* <span style="color:green">Completed</span>
 
* <span style="color:green">Completed</span>
* <span style="color:orange">In progress</span>
+
* <span style="color:green">Completed</span>
 
|-
 
|-
 
! scope="row"| 2
 
! scope="row"| 2
 
|  
 
|  
*10/19/2020    
+
*09/28/2021    
 
|  
 
|  
*10/20/2020
+
*10/04/2021
 
|
 
|
 
+
* Submit project proposals
*Order necessary parts
 
 
|
 
|
* <span style="color:orange">In progress</span>
+
* <span style="color:green">Completed</span>
 
|-
 
|-
 
! scope="row"| 3
 
! scope="row"| 3
 
|
 
|
*10/26/2020
+
*10/05/2021
 
|
 
|
*11/01/2020
+
*10/11/2021
 
|
 
|
*Read and familiarize with LED Matrix Datasheet
+
* Test if board can drive VGA
 +
* Test varying clock rates
 +
* Hardware cursor on VGA
 +
* Rough display driver
 
|
 
|
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
 
+
* <span style="color:green">Completed</span>
 
+
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 
|-
 
|-
 
! scope="row"| 4
 
! scope="row"| 4
 
|
 
|
* 11/02/2020
+
* 10/12/2021
 
|
 
|
* 11/08/2020
+
* 10/18/2021
 
|
 
|
* Develop graphics driver for LED matrix and implement initial game objects
+
* DAC resistor ladder
 +
* RGB channels
 +
* Palette shifting
 +
* Measure memory buffer writing timing
 +
* Wiki schedule planning
 
|
 
|
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 
|-
 
|-
 
! scope="row"| 5
 
! scope="row"| 5
 
|
 
|
*11/09/2020
+
*10/19/2021
*11/09/2020
 
*11/09/2020
 
*11/09/2020
 
 
|
 
|
*11/10/2020
+
*10/25/2021
*11/15/2020
 
*11/15/2020
 
*11/15/2020
 
 
|
 
|
* Finalize wiki schedule
+
* Calculate upper-bound for VGA refresh timings
* Order circuit boards components and complete the design for printing
+
* Create GitLab repository for project
* circuit board and component assembly
+
* Joystick functionality
* Circuit board testing
+
* SD card driver
* Additional accessories if required and finalization of hardware
 
 
|
 
|
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
 
 
|-
 
|-
 
! scope="row"| 6
 
! scope="row"| 6
 
|
 
|
*11/16/2020
+
*10/26/2021
 
|  
 
|  
*11/22/2020
+
*11/01/2021
 
|
 
|
*Integration of circuit boards and microcontroller
+
* Audio peripheral
* Game logic development
+
* Wireless communication using Zigbee module
* Testing and debugging the game logic
+
* PCB planning
 +
* Accelerometer driver
 +
* Continue SD card driver
 
|
 
|
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 
|-
 
|-
 
! scope="row"| 7
 
! scope="row"| 7
 
|  
 
|  
* 11/23/2020
+
* 11/02/2021
  
 
|  
 
|  
* 11/29/2020
+
* 11/08/2021
 
|
 
|
* Integrate game logic code with LED matrix
+
* Continue audio peripheral
* Integrate game sounds with game logic
+
* Continue wireless communication using Zigbee module
 +
* Continue accelerometer driver
 +
* PCB finalizing and ordering
 
|
 
|
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 
|-
 
|-
 
! scope="row"| 8
 
! scope="row"| 8
 
|  
 
|  
* 11/30/2020
+
* 11/09/2021
 
|  
 
|  
* 12/06/2020
+
* 11/15/2021
 
|
 
|
 
+
* Convert PNG data to graphics format
* Integrate subsystem
+
* Game background functionality
* Finalizing the video game
+
* Sprite functionality
* Update the wiki page.
+
* User interface
 +
* Integrate components
 +
* Initial testing
 
|
 
|
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 
|-
 
|-
 
! scope="row"| 9
 
! scope="row"| 9
 
|  
 
|  
* 12/07/2020
+
* 11/16/2021
 
|  
 
|  
* 12/13/2020
+
* 11/22/2021
 
|
 
|
* Address bugs during testing of integrated system
+
* Continue everything from last week
* Test pause/play functionality
+
* Game physics (wall collision and AI movement)
 +
* Measurements for wooden case
 +
* Art assets (audio and visual)
 
|
 
|
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 
|-
 
|-
 
! scope="row"| 10
 
! scope="row"| 10
 
|  
 
|  
*12/16/2020
+
*11/23/2021
*12/14/2020
 
*12/14/2020
 
*12/14/2020
 
 
|  
 
|  
*12/16/2020
+
*11/29/2021
*12/16/2020
 
*12/16/2020
 
*12/16/2020
 
 
|
 
|
  
*Final Demo
+
* Fine-tune user experience
*Update Gitlab repo with final code.
+
* Make case
*Update test video.
+
|
*Update the wiki page.
+
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 +
|-
 +
! scope="row"| 11
 +
|
 +
* 11/30/2021
 +
|
 +
* 12/06/2021
 +
|
 +
* Continue fine-tune user experience
 +
* Integrate hardware
 +
|
 +
* <span style="color:green">Completed</span>
 +
* <span style="color:green">Completed</span>
 +
|-
 +
! scope="row"| 12
 +
|
 +
* 12/07/2021
 +
|
 +
* 12/16/2021
 +
|
 +
* Final testing
 +
* Final demo
 
|
 
|
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
+
* <span style="color:green">Completed</span>
* <span style="color:red">Not started</span>
 
* <span style="color:red">Not started</span>
 
 
|-
 
|-
 
|}
 
|}
 +
  
 
<HR>
 
<HR>
Line 195: Line 228:
 
== 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.
 
Give a simple list of the cost of your project broken down by components.  Do not write long stories here.
 +
 +
== '''BILL OF MATERIALS''' ==
 +
{| class="wikitable" style="margin-left: 0px; margin-right: auto;"
 +
|-
 +
! scope="col"| Item#
 +
! scope="col"| Part Description
 +
! scope="col"| Part Model & Vendor
 +
! scope="col"| Quantity
 +
! scope="col"| Cost
 +
|-
 +
! scope="row"| 1
 +
| Microcontroller Board
 +
| [https://www.embeddedartists.com/products/lpc4088-developers-kit LPC4088-32 Developer's Kit]
 +
| 1
 +
| $500.00
 +
|-
 +
! scope="row"| 2
 +
| Microcontroller Board
 +
| [http://books.socialledge.com/books/embedded-drivers-real-time-operating-systems/page/sj2-board SJ2 Board]
 +
| 1
 +
| $50.00
 +
|-
 +
! scope="row"| 3
 +
| Bluetooth Module
 +
| [https://hub.digi.com/support/products/digi-xbee/digi-xbee-s1 Digi XBee-S1]
 +
| 2
 +
| N/A
 +
|-
 +
! scope="row"| 4
 +
| DAC PCB
 +
| [https://jlcpcb.com JLCPCB (Set of 5)]
 +
| 1
 +
| $15.00
 +
|-
 +
! scope="row"| 4
 +
| Monitor
 +
| Asus TFT Monitor
 +
| 1
 +
| N/A
 +
|-
 +
|}
 +
<BR/>
  
 
== Design & Implementation ==
 
== Design & Implementation ==

Latest revision as of 00:32, 17 December 2021

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.

Treasure Dive

Abstract

TBD

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

  • Brian Ho
  • Billy Lai
  • Jasdip Sekhon
  • Isaac Wahhab


Schedule

Week# Start Date End Date Task Status
1
  • 09/21/2021
  • 09/27/2021
  • Read previous projects, gather information and discuss among the group members.
  • Initial ordering of parts (LPC 4088 board, 64x64 LED screen)
  • Completed
  • Completed
2
  • 09/28/2021
  • 10/04/2021
  • Submit project proposals
  • Completed
3
  • 10/05/2021
  • 10/11/2021
  • Test if board can drive VGA
  • Test varying clock rates
  • Hardware cursor on VGA
  • Rough display driver
  • Completed
  • Completed
  • Completed
  • Completed
4
  • 10/12/2021
  • 10/18/2021
  • DAC resistor ladder
  • RGB channels
  • Palette shifting
  • Measure memory buffer writing timing
  • Wiki schedule planning
  • Completed
  • Completed
  • Completed
  • Completed
  • Completed
5
  • 10/19/2021
  • 10/25/2021
  • Calculate upper-bound for VGA refresh timings
  • Create GitLab repository for project
  • Joystick functionality
  • SD card driver
  • Completed
  • Completed
  • Completed
  • Completed
6
  • 10/26/2021
  • 11/01/2021
  • Audio peripheral
  • Wireless communication using Zigbee module
  • PCB planning
  • Accelerometer driver
  • Continue SD card driver
  • Completed
  • Completed
  • Completed
  • Completed
  • Completed
7
  • 11/02/2021
  • 11/08/2021
  • Continue audio peripheral
  • Continue wireless communication using Zigbee module
  • Continue accelerometer driver
  • PCB finalizing and ordering
  • Completed
  • Completed
  • Completed
  • Completed
8
  • 11/09/2021
  • 11/15/2021
  • Convert PNG data to graphics format
  • Game background functionality
  • Sprite functionality
  • User interface
  • Integrate components
  • Initial testing
  • Completed
  • Completed
  • Completed
  • Completed
  • Completed
  • Completed
9
  • 11/16/2021
  • 11/22/2021
  • Continue everything from last week
  • Game physics (wall collision and AI movement)
  • Measurements for wooden case
  • Art assets (audio and visual)
  • Completed
  • Completed
  • Completed
  • Completed
10
  • 11/23/2021
  • 11/29/2021
  • Fine-tune user experience
  • Make case
  • Completed
  • Completed
11
  • 11/30/2021
  • 12/06/2021
  • Continue fine-tune user experience
  • Integrate hardware
  • Completed
  • Completed
12
  • 12/07/2021
  • 12/16/2021
  • Final testing
  • Final demo
  • Completed
  • Completed




Parts List & Cost

Give a simple list of the cost of your project broken down by components. Do not write long stories here.

BILL OF MATERIALS

Item# Part Description Part Model & Vendor Quantity Cost
1 Microcontroller Board LPC4088-32 Developer's Kit 1 $500.00
2 Microcontroller Board SJ2 Board 1 $50.00
3 Bluetooth Module Digi XBee-S1 2 N/A
4 DAC PCB JLCPCB (Set of 5) 1 $15.00
4 Monitor Asus TFT Monitor 1 N/A


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.