F18: Hit the Balloon

From Embedded Systems Learning Academy
Revision as of 03:23, 25 November 2018 by Proj user15 (talk | contribs) ()

Jump to: navigation, search

Hit the Balloon

Abstract

The objective of our project is to implement a game called "Hit the Balloon." Hit the Balloon is a game that has balloons that randomly spawns from the bottom of the screen to the top. There is a bow and arrow that moves vertically on the left side of the display. The player is able to control the vertical movement and shoot arrows at the balloons that are moving upward. The objective of the game is to hit the maximum number of balloons with a limited number of arrows and time.

Objectives & Introduction

Team Members & Responsibilities

  • Aaron Lee
  • Rahul Kadam
  • Vijay Vanapalli

Schedule

Week# Date Task Actual
1 10/29
  • Finalize Wiki Scheudle
  • Complete purchase of LED matrix
  • Divide tasks between group members
  • Wiki scheudle completed
  • LED matrix board purchases completed
2 11/5
  • LED matrix display - Power on and display 'Hello World!'
  • Set 4 LEDs to represent bow/arrow on left side of display that can move up and down using two switches
  • Implement single LED that rises from bottom to the top of display (rising balloon)
  • Power on LED Matrix Display
3 11/12
  • Implement shooting arrow
  • Randomly generate rising balloons
  • Design PCB
  • Begin implementing hit detection for arrows and balloon
  • Display a simple design on LED Matrix board
  • Arrow object created that moves up/down with switches
  • Inital PCB design completed
4 11/19
  • Integrate hit detection, shooting arrows, and rising balloons to have a simple working game
  • Implement acceleration sensor to replace the button switches in moving the arrow
  • Finalize PCB and put in a order to get fabricated
5 11/26
  • Set up a second SJOne board to wirelessly communicate with the SJOne board that is driving the LED Display
  • Send position values between the two SJOne Boards
  • Integrate Start/End Screen
  • Add working scoreboard to count number of balloons hit
  • Add counter/timer to count down the time for one round of the game
6 12/3
  • Add music if time permits
  • Daisy Chain 2 LED Matrix Displays
  • Fix bugs and optimize code
  • Complete 75% of report


7 12/10
  • Final testing and debugging of system/game with motion controller, scoreboard, and timer
  • Complete report and prepare for demo

Parts List & Cost

Item# Part Description Manufacturer Qty Cost
1 SJOne LPC1758 Microcontroller Preet 3 $240.00
2 Adafruit 16x32 RGB LED Matrix Adafruit [1] 3 $75.00
3 5V/2A Power Supply Adapter Amazon [2] 2 $11.99
4 DC Power Connectors Socket 5.5mm x 2.1mm - Female Amazon [3] 10 $6.99

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>

1. Implementing two arrow objects causes a flickering display

  • Solution:

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.