Document 160167

Electronic Cornhole
Design Team 11
Phillipp Gouin, Hardware Manager, EE Lee Kirk, So9ware Manager, CE Ashley Wilson, Team Leader/Archivist, EE Dr. Igor Tsukerman December 02, 2011 Need
Have you ever had controversy over the score
while playing cornhole? In today’s market there
are no automatic “game incorporated”
electronic cornhole score keeping devices.
There have been many manual score-keeping
devices where the user calculates the score and
enters it into a device; however, mistakes can
still be made. A system that calculates and
displays the score for you is useful for ease of
play.
•  Cornhole scoring calculated and maintained
electronically
2 Design Requirements Specification
Marketing
Requirements
1
2
3
4
5
6
7
1.
2.
3.
4.
Engineering Requirements
Justification
Must be able to detect weight
The cornhole bags each weigh 1lb, the ability to
differences on cornhole board within
distinguish weight within .1lbs should be sufficient
accuracy of 0.1 lbs
Receiver must distinguish between
Each cornhole bag has to be individually
cornhole bags transmission
detectable
frequencies
Device will force cornhole bags into a Cornhole bags will never make a backwards
specific movement, which must be
moving motion which we will force upon the bag
opposite of thrown direction
upon entrance into the cornhole
Determines cornhole bag off cornhole If a cornhole bag has moved in a downwards
board on trigger of cornhole bag
motion and the weight decreased on the cornhole
movement and weight change
board the cornhole bag has fallen off
Compile all cornhole bag data at the All cornhole bag data at the end of the round
end of the round and update score
must be known to calculate the appropriate score
Must send signal to seven segment
Score needs to be displayed to users
displays
Will be numerous predefined game
Users may want to implement their own rules
types to determine scoring rules
when keeping score
Marketing Requirements
Detect cornhole bags on cornhole board
Distinguish between the different teams cornhole bags
Detect cornhole bags in the cornhole
Detect cornhole bags falling off the cornhole board
5. Keep appropriate score
6. Display score
7. Preset scoring systems
3 Design Requirements Specification
Marketing
Requirements
8
8
9
9
10
11
11
Engineering Requirements
Justification
To enable wireless operation portable power must
be used. Also cornhole is usually outdoors away
from AC power.
Must fit into average size vehicle for To enable people who want to play anywhere, it
transportation
must be able to be transferred easily
Cornhole bags are thrown and have high impact
Components inside cornhole bag must
so components must be protected from being
be protected
broken
Scoreboard and main circuits must be
The game will be played at various locations
able to withstand transportation
The average person must be able to play with
Minimal amount of instruction and
minimal thought and reference to instruction
user input necessary for proper use
manual
Must decide which events require
what type of audio output if
To enhance user experience
necessary
System must be able to output audio The game is played in an area with boards
audible to within 50 feet
spaced 30 feet apart
Must be powered by small portable
voltage sources
Marketing Requirements
8. Be portable
9. Be durable
10. Be easy to use
11. Output audio based on game events
4 Hardware Theory of Operations
3V DC
(2 AA Batteries)
Accelerometer With
Internal Compass
and Inertia Switch
Microcontroller
PIC18
Radio Frequency
Transmitter
(868MHz)
Loop Antenna
RF Output
5 Hardware Theory of Operations
6V DC
(Battery)
Voltage
Force Sensing
Resistor
(FSR)
A/D Converter
Output Current
Based on
Weight
Digital Weight
Output
6 Hardware Theory of Operations
Output Audio
Audio Bank
RF Input From
Bag
FSR Digital
Input
RF Receiver w/
Loop Antenna
(868MHz)
CPU
Score Determining
Output
Score To
Scoreboard PIC
DC Voltage
Supply
7 Hardware Calculations
Note that the direction e1 is the direction of the new
slope
8 Hardware Calculations
Keeping the acceleration above 0.39 m/s^2, it is
concluded that,
If Ө=45˚ => friction coefficient < 0.85
If Ө=30˚ => friction coefficient < 1.5
If Ө=60˚ => friction coefficient < 0.45
We found that the Coefficient of cloth on wood is 0.5.
So using a slicker surface such as plastic, any of
these angles could be used. We will pick the angle
9 based on the best response we get when testing.
Cornhole Bag Detail
10 Cornhole Board Detail
11 Cornhole Bag Schematic
12 Cornhole Transceiver Buffer Circuit
13 Cornhole Board Schematic
14 Main PIC Schematic
15 Main PIC Section 1
16 Main PIC Section 2
17 Main PIC Section 3
18 Software Theory of Operations
Acceleration x-direction
Acceleration y-direction
Acceleration z-direction
Bag Frequency
GetAccel()
Acceleration data for
bag
GetAccelerometer
Data()
Magnetic field x-direction
Magnetic field y-direction
Magnetic field z-direction
Bag Frequency
GetMagField()
Magnetic field data for
bag
Bag Movement data
GetBagMovement
()
Bags on board
Bags in hole
19 Software Theory of Operations
FSR 1 input
FSR 2 input
FSR 3 input
FSR 4 input
GetWeightSensors
()
Combined weight data
from all sensors
Total Weight on board
GetBoardWeight()
20 Processing on Bag
XLP Microcontroller in bag
•  Provides interface
between RF Transceiver
and Accelerometer
•  Allows for preprocessing of data if
found necessary
•  Transmission frequency
and data transfer rate
configurable with SW on
PIC
21 Processing on Board
XLP Microcontroller on
board
•  Once powered on the
processor will follow
the path in blue
unless an interrupt is
triggered
•  Interrupts will trigger
from user input
events
•  At end of round
previously active
board will wait until a
start round event is
triggered
22 Questions or Comments?
23