Difference between revisions of "F21: Skeh-lleybones"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Block Breaker)
(Objectives & Introduction)
Line 15: Line 15:
  
 
== Objectives & Introduction ==
 
== Objectives & Introduction ==
Show list of your objectivesThis section includes the high level details of your projectYou can write about the various sensors or peripherals you used to get your project completed.
+
In order to accomplish the objective of the game, we split the project into a few sub-topics that could be tackled individually:
 +
 
 +
*  Main "clock" task for updating the LED matrix.
 +
* Main gameplay loop task that would update the position of the ball, paddle, and blocks.
 +
*  Design of various game screens via a state machine.
 +
* Game logic to determine the ball's bounce relative to its current trajectory.
 +
*  Design of PCB to utilize a ground plane and avoid excessive loose wiring.
 +
*  Design of a 3D printed enclosure to display a clean look.
 +
*  MP3 background track during gameplay.
 +
*  Speaker volume adjustment based on user proximity to enclosure.
  
 
=== Team Members & Responsibilities ===
 
=== Team Members & Responsibilities ===

Revision as of 01:10, 16 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.

Block Breaker

Block Breaker is a fun game in which you control a paddle and destroy blocks with a moving ball. The player controlled paddle deflects the ball at different angles to target different blocks and destroy them.

Objectives & Introduction

In order to accomplish the objective of the game, we split the project into a few sub-topics that could be tackled individually:

  • Main "clock" task for updating the LED matrix.
  • Main gameplay loop task that would update the position of the ball, paddle, and blocks.
  • Design of various game screens via a state machine.
  • Game logic to determine the ball's bounce relative to its current trajectory.
  • Design of PCB to utilize a ground plane and avoid excessive loose wiring.
  • Design of a 3D printed enclosure to display a clean look.
  • MP3 background track during gameplay.
  • Speaker volume adjustment based on user proximity to enclosure.

Team Members & Responsibilities

Prabhjyot Obhi

  • Core MP3 module driver development.
  • Task logic for sending music data to MP3 module.

Justin Stokes

  • Core game logic development.
  • Debugging and testing of game logic and LED Matrix functionalities.

Manas Abhyankar

  • Develop LED Matrix driver.
  • Design and print enclosure for project.
  • Design and send PCB for manufacturing.

Schedule

Week# Start Date End Date Task Status
1
  • 11/1/2021
  • 11/5/2021
  • Read previous projects, gather information and discuss among the group members.
  • Create GitLab repository for project
  • Finalize Parts list
  • Completed
  • Completed
  • Completed
2
  • 11/5/2021
  • 11/9/2021
  • All parts ordered
  • Decide final pinout
  • PCB generated and ordered
  • Completed
  • Completed
  • Completed
3
  • 11/9/2021
  • 11/12/2021
  • Simple display driver finished (display pixel at given coordinate)
  • Finalize game design (powerups, scoring system, boss?)
  • Completed
  • Completed
4
  • 11/12/2021
  • 11/17/2021
  • Fully functional display driver
  • Game menu finish
  • Preliminary enclosure design
  • Completed
  • Completed
  • Completed
5
  • 11/17/2021
  • 11/26/2021
  • Basic game implementation finished
  • Verify PCB
  • Enclosure design finalized
  • Completed
  • Completed
  • Completed
6
  • 11/26/2021
  • 12/3/2021
  • Enclosure printed and tested
  • Final game implementation finished
  • Completed
  • In Progress
7
  • 12/3/2021
  • 12/10/2021
  • Free week to allow for schedule shifting
  • Bug fixes
  • In Progress
8
  • 12/10/2021
  • 12/16/2021
  • Finish wiki report
  • In Progress
9
  • 12/16/2021
  • 12/16/2021
  • Demo
  • Not started


Parts List & Cost

Part Link Price Quantity
LED Matrix Sparkfun $80 1
Power Supply Adafruit $30 1
Barreljack connector Adafruit $0.95 1
Joystick Sparkfun $16.95 1
Button Adafruit $2.50 2
Quick connect wires Adafruit $4.95 1
Resistors/Capacitors N/A N/A 3 of each
Ultrasonic Sensor Adafruit $3.95 1
MP3 Module Adafruit $34.95 1
Speakers Adafruit $7.50 1
3D Printed Enclosure To be 3D printed N/A 1
40-pin ribbon cable Adafruit $2.95 2

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

Block Breaker project source code

References

Acknowledgement

We'd like to thank Preet for giving us the opportunity to develop and learn through an interactive team project. We would also like to acknowledge the TAs Ellis and Tirth for their feedback throughout the semester.