ECE497 Project - Paper Football
- 1 Executive Summary
- 2 Packaging
- 3 Installation Instructions
- 4 User Instructions
- 5 Highlights
- 6 Theory of Operation
- 7 Work Breakdown
- 8 Future Work
- 9 Conclusions
This project consists of creating a paper football game board and adding digital features and automation including scoring, possession, and a jumbotron. Two 7-segment displays are used for the scoring for the Home and Away teams. There is also an LED for each team that will light up in order to indicate who has possession. A switch is used to change possession from one team to another. A jumbotron displays various prompts such as whose turn it is as well as videos pertaining to scoring.
The overall game functions correctly. The switch correctly switches between the home and away teams and lights up the correct LED. The LCD correctly displays prompts for whose turn it is as well as when someone scores. The reset button correctly resets the game. The IR sensors worked fine initially for detecting the footballs; however, over time they seemed to be less and less accurate.
The top IR sensor stopped working entirely towards the end of the project. We are not positive why, but it must have gotten burnt out on accident. We did not have time to order a new part to replace it. As mentioned previously, the other sensors work; however, they seem to be less accurate now than they were were earlier on during the project. We believe that the IR sensors we chose might not have been the best ones.
The overall hardware design and structure of the game board turned out great. It looks very clean on top of the board. The bottom of the board is a slight mess of wires due to lack of time to devote to cleaning up every single one. The overall functionality of the board is not bad, but it is not perfect. We had many problems with the IR sensors. They seemed to work great with about 95% accuracy early on in our project, but by the end one of them had broken and the other 4 are not as accurate. Issues with our breadboard (internal shorts, etc.) led to many of the issues with the IR sensors.
Parts used for this project:
- BeagleBone Green Wireless
- Adafruit 2.4" TFT LCD Display [Part No. ILI9341]
- Adafruit IR Break Beam Sensors (x5) [Part No. HD-DS25CM-3MM]
- Adafruit 0.56" 4-Digit 7-Segment Display w/I2C Backpack (x2)
- A switch
- A pushbutton
- 2 LEDs
- Plenty of wire and shrink wrap
- Approximately a 2' by 1' flat piece of wood (about 3/4" thick)
- 6' board that is about 3/4" by 3/4"
- Wood screws for assembly
- Yellow, green, white spray paint for aesthetics
Getting the Necessary Hardware
- BeagleBone Green Wireless
- Adafruit 2.4" TFT LCD Display
- Adafruit IR Break Beam Sensors
- Adafruit 7 Segment Displays with i2c Backapack
- Any generic switch, pushbutton, and LEDs will work
- You can find the wood at Lowe's, Menards, or any similar store
Building the Wooden Board
For every screw used to assemble the structure, we recommend pre-drilling a small hole to prevent splitting any of the wood.
First cut 4 equal size 3/4 by 3/4 pieces for the legs.
Next Build the field goal.
- The height of the large vertical posts are around 8"
- The total width (including side poles) is around 6"
- The distance between the crossbar and the "Grass" is around 4"
Cut the scoreboard and jumbotron posts
- 2x scoreboard 2" x 3/4" x 3/4"
- 1x jumbotron 4.5" x 3/4" x 3/4"
Adding the Components to the Board
Wiring the Components to the BeagleBone
Installing Necessary Libraries
- Checkout the project repository: https://github.com/steffygm/ECE434_project
git clone https://github.com/steffygm/ECE434_project cd ECE434_project
- Run the install.sh script to install all of the necessary Adafruit libraries
How to run the program
cd ECE343_project ./setup.sh sudo python paper_football.py
Theory of Operation
Group Work: The following tasks were worked on throughout the course of the project, and completed by the end.
- Build wooden gameboard
- Solder extension wires on all components
- Add shrink wrap on all visible wires to make them look nice
- Glue components onto the game board
- Mount a breadboard and the BeagleBone to the bottom of the game board
- Wire all components to the game board's breadboard
Russell's Individual Work:
- COMPLETE 11/3 - Create a python script to control the IR sensors
- COMPLETE 10/31 - Create a python script to control the 7 segment displays
- COMPLETE 11/6 - Create the initial python paper football script that includes all the IR sensors for goal detection, both 7 segment displays for scoring, 2 LEDs and a switch for possession, and a pushbutton for reset
Griffin's Individual Work:
- Create shell scripts for the LCD jumbotron
- Create a python script to call the shell scripts to control the LCD jumbotron
- Incorporate the LCD jumbotron code into the main paper football python program
- COMPLETE 11/9 - Troubleshoot IR sensors