Card reader
Device reading data from card-shaped storage media.
Last updated
CplKlinger · CC BY-SA 4.0
A card reader is a hardware input device that transfers data from a card-shaped storage medium to a computer. It can gather information through several techniques: optically scanning printed text, barcodes, or holes on punched cards; detecting electrical signals created or broken by a card's punched holes or embedded circuits; or using electronics to read plastic cards that contain a magnetic stripe, a computer chip, an RFID chip, or another storage medium.
Magnetic card readers
These readers serve purposes such as identification, access control, banking, data storage, and data processing. Magnetic stripe technology, often called mag-stripe, gets its name from the stripe of magnetic oxide tape laminated onto the card. The stripe holds three tracks of data, each typically following a specific encoding standard, though any format can be placed on any track. A mag-stripe card costs less than other card technologies and is simple to program.
It stores more data than a barcode of the same size. While creating a mag-stripe is harder than generating a barcode, the tools for reading and encoding mag-stripe data are common and easy to obtain. However, this technology is prone to misreads, card wear, data corruption, and certain types of skimming—where external devices placed over the reader intercept the data. Smart card readers use an electrical current to read data from a card's embedded circuitry or magnetic features.
Smart card readers
A contact smart card must physically touch contacts on the reader to complete a circuit. A contactless smart card uses radio waves or a magnetic field to send information to the reader without direct contact, though most readers have a range of 20 inches or less. Contact smart card readers A contact smart card reader is an electronic device that physically connects to the card's integrated circuit, supplies electricity to that circuit, and uses communication protocols to read data.
For banking or identification, these readers may connect to a keyboard so a user can verify their personal identification number (PIN). If a card uses a custom or proprietary protocol instead of a standard one, its communication protocol is designated T=14. The latest PC/SC CCID specifications define a new smart card framework that works with USB devices having device class 0x0B.
Quick Facts
- Use
- access control
Facts from the source article.
A Versatile Input Device at the Heart of Modern Systems
A card reader is fundamentally a data input device whose purpose is to extract information stored on a card-shaped medium and deliver that information to a computer for use. What makes the category remarkably broad is the sheer variety of physical mechanisms it encompasses. Some readers rely on optical scanning to interpret printed text, barcodes, or the pattern of holes on a punched card. Others detect electrical signals generated when a card's punched holes make or break a circuit, or when embedded circuitry responds to contact.
Still others are dedicated to reading plastic cards that carry a magnetic strip, a computer chip, an RFID chip, or some other embedded storage medium. This technological diversity allows card readers to serve an equally wide range of applications, spanning personal identification, physical access control, banking transactions, general-purpose data storage, and broader data processing workflows. In essence, the card reader sits at the intersection of mechanical, optical, and electronic engineering, making it one of the most adaptable input peripherals in everyday computing.
Magnetic Stripes: Affordable but Vulnerable
The magnetic stripe, often shortened to mag-stripe, is a strip of magnetic oxide tape laminated directly onto a card's surface. It carries three distinct tracks of data, and while each track typically adheres to a specific encoding standard, nothing technically prevents any data format from being written to any track. The technology's greatest strengths are its low cost relative to other card media and its ease of programming. A single mag-stripe can hold more data than a barcode occupying the same physical space, and although writing to the stripe is more complex than generating a barcode, the hardware for both reading and encoding is widely available and inexpensive.
The trade-offs, however, are significant. Magnetic stripes are prone to misreads, physical wear over repeated swipes, and outright data corruption. Perhaps most concerning from a security standpoint, they remain vulnerable to a technique called skimming, in which an attacker places an external device over the reader to silently intercept the data being read from the card.
Smart Card Readers: Contact and Contactless Paradigms
Smart card readers draw on electrical current to extract data from either embedded circuitry or magnetic features within a card, and they split into two fundamentally different interaction models. A contact reader requires the card to physically touch metal contacts, closing an electrical circuit between the two; in banking or identification settings, such a reader is often paired with a keyboard so the user can enter a PIN for verification. If a card uses a proprietary rather than standard protocol, it is designated T=14.
On the software side, the latest PC/SC CCID specifications define a USB device class (0x0B) that lets compliant operating systems supply drivers automatically, while the PKCS#11 API offers a platform-independent interface to cryptographic tokens so applications never need to know reader specifics. Contactless readers, by contrast, use high-frequency radio waves at 13.56 MHz to transmit data at rates up to 848 kbit/s, with anti-collision protocols (ISO/IEC 14443) allowing multiple cards to be addressed simultaneously.
The card can even function through a wallet or purse, typically within a 20-inch range. Card memory may store biometric templates, letting a separate biometric reader compare the stored fingerprint to the user's live finger without distributing sensitive data across controllers.
Proximity Cards and the Wiegand Standard
Proximity card readers operate on a simple yet elegant principle: the reader radiates an electrical field extending roughly one to twenty inches around itself. When a card enters that field, the reader's signal excites a coil in the card's LC circuit. That coil charges a capacitor, which in turn powers a small integrated circuit. The IC then outputs the card's number back through the coil, and the reader picks up the transmitted signal.
The most common encoding for this exchange is the 26-bit Wiegand format, structured as an even parity bit, an eight-bit facility code, a sixteen-bit card number, and a closing odd parity bit. The facility code is meant to be a unique identifier shared by every card issued by one organization, so that two different companies can both start their card numbering at one without collision. In practice, however, no governing body oversees card numbering, and different manufacturers have been known to assign identical facility codes and card numbers to separate organizations, creating duplicate cards that can unlock multiple facilities.
To counter this, some manufacturers have developed proprietary formats beyond the 26-bit standard that they control and issue directly.
Frequently Asked Questions
What is a card reader in the context of computer storage?
A card reader is a hardware input device that pulls data off a card-shaped storage medium and feeds it into a computer. It acts as the physical bridge between a tangible card and the digital system that needs the information.
How does a card reader actually extract data from a card?
It can work by optically scanning printed text, barcodes, or punched holes; by sensing electrical signals generated or interrupted by holes or embedded circuits; or by reading electronic data stored on a magnetic stripe, a computer chip, or an RFID tag. The technique used depends entirely on the card format.
What are card readers actually used for in real systems?
They underpin identification, access control, banking transactions, general data storage, and data-processing workflows. Any system that needs to retrieve information from a physical card ultimately depends on a reader of some kind.
What is the typical read range for a contactless card reader?
Most contactless smart card readers have a typical range of 20 inches (51 cm) or less, while proximity card readers can detect cards anywhere from 1 to 20 inches away. Keeping the zone compact helps limit exposure and prevents accidental reads from nearby cards.
More in Computer Storage
Sources
Compiled from Wikipedia and the sources listed below. Text from Wikipedia is available under CC BY-SA 4.0; this entry is adapted from it.
- Wikipedia: Card reader (CC BY-SA 4.0).
Spotted an error? Know more?
Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced
