21 or Bust
Automatic Blackjack Dealer
Shawn Nishimuro, David Gandionco, Ed Torres, and Tim Petrie
Need all the action and lights of Las Vegas? The 21 OR BUST automatic blackjack dealer is made to imitate real Vegas blackjack dealers. Utilizing light-sensitive photoresistor sensing, it accurately reads cards, deals them out face up/face down accordingly, play the dealer’s hand, and even tells you if you bust or beat the dealer. Depending on the card value read, a sequence of motors is initiated to deal the card out correspondingly.
Videos:
Key Steps/Functions:
Load effectively and "roll" one card at a time.
Accurately read and recognize blackjack values of card.
Decide if card is to be dealt face up or face down.
Spit card from loading dock.
Hold dealer's second card in back, to be served face up at beginning of dealer's turn.
Respond accordingly to hit and stay commands upon players' request.
Calculate dealer's and players' hand totals and determine winners/losers.





DSP Schematic


Blackjack Dealer Logic:
Phases:
First Ten Cards
Turn on motors.
IF card is read
1. add card value to player's hand,
IF card is dealer's first card
1. deal face up (bi-directional motor)
ELSEIF card is dealer's second card
IF dealer's hand = 21,
1. compare to players' hands and determine pushes.
2. reset all counters and arrays.
IF dealer's hand < 21,
1. pull card back (roller 4)
2. deal out next card.
II. Game Play
IF hit
1. add card value to player's hand,
2. deal out card.
IF stay
1. go to next player,
IF dealer's turn
1. spit out dealer's second card (roller 4),
IF dealer's hand > 17 & dealer's hand < 21
1. compare to all players' hands,
2. determine winners/losers,
3. gameover: reset.
IF dealer's hand < 17
1. read and deal out next card.
IF dealer's hand > 21
1. compare to all players' hands
2. determine winners/losers,
3. gameover: reset.
THANK YOU FOR READING OUR WEBPAGE :-)