Matt. Fully functional five man poker table Optical recognition system for cards LCD displays...

36
Golden Bluffalos Intelligent Poker Table Matt Goo Steven Baxley Braydon Hancock Nate Bernstein Bear Sawicki Matt

Transcript of Matt. Fully functional five man poker table Optical recognition system for cards LCD displays...

Page 1: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Golden BluffalosIntelligent Poker Table

Matt GooSteven Baxley

Braydon HancockNate Bernstein

Bear Sawicki

Matt

Page 2: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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

Page 3: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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

Page 4: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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…

Page 5: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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

Page 6: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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

Page 7: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Gantt Chart

Page 8: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Electronics Functional Diagram

Page 9: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Software Functional Diagram

Page 10: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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?

Page 11: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Demo

Steve

Page 12: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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

Page 13: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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

Page 14: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Details…Details Bidirectional Level Shifters

BSS138 MOSFET

Demultiplexor CD74HC4051

LCD interrupts

Page 15: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

LCD Cost

Saved on RFID Better users graphics! $70/LCD * 5Users = $350

Fun!!

Page 16: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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)

Page 17: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

1

4

3

2

5

?

Page 18: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

MORE DETAILS

Encoder CD7HC147

Game Reset Button

Button works on dev board

- Interrupts

Page 19: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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

Page 20: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Power Circuit Diagram

Page 21: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Probability Overview

Input

Function

Output

Page 22: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Example FlopP1 P2 C1 C2 C3

Value Suit

To main: (hand value)(%1P)(%2P)…(%royal flush)

Floats supported on MSP430

Page 23: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Bet Tracking

Bear

Antenna ReaderRFID Tags

To MSP430

UHFSMA

COAXSPI Bus

Page 24: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

RFID ReaderSkyeTek’s SkyeModuleM9 Reader

862 to 955MHz Outputs max 27dBmSPI interface 5V@850mA

Page 25: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Tags Avery Dennison AD-814

ISO-18000-6C, EPC Class1 Gen2Read/Write 96 bits Password Protected

Page 26: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Software Very well defined C API

Initialize SPI(Baud, stop,

parity)

Inventory of Read Zone

Process Found Tags

Update Bet

Page 27: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

Initial Testing

Page 28: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.
Page 29: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.
Page 30: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.
Page 31: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.
Page 32: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.
Page 33: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.

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

Page 34: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.
Page 35: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.
Page 36: Matt.  Fully functional five man poker table  Optical recognition system for cards  LCD displays with game stats  Displays probability of increasing.