Difference between revisions of "S18: Death Race"
Proj user7 (talk | contribs) (→Schedule) |
Proj user7 (talk | contribs) (→Schedule) |
||
Line 124: | Line 124: | ||
* To implement player module logic to send orientation data to the Master module. | * To implement player module logic to send orientation data to the Master module. | ||
* To start designing the Master module which will take inputs from different players, take a decision and sends it to LED Matrix display. | * To start designing the Master module which will take inputs from different players, take a decision and sends it to LED Matrix display. | ||
+ | * To understand the high-level APIs for the Wireless nordic node. | ||
+ | * To understand the connections, read the datasheet for RGB LED Matrix. | ||
| | | | ||
* Implemented player module logic to get accelerometer values for different orientation and send it to the Master module initially via UART for testing purpose. | * Implemented player module logic to get accelerometer values for different orientation and send it to the Master module initially via UART for testing purpose. | ||
* Implemented the high-level task of getting accelerometer values from two players simultaneously via UART and glow on-board LEDs specific to the player data received. | * Implemented the high-level task of getting accelerometer values from two players simultaneously via UART and glow on-board LEDs specific to the player data received. | ||
+ | * Understood the Wireless APIs available and wrote a basic code to send-receive data using Nordic. | ||
+ | * Made a basic layout, pin connections, power requirements for 64x64 RGB LED Matrix. | ||
|- | |- | ||
! scope="row"| 6 | ! scope="row"| 6 | ||
Line 132: | Line 136: | ||
| | | | ||
* To test the Player and Master modules. | * To test the Player and Master modules. | ||
+ | * To understand addressing mode, latching, and clock functionality for RGB LED Matrix. | ||
| | | | ||
* Tested the Player and Master modules individually. | * Tested the Player and Master modules individually. | ||
* Player was giving the correct orientation of left and right movement. | * Player was giving the correct orientation of left and right movement. | ||
+ | * 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. | ||
|- | |- | ||
! scope="row"| 7 | ! scope="row"| 7 | ||
Line 140: | Line 147: | ||
| | | | ||
* Integrate Player and Master modules and make necessary changes as per other module requirements. | * Integrate Player and Master modules and make necessary changes as per other module requirements. | ||
− | * | + | * To write the code for glowing one LED. |
| | | | ||
* Integrated Player and Master modules. The master module was able to receive the data from Player module and glow the onboard LEDs based on the player's movement. | * Integrated Player and Master modules. The master module was able to receive the data from Player module and glow the onboard LEDs based on the player's movement. | ||
+ | * Wrote the code logic but faced the issue as the led was | ||
|- | |- | ||
! scope="row"| 8 | ! scope="row"| 8 | ||
| 04/22 | | 04/22 | ||
| | | | ||
− | To | + | * To send and receive data between Player and Master using Wireless protocol. |
| | | | ||
+ | * Couldn't implement the wireless functionality as the board and antenna have female connectors. Need to get a male antenna connector. | ||
|- | |- | ||
! scope="row"| 9 | ! scope="row"| 9 | ||
− | | 04/ | + | | 04/29 |
| | | | ||
− | To the | + | * To implement RGB LED Matrix tasks and APIs for the Master module. |
+ | * To integrate the layout of the application (UI, border, car design, obstacle design) to Master Module. | ||
+ | * To generate random obstacles, score logic and implement other game functionalities (eg: game over scenario). | ||
| | | | ||
+ | |||
|- | |- | ||
! scope="row"| 10 | ! scope="row"| 10 | ||
− | | | + | | 05/06 |
| | | | ||
− | + | * Integration of all modules and end to end testing. | |
| | | | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
| | | | ||
|- | |- |
Revision as of 19:30, 24 April 2018
Contents
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
Death Race - A car racing game using FreeRTOS
Git Link - [1]
Git Users:
- hemant.banjara
- rahuldevaragudde
- rajvisharia
- snehashahi
- supradeepk6
Abstract
Real-time adaptation of computer games can content the users’ abilities, skills and also enhance the players' engagement and immersion. We are planning to design a car racing video game between two players.There will be two tracks for each player and the player can shift between the two tracks. The players will change the track (on RGB LED Matrix Display) by tilting the SJone board.The players will get two kinds of obstacles, squares and circles.They gain points if they catch circles and lose the game if they hit the squares.The obstacles are generated at random and the toughness increases with time.The game UI will have user options like - indication for players connectivity, start and quit game.Individual player score will be displayed on LCD display
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.
Introduction
The project was divided into 4 main modules:
1) Player Module: Two SJOne boards simultaneously sending accelerometer data to the Master Board via Nordic wireless.
2) Wireless: Communication bridge between the player module and the Master module.
3) Master Module:
4) Display Module:
Objectives
1) ...
Team Members & Responsibilities
- Player Module
- Wireless (Nordic)
- Master Module
- Display (RGB LED Matrix)
- PCB
- Testing
Schedule
Show a simple table or figures that show your scheduled as planned before you started working on the project. Then in another table column, write down the actual schedule so that readers can see the planned vs. actual goals. The point of the schedule is for readers to assess how to pace themselves if they are doing a similar project.
Week# | Date | Task | Status | |
---|---|---|---|---|
1 | 03/04 |
|
| |
2 | 03/11 |
|
| |
3 | 03/18 |
|
| |
4 | 03/25 |
|
| |
5 | 04/01 |
|
| |
6 | 04/08 |
|
| |
7 | 04/15 |
|
| |
8 | 04/22 |
|
| |
9 | 04/29 |
|
||
10 | 05/06 |
|
Parts List & Cost
Give a simple list of the cost of your project broken down by components. Do not write long stories here.
Item# | Part Desciption | Vendor | Qty | Cost |
---|---|---|---|---|
1 | SJOne Boards | From Preet | 3 | $240.00 |
2 | 64x64 RGB LED Matrix | Adafruit | 1 | $92.00 |
3 | Bonnet | Adafruit | 1 | $ |
4 | $ | |||
5 | $ | |||
6 | $ | |||
7 | $ | |||
8 | $ | |||
9 | $ | |||
10 | $ | |||
11 | $ |
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.