title: SMART-CARD reader/writer for Arduino
body: <p>I'm looking to build the same interaction that a normal user has with a vending machine through a chip card (smartcard) with an Arduino project of mine. I want to limit the users the time they can play with the toy (my project) for that, they will be required to insert the card and the code should:</p>
  
  <ol>
  <li>Read the card.</li>
  <li>Ask for a 4-digit password.</li>
  <li>Authenticate password on chip.</li>
  <li>Read time balance.</li>
  <li>Display on LCD the time balance.</li>
  <li>Save time of usage (via millis()).</li>
  <li>Subtract usage from time balance and display new balance.</li>
  <li>Log the usage time and date.</li>
  </ol>
  
  <p>I have one of this <a href="http://uk.farnell.com/amphenol/c702-10m008-232-40/smart-card-c702-wiping-xxs-3mm/dp/1849552">SMART CARD readers</a> and datasheet is very straight forward on how to connect, but I'm not as fluent as I would like on writing my own functions. Is there a good library that I can use? perhaps an example .ino or .pde file? thanks in advance!</p>
  
  <hr>
  
  <p>[UPDATE #1]</p>
  
  <p>I have found a good looking project by Angus71 in <a href="https://sourceforge.net/p/arduinosclib/wiki/Home/">SourceForge</a> but I must admit that I don't know how to implement the library into the arduino code itself. The author wrote SCTest (example) that is not enough for me, So I wanted to check if you can help me?</p>
  
  <p>You may download the library and examples from the link above and would appreciate very much if you can point me in a better direction!</p>