A currency-counting machine is a machine that counts money—either stacks of banknotes or loose collections of coins. Counters may be purely mechanical or use electronic components. The machines typically provide a total count of all money, or count off specific batch sizes for wrapping and storage.
Currency counters are commonly used in vending machines to determine what amount of money has been deposited by customers.
In some modern automated teller machines, currency counters allow for cash deposits without envelopes, since they can identify which bills have been inserted instead of just how many. The user is given the chance to review the automatic counter's idea of the quantity and kinds of the inserted banknotes before the deposit is complete.
Basic banknote counters provide a total count of the notes in the supply hopper. More advanced counters can identify different bill denominations to provide a total currency value of mixed banknotes, including those that are upside down. Some banknote counters can also detect counterfeit bills either magnetically and/or using blacklight. Blacklight (UV) based detectors exploit the fact that in many countries, real banknotes have fluorescent symbols on them that only show under a black light. Also, the paper used for printing money does not contain any of the brightening agents which make commercially available papers fluoresce under black light. Both features make counterfeit notes both easier to detect and more difficult to successfully produce.
A stack of bills are placed in a compartment of the machine, and then one bill at a time is mechanically pulled through the machine. By counting the number of times a beam of light is interrupted, the machine can count the bills. By comparing an image of each bill to pattern recognition criteria, the machine can figure out the denominations of the bills and how much genuine money was placed in the compartment.