Difference between revisions of "F18: Goals of Glory"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Abstract)
(Abstract)
Line 4: Line 4:
  
 
== Abstract ==
 
== Abstract ==
Gesture-based gaming is getting tremendous adoption due to immersive gameplay and increased player engagement. Goals of Glory is a classic penalty shootout game where 2 players can play wirelessly, and the corresponding game visuals are displayed on the LED Matrix in real time. The logic for player movement is based on the output from a Gyroscope and an Accelerometer whereas accelerometer on the SJone help drives goalkeeper movements. Thus the sensors such as accelerometer on the SJone board and gyroscope on MPU 6050 detect the motion of player leg movements to kick and hand movements of the goalkeeper to stop the ball and the corresponding game animations are mapped on 64x64 LED Matrix. The LED matrix is interfaced to the SJone board and it receives wireless data from 2 other SJone boards which are controlled by the goalkeeper and player. This is done in such a way that SJone board controlling the LED Matrix receives commands wirelessly from hand and leg movements of each player via the Nordic wireless mesh network. Three display screens are developed for the game UI- Start screen, Game screen, and result screen. Thus, by playing Goals of Glory, players can experience gesture-based gaming capabilities.
+
Gesture-based gaming is getting tremendous adoption due to immersive gameplay and increased player engagement. Goals of Glory is a classic penalty shootout game where 2 players can play wirelessly, and the corresponding game visuals are displayed on the LED Matrix in real time. The logic for player movement is based on the output from a Gyroscope and an Accelerometer embedded on MPU 6050 whereas accelerometer on the SJone helpS drive goalkeeper movements. Thus the sensors such as accelerometer on the SJone board and gyroscope on MPU 6050 detect the motion of player leg movements to kick and hand movements of the goalkeeper to stop the ball and the corresponding game animations are mapped on 64x64 LED Matrix. Thus the LED matrix is interfaced to the SJone board in such a way that the main SJone board controlling the LED Matrix receives commands wirelessly from hand and leg movements of each player via the Nordic wireless mesh network. Three display screens are developed for the game UI- Start screen, Game screen, and result screen. Thus, by playing Goals of Glory, players can experience gesture-based gaming capabilities.
  
 
== Objectives & Introduction ==
 
== Objectives & Introduction ==

Revision as of 21:49, 7 December 2018

Project Title

Goals of Glory

Abstract

Gesture-based gaming is getting tremendous adoption due to immersive gameplay and increased player engagement. Goals of Glory is a classic penalty shootout game where 2 players can play wirelessly, and the corresponding game visuals are displayed on the LED Matrix in real time. The logic for player movement is based on the output from a Gyroscope and an Accelerometer embedded on MPU 6050 whereas accelerometer on the SJone helpS drive goalkeeper movements. Thus the sensors such as accelerometer on the SJone board and gyroscope on MPU 6050 detect the motion of player leg movements to kick and hand movements of the goalkeeper to stop the ball and the corresponding game animations are mapped on 64x64 LED Matrix. Thus the LED matrix is interfaced to the SJone board in such a way that the main SJone board controlling the LED Matrix receives commands wirelessly from hand and leg movements of each player via the Nordic wireless mesh network. Three display screens are developed for the game UI- Start screen, Game screen, and result screen. Thus, by playing Goals of Glory, players can experience gesture-based gaming capabilities.

Objectives & Introduction

Objectives

Team Members & Responsibilities

  • Player Movements
    • Aniket Phatak
    • Bhargav Shashidhara Pandit
  • Goalkeeper Movements
    • Tahir Rawn
    • Harmeen Joshi
  • Display (RGB LED Matrix)
    • Harmeen Joshi
    • Tahir Rawn
    • Satya Sai Deepak. Naidu
  • Wireless (Nordic)
    • Aniket Phatak
    • Bhargav Shashidhara Pandit
  • PCB Design
    • Satya Sai Deepak. Naidu

Schedule

