counting how many cards there are in a deck

DaveEvans:
Not really. You could hack an inexpensive 100 or 200 gram weigh scale and hook it up to an Arduino via an HX711 ADC or use a scale that has RS232 output (which the Arduino can read via a MAX232 or similar).

interesting, i'll look into that.

thanks