Matt. Fully functional five man poker table Optical recognition system for cards LCD displays...
-
Upload
osborn-parker -
Category
Documents
-
view
215 -
download
1
Transcript of Matt. Fully functional five man poker table Optical recognition system for cards LCD displays...
Golden BluffalosIntelligent Poker Table
Matt GooSteven Baxley
Braydon HancockNate Bernstein
Bear Sawicki
Matt
Project Overview
Fully functional five man poker tableOptical recognition system for cardsLCD displays with game stats
Displays probability of increasing hand value Pot size Blind values Confirmation screen
RFID tags for poker chipsLED turn indication
Matt
Milestone 1: Main pot chip tracking Cards being read Probability of increasing hand value
Milestone 2: LCD displaysIndividual chip trackingTurn indicationTouch Sensor
Expo: Table integrationIndividual LCD displays for each playerAdditional game modesBeagle Board implementation
Goals
Costs
Item Supplier Quantity Cost Per Unit Total Item Cost
MSP430F169 Rev D TI 2 0 0
Crystal Oscillator Digikey 3 0.81 2.43
24 pF load caps Digikey 10 0.031 0.31
Real-time crystal Digikey 0.68 3 2.04
0.1uF Decoupler Digikey 10 0.224 2.24
Push Button 33mm - Green Sparkfun 5 0.95 4.75
Push Button 33mm - Pink Sparkfun 5 0.95 4.75
Missile Switch Cover - Red Sparkfun 1 1.95 1.95
IC MUX/DEMUX 8XI 16DIP Digikey 2 0.68 1.36
High-Speed CMOS Logic 10 - 4 Line Priority Encoder Digikey 1 0.68 0.68
dual N-channel Trench MOSFET Mouser 25 0.29 7.25
10k Resisitors 1/4W Digikey 50 0.06 3
Subtotal 29.40
Continue Next Slide…
Item Supplier Quantity Cost Per Unit Total Item Cost
LED - RGB Clear Sparkfun 15 1.95 29.25Camera C200 Logitec Amazon 5 14.95 74.75
RFID Reader Dan Kuester 1 0 0
RFID Tags Digikey >00 1 100
LCD screens Sparkfun 5 $70 350
Poker Chips n/a 750 0 0
Poker Table Walmart 1 40 40
plexiglass n/a 1 15 15extra materials for table n/a 1 25 25
poster printing n/a 1 80 80
PCB design n/a 2 33 66
USB expander n/a 1 10 10
Grand Total 829.4
Labor BreakdownMatt Steven Braydon Nate Bear
RFID Secondary Primary
Optical Sensor Primary Primary
Probability Primary
Power Primary
LCD Displays Primary Secondary
Documentation Primary Primary
Turn Indication Secondary Secondary Primary
Buttons Primary Secondary
PCB Design Primary Secondary
Table Integration x x x x x
Matt
Gantt Chart
Electronics Functional Diagram
Software Functional Diagram
No
Yes
No
Yes
No No No
Yes Yes YesYes
PX = Dealer
Check
Yes
No
Bet/Call
FoldNo
Yes
Deal Cards
Increment dealer, big/small blinds
Round Over
Boot Up
Game State Tracking
Calculate Probability
Update LCD’s Player Input Tracking
Read Dealer
Read PX Input
Read Cards
PX = PX +1
Update Player Has Fold Variable
RFID/Pot Size
Compare Remaining Player Cards
Cards Dealt?
Need Probability
Calc?
Only Player Cards?
FlopCards?
Turn Card?
River Card?
River Card?
All Players
Check/Call/Fold?
Demo
Steve
LED’s Tri-color LED at each players position
Specific color code:
Schematic:
Function Color
Dealer Green
Small Blind Blue
Big Blind Red
Player’s Turn Flash LED/Multi-color
LCD’s 4” x 5” screen sizeDisplay all the information160 x 128
Will simplify user experience
Requires similar input as other LCD
Need level logic shifter from MSP (5V)1.55 W
Details…Details Bidirectional Level Shifters
BSS138 MOSFET
Demultiplexor CD74HC4051
LCD interrupts
LCD Cost
Saved on RFID Better users graphics! $70/LCD * 5Users = $350
Fun!!
Buttons 2 buttons per playing area *
5 players = 10 buttons +1 reset button
Green Red
Checking Folding(need confirmation)
Bet (need confirmation) Reset(need confirmation)
Call(need confirmation)
1
4
3
2
5
?
MORE DETAILS
Encoder CD7HC147
Game Reset Button
Button works on dev board
- Interrupts
Power
Barrel Jack
120 VACWall Socket
3.3V Regulator
5V USB HUB
MSP 430 & Peripheries
LCD communication
7VDC @ 3A max
LCD Power and LEDs
Barrel Jack
RFID
5VDC @ 850mA max
Power Circuit Diagram
Probability Overview
Input
Function
Output
Example FlopP1 P2 C1 C2 C3
Value Suit
To main: (hand value)(%1P)(%2P)…(%royal flush)
Floats supported on MSP430
Bet Tracking
Bear
Antenna ReaderRFID Tags
To MSP430
UHFSMA
COAXSPI Bus
RFID ReaderSkyeTek’s SkyeModuleM9 Reader
862 to 955MHz Outputs max 27dBmSPI interface 5V@850mA
Tags Avery Dennison AD-814
ISO-18000-6C, EPC Class1 Gen2Read/Write 96 bits Password Protected
Software Very well defined C API
Initialize SPI(Baud, stop,
parity)
Inventory of Read Zone
Process Found Tags
Update Bet
Initial Testing
Laptop will save time with embedding code
Added functionality of BeagleBoard is reliability for real-time imaging
Primary goal is laptop, secondary embedding the code
Laptop vs. BeagleBoard-xM