Week# Date Task Status
1 09/25
  • Discuss project ideas to implement gaming projects with group members
  • To come up with new ideas for applications specific to FreeRTOS
  • Submitted the abstract for the Car Racing Game and 1v1 Penalty Shootout for project approval.
  • Submitted project proposals and waiting for approval from the professor.
2 10/02
  • Research on components required for the approved project.
  • Discuss project requirements and implementation logic with group members.
  • 1v1 Penalty Shootout Project got approved by the professor
3 10/9
  • Divide the project into different modules.
  • Assign responsibilities to each group member.
  • Decide deadlines and deliverables for each module.
  • Divided the workload among each and every group members.
  • Finalized the project implementation logic and developed the basic idea.
4 10/23
  • To verify power requirements for LED Matrix
  • Ordered 64x64 LED Matrix from Sparkfun.
  • Ordered power supply for LED Matrix from Amazon.
  • Confirmed the voltage and current rating and placed an order for the power adapter.
5 10/30
  • Started working on Accelerometer available on SJOne board for player movement.
  • Understand 64x64 LED Matrix connections from Sparkfun datasheets.
  • Brush up on transistor basics and understand how data flows in a given LED Matrix.
  • Get accustomed to Eagle software for PCB design and get used to basic functionality.
  • Implemented few basic PCB designs
  • Verified pin connections, power requirements for 64x64 RGB LED Matrix.
  • Installed Eagle software and made a simple circuit to get acquainted with the software.
6 11/06
  • To develop game visuals such as goalpost, ball and ball movement animation.
  • To develop a good understanding of wireless communication between two SJone boards.
  • To control individual LED's on a 64x64 LED Matrix.
  • Understand output latch and output enable addressing modes on a LED Matrix.
  • Successfully able to display game visuals.
  • Got a basic idea of addressing specific LEDs on LED Matrix using 5-address lines.
  • Understood the functionality of latch, output enable and clock pins of LED Matrix.
7 11/13
  • To write LED Matrix driver to derive game visuals along with various colors.
  • To finish with the PCB design for our application
  • To map different orientation values with respect to X, Y and Z axis respectively.
  • Successfully able to achieve game visuals on LED Matrix such as ball movement, goalpost location
  • Completed start screen, score screen and end result screen for the in-game module.
  • Completed PCB design
8 11/20
  • To develop start screen, score screen and end result screen for the in-game module.
  • Understand the high-level APIs for the Wireless nordic communication and implement a basic driver to communicate between two SJone boards.
  • To order MPU 6050 gyroscope and accelerometer sensor.
  • Still working on the Start screen, score screen and result screen.
  • Achieved wireless communication between 3 SJone boards
9 11/27
  • To understand MPU 6050 datasheet and reference manual and write accelerometer driver for our application.
  • To achieve wireless data synchronization between player, goalkeeper and LED matrix modules.
  • Completed accelerometer & Gyroscope driver and successfully able to get raw values from MPU 6050
  • Completed nordic driver and able to communicate between 3 SJone boards.
10 12/4
  • Improve the gyroscope and accelerometer by addition of functions to get yaw, pitch, and roll
  • Testing of the complete integrated system.
  • Addition of extra graphics if time permits.
  • Completed entire gyro and accelerometer driver for added functionality
  • Successfully able to achieve proper synchronization i.e. by driving the game visuals using goalkeeper and player movements.
11 12/19
  • Final Demo

Parts List & Cost

Item# Part Desciption Vendor Qty Cost
1 SJOne Boards Preet 3 $240.00
2 64x64 RGB LED Matrix Sparkfun 1 $75.00
3 Power Adaptor Cable Amazon 1 $9
4 PCB PCBWay [1] 10 $30
5 MPU 6050 Amazon 2 $11
6 WiFi Antenna Amazon 3 24
7 Mounting gloves Amazon 1 $20
8 Power Bank Amazon 2 $24
9 Miscellaneous (Jumper wires, Connectors, SMD's) Excess Solution $5

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.