<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <meta name="generator" content="Movable Type 3.2" />

   <link rel="stylesheet" href="styles-site.css" type="text/css" />
   <link rel="alternate" type="application/atom+xml" title="Atom" href="atom.xml" />
   <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="index.xml" />

   <title>Double Down: Project Proposal - The Player/Card Recognition</title>

   <link rel="start" href="" title="Home" />
   <link rel="prev" href="http://doublecounter.com/doubledown/2006_02_the_dealer.html" title="Project Proposal - The Dealer" />
   <link rel="next" href="http://doublecounter.com/doubledown/2006_02_card_flipping.html" title="Project Proposal - Card Flipping" />

   <!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
         xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description
    rdf:about="http://doublecounter.com/doubledown/2006_02_the_player.html"
    trackback:ping="http://thespork.net/mt-tb.cgi/1048"
    dc:title="Project Proposal - The Player/Card Recognition"
    dc:identifier="http://doublecounter.com/doubledown/2006_02_the_player.html"
    dc:subject=""
    dc:description="This entry contains the continuation of our project propsal, found here, and continuing from here. The following is taken from our project proposal: 2 The player Figure 3: Card’s Barcode For our device to play any number of card games,..."
    dc:creator="Niels"
    dc:date="2006-02-10T00:29:57-06:00" />
</rdf:RDF>
-->


   

   <script type="text/javascript" src="http://doublecounter.com/doubledown/mt-site.js"></script>
</head>
<body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
   <div id="container">
      <div id="container-inner" class="pkg">

         <div id="banner">
            <div id="banner-inner" class="pkg">
               <h1 id="banner-header"><a href="index.html" accesskey="1">Double Down</a></h1>
               <h2 id="banner-description">An automated card-dealer</h2>
            </div>
         </div>

         <div id="pagebody">
            <div id="pagebody-inner" class="pkg">
               <div id="alpha">
                  <div id="alpha-inner" class="pkg">

                     <p class="content-nav">
                        <a href="http://doublecounter.com/doubledown/2006_02_the_dealer.html">&laquo; Project Proposal - The Dealer</a> |
                        <a href="index.html">Main</a>
                        | <a href="http://doublecounter.com/doubledown/2006_02_card_flipping.html">Project Proposal - Card Flipping &raquo;</a>
                     </p>

                     <a id="a001048"></a>
                     <div class="entry" id="entry-1048">
                        <h3 class="entry-header">Project Proposal - The Player/Card Recognition</h3>
                        <div class="entry-content">
                           <div class="entry-body">
                              <p>This entry contains the continuation of our project propsal, found <a href="http://doublecounter.com/doubledown/2006/02/introduction.html">here</a>, and continuing from <a href="http://doublecounter.com/doubledown/2006/02/the_dealer.html">here</a>.</p>

<p>The following is taken from our project proposal:</p>

<blockquote><b>2 The player</b>

<div align="center"><i>Figure 3: Card’s Barcode</i><br><a href="proposal_card_barcode.html" onclick="window.open('proposal_card_barcode.html','popup','width=430,height=337,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img alt="proposal_card_barcode.jpg" src="proposal_card_barcode.jpg" width="430" height="337" /></a></div>

<p>For our device to play any number of card games, it will need to know what cards it deals itself and sometimes which cards are dealt to the player(s). After considering several methods we agreed upon a barcode and phototransistor system, as it would be the simplest to implement in our design and doesn’t require metal contacts or stickers on the cards so that they remain slick for easier dealing.</p>

<p>2.1 Card Recognition</p>

<p>Using a template, a binary barcode will drawn on each card in opposite corners. The barcode will be composed of two parallel 6-bit binary numbers. The first set of lines will be all black and will act as the clock cycle for triggering the reading of the other set of lines next to it. The second set is then the one holding a binary number 1-52 for each card in a deck.</p>

<div align="center"><i>Figure 4: Methods for Sensing Barcode</i><br><a href="proposal_barcode_methods1.html" onclick="window.open('proposal_barcode_methods1.html','popup','width=1360,height=400,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img alt="proposal_barcode_methods.jpg" src="proposal_barcode_methods.jpg" width="315" height="100" /></a></div>
 
An LED will light up the underside of the card and either one or two phototransistors will detect if the card reflects or absorbs the light. Two phototransistors can be used as digital inputs for reading the two lines, or one phototransistor can be used as an analog output to differentiate between no lines, one line, or two.

<div align="center"><i>Figure 5: Sensor Position</i><br><a href="proposal_sensor_position.html" onclick="window.open('proposal_sensor_position.html','popup','width=560,height=340,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img alt="proposal_sensor_position.jpg" src="proposal_sensor_position.jpg" width="560" height="340" /></a></div>

<p>The phototransistors and LED will be positioned at both outputs of the deck housing and will read the barcode as the card is dispensed. They can either be under a clear ramp that the cards slide down or in a recess of an opaque ramp.</blockquote></p>
                           </div>
                           <div id="more" class="entry-more">
                              
                           </div>
                        </div>
                        <p class="entry-footer">
                           <span class="post-footers">Posted by Niels Black on February 10, 2006 12:29 AM</span> <span class="separator">|</span> <a class="permalink" href="http://doublecounter.com/doubledown/2006_02_the_player.html">Permalink</a>
                        </p>
                     </div>

                                          <div class="trackbacks">
                        <h3 id="trackback" class="trackbacks-header">TrackBack</h3>
                        <div id="trackbacks-info">
                           
                        </div>
                        <div class="trackbacks-content">
                                                                                 <p>Listed below are links to weblogs that reference <a href="http://doublecounter.com/doubledown/2006_02_the_player.html" rel="nofollow">Project Proposal - The Player/Card Recognition</a>:</p>
                           
                           <a id="p246"></a>
                           <div class="trackback" id="ping-246">
                              <div class="trackback-content">
                                 <p>
                                    &raquo; <a href="http://doublecounter.com/doubledown/2006/02/card_flipping.html" rel="nofollow nofollow">Card Flipping</a> from Double Down<br />
                                    This entry contains the continuation of our project propsal, found here, and continuing from here. The following is taken from our project proposal: 1.2 Card Flipping When dealing a game of blackjack, some cards need to be face-up and some... <a href="http://doublecounter.com/doubledown/2006/02/card_flipping.html" rel="nofollow nofollow">[Read More]</a>
                                 </p>
                              </div>
                              <p class="trackback-footer">
                                 Tracked on <a href="#ping-246" rel="nofollow">February 10, 2006 12:54 AM</a>
                              </p>
                           </div>
                           
                        </div>
                     </div>
                     

                     
                  </div>
               </div>
            </div>
         </div>
      </div>
   </div>
</body>
</html>

