Download - Little League Statistics Tracking System
![Page 1: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/1.jpg)
Little League Statistics Tracking System
Group 8:Corey CowartNicholas RimerSean MartinBrian McCauleySponsor: Pete McAlindon
![Page 2: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/2.jpg)
Project Goals and Objectives
• Replace the currently used dugout score-sheets.
• Provide an online database for all players on teams using the system.
• Allow fans to easily follow the teams and players
• Provide in depth statistics for scouts and officials.
![Page 3: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/3.jpg)
Overall Block Diagram
![Page 4: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/4.jpg)
Possible Benefits
• Minimizing the training for score keeping.• Allow parents to remotely follow their
children’s games when not present.• Instantaneous data synchronization.• Prevent lost statistic from data sheets being
lost.• Better drafting into higher leagues based on
real stats rather than superficial figures.
![Page 5: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/5.jpg)
Umpire Device
![Page 6: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/6.jpg)
Goals and Objectives• Create a device that is ergonomic and
similar in size to the existing device.• Maintain all functions currently recorded on
Umpire indicator.• Display values for balls, strikes and outs on
the device.• Simplify the recording of play data to
minimize training time of the current system.
![Page 7: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/7.jpg)
Specifications• Choose components that run off 3.3V to
simplify power schemes.• Have battery life of greater than 15 hours
with low battery indication.• Have range of over 30ft to connect with
coaching tablets.• Dimensions no larger than 5” x 3”.• Displays able to show digits 0 – 4 for balls,
strikes and outs
![Page 8: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/8.jpg)
Current Umpire Device
• Dimensions of 2.5” x 4”• Scroll wheels for
selecting numbers of balls, strikes and outs.
• New digital umpire device will have push buttons for incrementing these counts.
![Page 9: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/9.jpg)
Block Diagram
![Page 10: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/10.jpg)
Display Schematic
PIC24HJ12GP202
4511
4511
4511
![Page 11: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/11.jpg)
Microcontroller• Chosen microcontroller is the PIC24HJ12GP202• 21 I/O pins when 18 pins needed.• Programmed in C language.• Cost effective at $2.24.• Programmed on the Microstick development
board costing $24.99
![Page 12: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/12.jpg)
Bluetooth Connectivity
• Connects with up to 4 devices at a time.• Up to 100 meter range.• Small footprint.• Sleep mode with ~370uA current draw.
LinkMatik 2.0 from FlexiPanel
![Page 13: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/13.jpg)
Power• Device needs to be battery powered.• Multiple Umpires using same device so power options need to be flexible.• All chipsets chosen to use 3.3V.• LD1117V33 can supply up to 950mA of current.
![Page 14: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/14.jpg)
Coach Application
![Page 15: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/15.jpg)
Goals and ObjectivesPregame:• Allow a team’s coach to view and edit their
team roster within the application.• Create batting and fielding lineups for
upcoming games.• Display season and overall statistics for each
player in a detailed view.• Allow for database search on player creation to
keep tracking stats as players change teams.
![Page 16: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/16.jpg)
Goals and ObjectivesIn-game:• Immediately reflect any change in state from
the umpire device.• Keep track of all statistics that are currently
recorded on the dugout score-sheets.• Account for all possible on field events such
as player substitutions, pinch hitting, etc.• Upload all tracked statistics in real time on a
play by play basis.
![Page 17: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/17.jpg)
Goals and ObjectivesPost-game:• Implement a league-wide player search function
that displays detailed statistics on all players similar to that in the pre-game interface.
• Allow for side-by-side team comparisons for any other team in the league that is implementing the system.
• Present in-depth team statistics for any other team implementing the system in the league.
![Page 18: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/18.jpg)
![Page 19: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/19.jpg)
Block Diagram
![Page 20: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/20.jpg)
Program Life Cycle• Baseline: Android v2.2• Optimized for 1024x600, high pixel density screen.• Does not interfere with any of the built-in android buttons.• Developed in eclipse IDE using the ADT Android plug-in.
![Page 21: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/21.jpg)
Class Layout• 6 main activities.• All inherit from
Android’s Activity class.
• Each will have corresponding xml files to specify UI layout.
• Pass Intents for inter-app communication.
![Page 22: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/22.jpg)
Data Structures• Additional data
classes will be used to facilitate data clarity within the app.
• A local database will be utilized to ensure that player and lineup data is not lost when the app’s onDestroy() method is called.
![Page 23: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/23.jpg)
User Interface – Home Screen
![Page 24: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/24.jpg)
User Interface – Roster Management
![Page 25: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/25.jpg)
User Interface – At Bat
![Page 26: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/26.jpg)
User Interface - Fielding
![Page 27: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/27.jpg)
Hardware Implementation
Product capacity • Internal: 8 GB flash memory • External: Micro SD Slot
Display characteristics High resolution capacitive multitouch screen, 1024x600 pixels (WXVGA), 10.1'' TFT LCD
Processor •1GHz NVIDIA Tegra 2 Dualcore ARM CortexA9 CPU•512MB DDR
Communication protocols
• WiFi (802.11 b/g/n)• Bluetooth 2.1 EDR
Viewsonic G Tablet• Android 2.2 (Froyo).• ~10 hours of battery life using internet connection.• Large screen for less cluttered layout of prototype.
![Page 28: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/28.jpg)
Fan Application
![Page 29: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/29.jpg)
Goals and Objectives
•Communicate with the database•Provide information for games, teams and players.•Regularly update stats from the database•Be quick and user friendly
![Page 30: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/30.jpg)
Class Diagram
![Page 31: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/31.jpg)
User Interface Flow
![Page 32: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/32.jpg)
User Interface
![Page 33: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/33.jpg)
Database
![Page 34: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/34.jpg)
Objectives
• Organize and store data to optimize access speed.
• Maintain and backup current and previous games.
• Source client recognition and validation.• Minimize bandwidth.• Migrate data between multiple databases.
![Page 35: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/35.jpg)
Specifications
• Independent team and game databases.• Implemented in MySQL.• Remote cloud server (via Amazon).
![Page 36: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/36.jpg)
Local vs. Remote
Local:+ Direct control+ Customizable+ Faster- Expensive- Maintenance
Decision: Remote
Remote:- Limited Options- Accessibility- Bandwidth+ Cheaper+ Self-maintaining
![Page 37: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/37.jpg)
Class Diagram: Team DB
![Page 38: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/38.jpg)
Class Diagram: Game DB
![Page 39: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/39.jpg)
Data Organization
• Split data to minimize access time.– Smaller database requires less searching.– Faster writes to known locations.– Smaller backups.
• Pricing schemes:– Amount of databases, size, and usage.– Uptime.
![Page 40: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/40.jpg)
Activity Diagram: Fan
![Page 41: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/41.jpg)
Activity Diagram: Coach
![Page 42: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/42.jpg)
Activity Diagram: Umpire
![Page 43: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/43.jpg)
Budget BreakdownUmpire DeviceDisplay + Drivers ~$15.00Misc. Hardware ~$30.00Bluetooth Chip $50.89MicroController + parts $25.10PCB $33.00
Fan and Coach Applications
Viewsonic Tablet $299.99
Motorola Droid 2 $499.99
Database
Amazon RDS $18.50/month
![Page 44: Little League Statistics Tracking System](https://reader035.vdocuments.net/reader035/viewer/2022062521/56816727550346895ddbc1cf/html5/thumbnails/44.jpg)
Question
How does the umpire indicator communicate with the coach application?
• A) WiFi• B) Bluetooth• C) ZigBee• D) USB