CN106778404A - The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card - Google Patents

The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card Download PDF

Info

Publication number
CN106778404A
CN106778404A CN201710026548.7A CN201710026548A CN106778404A CN 106778404 A CN106778404 A CN 106778404A CN 201710026548 A CN201710026548 A CN 201710026548A CN 106778404 A CN106778404 A CN 106778404A
Authority
CN
China
Prior art keywords
card
contact type
magnetic stripe
control unit
main control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710026548.7A
Other languages
Chinese (zh)
Inventor
胡建国
吴江旭
吴劲
梁津铨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGZHOU SYSUR MICROELECTRONICS Inc
Original Assignee
GUANGZHOU SYSUR MICROELECTRONICS Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGZHOU SYSUR MICROELECTRONICS Inc filed Critical GUANGZHOU SYSUR MICROELECTRONICS Inc
Priority to CN201710026548.7A priority Critical patent/CN106778404A/en
Publication of CN106778404A publication Critical patent/CN106778404A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0013Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
    • G06K7/0021Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers for reading/sensing record carriers having surface contacts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0095Testing the sensing arrangement, e.g. testing if a magnetic card reader, bar code reader, RFID interrogator or smart card reader functions properly

Abstract

The embodiment of the invention discloses a kind of card reader compatibility magnetic stripe card and the card reader circuit and card reader of Contact Type Ic Card, the card reader includes:Card reader interface and card reader circuit, card reader interface include:USB interface, RS232 serial ports, Contact Type Ic Card card reading interface, magnetic stripe card card reading interface;The main control unit of card reader circuit is connected with serial port driving unit, magnetic stripe card identification driver element, Contact Type Ic Card identification driver element, power subsystem, indicating member;The RS232 serial ports is connected with the serial port driving unit, the magnetic stripe card card reading interface is connected with magnetic stripe card identification driver element, the Contact Type Ic Card card reading interface is connected with Contact Type Ic Card identification driver element, and the USB interface is connected with the power subsystem.Card reader of the invention and card reader circuit are efficiently, inexpensive, low-power consumption, the card reader of compatible magnetic stripe card and Contact Type Ic Card.

Description

The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card
Technical field
The present invention relates to card reader technical field, the especially card reader circuit of a kind of compatible magnetic stripe card and Contact Type Ic Card And card reader.
Background technology
In the prior art, bank card mainly includes magnetic stripe card and Contact Type Ic Card, and magnetic stripe card is legacy cards, mainly by magnetic Head storage personal information and service data, the data storage ability of magnetic stripe card are relatively low, and safe and secret ability is weaker, Contact Type Ic Card By chip-stored personal information and service data, and with preferable encryption technology, storage secret key, numeral card can be carried out The technologies such as book, fingerprint are encrypted.
In the card reader of prior art, due to needing to carry out data friendship with the server of magnetic stripe card and Contact Type Ic Card Change, therefore, reader device is typically complex, and using special chip, price is higher, is not easy to card reader terminal equipment The popularization and application between common trade company, individual, therefore, design is a kind of efficiently, low cost, low-power consumption, compatible magnetic stripe card Card reader with Contact Type Ic Card is particularly necessary.
The content of the invention
An embodiment of the present invention technical problem to be solved is:A kind of compatible magnetic stripe card and Contact Type Ic Card are provided Card reader circuit and card reader, be used to provide it is a kind of efficiently, low cost, low-power consumption, compatible magnetic stripe card and Contact Type Ic Card Card reader.
The card reader circuit and card reader of a kind of compatible magnetic stripe card provided in an embodiment of the present invention and Contact Type Ic Card, it is described The card reader circuit of compatible magnetic stripe card and Contact Type Ic Card includes:
Main control unit, serial port driving unit, magnetic stripe card identification driver element, Contact Type Ic Card identification driver element, power supply Unit, indicating member;
The main control unit is the key control unit of card reader circuit, for realizing card reader circuit and computer, magnetic Communication between bar card and Contact Type Ic Card, the main control unit recognizes driver element, contacts with serial port driving unit, magnetic stripe card Formulas I C cards identification driver element, power subsystem, indicating member connection;
The serial port driving unit provides drive circuit and program to connect the serial ports of computer, and is main control unit and meter The communication of calculation machine provides interface;
The magnetic stripe card identification driver element is used to recognize magnetic stripe card, and is connect for magnetic stripe card is provided with the communication of main control unit Mouthful;
Contact Type Ic Card recognizes that driver element is used to recognize Contact Type Ic Card, and for Contact Type Ic Card is logical with main control unit Letter provides interface;
The power subsystem is used to connect USB interface, and USB interface is powered into line translation, and the power supply after conversion is defeated Enter to main control unit, by main control unit for other units are powered;
The indicating member is lamplight pointing and sound instruction, is entered for the state to identification magnetic stripe card or Contact Type Ic Card Row display, auditory tone cues is carried out to identification situation, and provides warning information sound, light alarm.
In another embodiment based on the above-mentioned compatible magnetic stripe card of the present invention and the card reader circuit of Contact Type Ic Card, institute Main control unit is stated for STM32F103 chips, TX, RX pin of the STM32F103 chips are connected with serial port unit, are that UART connects Mouthful, it to be responsible for and compunication, the BUZZER pins of the STM32F103 chips are connected with indicating member, are buzzer control Mouthful, LED_PWRON, LED_PRES pin of the STM32F103 chips are connected with indicating member, and respectively electricity refers on card Show lamp control mouth and card insertion beacon lamp control mouth, the CLK of the STM32F103 chips, RST, IO, PWRSRC, CMDVCC, OFF, is responsible for and Contact Type Ic Card and magnetic stripe cartoon letters.
In another embodiment based on the above-mentioned compatible magnetic stripe card of the present invention and the card reader circuit of Contact Type Ic Card, institute Stating serial port driving unit includes level shifting circuit, for driving the RS232 interfaces being connected with computer equipment, for computer Equipment communicates with main control unit, and the level shifting circuit is connected with RS232 interfaces and the main control unit, for regulating calculation Level between machine and main control unit, the interface conversion circuit includes SP3232 chips.
In another embodiment based on the above-mentioned compatible magnetic stripe card of the present invention and the card reader circuit of Contact Type Ic Card, institute Stating magnetic stripe card identification driver element includes SSTM093C double track magnetic heads, and the SSTM093C double tracks magnetic head is used to recognize, read magnetic Data message on bar card, and analog signal output is converted data to, master control is supplied after operational amplifier amplifies signal Unit reads.
In another embodiment based on the above-mentioned compatible magnetic stripe card of the present invention and the card reader circuit of Contact Type Ic Card, institute Stating Contact Type Ic Card identification driver element includes DS8113 contact type intelligent card interfaces, the DS8113 contact type intelligent card interfaces It is connected with main control unit, and for Contact Type Ic Card provides 3 PSIM draw-in grooves, for recognizing, reading the information in Contact Type Ic Card, And send to main control unit the information in Contact Type Ic Card, the DS8113 contact type intelligent card interfaces include the dynamic of low-power consumption Two kinds of mode of operations of morphotype formula and standby mode.
In another embodiment based on the above-mentioned compatible magnetic stripe card of the present invention and the card reader circuit of Contact Type Ic Card, institute Stating power subsystem includes voltage-stabilized power supply chip, and the power subsystem is powered by USB interface, and the voltage-stabilized power supply chip is used for will The electric energy of USB interface is transmitted to main control unit, and the 5V DC voltages that USB interface is provided are converted into 3.3V DC voltages, institute Voltage-stabilized power supply chip is stated for LM1117-3.3 voltage stabilizing chips.
In another embodiment based on the above-mentioned compatible magnetic stripe card of the present invention and the card reader circuit of Contact Type Ic Card, institute Stating indicating member includes lamplight pointing and sound instruction, and the lamplight pointing is LED, and the sound instruction is buzzer, institute State LED carries out color, LED display location, LED flicker frequency according to the mode of operation of card reader circuit, alarm situation Change, the buzzer carries out the change of sound in reading magnetic stripe card and Contact Type Ic Card success status;
When Contact Type Ic Card identification driver element insertion Contact Type Ic Card, if recognized successfully, Contact Type Ic Card LED Give a green light, buzzer ring a sound after stop, if identification is unsuccessful, Contact Type Ic Card LED sends out a warning, buzzer sound long until Contact Type Ic Card is exited, if main control unit is read in Contact Type Ic Card data or carries out data exchange, Contact Type Ic Card LED Flash green, data exchanging completed, LED green Chang Liang;
When magnetic stripe card identification driver element insertion magnetic stripe card, if recognized successfully, magnetic stripe card LED gives a green light, buzzing Device stops after ringing a sound, if identification is unsuccessful, magnetic stripe card LED sends out a warning, and buzzer sound long is exited up to magnetic stripe card, if Main control unit reads in magnetic stripe card and data or carries out data exchange, magnetic stripe card LED flash green, data exchanging completed, LED Green Chang Liang.
A kind of compatible magnetic stripe card and the card reader of Contact Type Ic Card that the embodiment of the present invention is also provided, including:Card reader connects Mouth and card reader circuit;
The card reader interface is used to connect computer, USB power source, Contact Type Ic Card, magnetic stripe card, be card reader circuit with Computer, Contact Type Ic Card, magnetic stripe card communicate and exchange data interface equipment, the card reader circuit is card reader Control circuit, for realizing reader identification Contact Type Ic Card, magnetic stripe card and reading its data, carries out the circuit list of data exchange Unit.
In another embodiment based on the above-mentioned compatible magnetic stripe card of the present invention and the card reader of Contact Type Ic Card, the reading Card device interface includes:
USB interface, RS232 serial ports, Contact Type Ic Card card reading interface, magnetic stripe card card reading interface;
The USB interface is used to connect USB power source, for being powered for card reader circuit;
The RS232 serial ports is used to connect computer, for the data transfer between card reader circuit and computer;
The Contact Type Ic Card card reading interface is used to insert Contact Type Ic Card, and is card reader circuit identification, reading, exchange The data of Contact Type Ic Card;
The magnetic stripe card card reading interface is used to insert magnetic stripe card and the magnetic stripe of magnetic stripe card is streaked into magnetic head, is known by magnetic head Not, the data for reading, exchanging in magnetic stripe card;
The RS232 serial ports is connected with the serial port driving unit, and the magnetic stripe card card reading interface is known with the magnetic stripe card Other driver element connection, the Contact Type Ic Card card reading interface is connected with Contact Type Ic Card identification driver element, the USB interface It is connected with the power subsystem.
In another embodiment based on the above-mentioned compatible magnetic stripe card of the present invention and the card reader of Contact Type Ic Card, the reading Card device circuit includes:
Main control unit, serial port driving unit, magnetic stripe card identification driver element, Contact Type Ic Card identification driver element, power supply Unit, indicating member;
The main control unit and serial port driving unit, magnetic stripe card identification driver element, Contact Type Ic Card identification driver element, Power subsystem, indicating member connection, the governor circuit include STM32F103 chips;
The main control unit is connected by serial port driving unit with the RS232 serial ports, for being computer equipment and master Control unit communication provides interface, and the serial port driving unit includes electrical level transferring chip, for regulating calculation machine and main control unit Between level, the electrical level transferring chip be SP3232 chips;
The main control unit recognizes that driver element is connected with the magnetic stripe card card reading interface by magnetic stripe card, for by magnetic stripe Information identification in card, read main control unit, the magnetic stripe card identification driver element includes SSTM093C double track magnetic heads;
The main control unit recognizes that driver element is connected with the Contact Type Ic Card card reading interface by Contact Type Ic Card, uses Information identification in by Contact Type Ic Card, main control unit is read, the Contact Type Ic Card identification driver element includes DS8113 contact type smart card chips;
The main control unit is connected by power subsystem with USB interface, and the 5V DC voltages for USB interface to be provided turn Change 3.3V DC voltages into, the power subsystem includes LM1117-3.3 voltage stabilizing chips;
The main control unit is connected by indicating member with the LED light, buzzer, is referred to by instructing control LED Show lamp, the light of buzzer shows and sound instruction.
The compatible magnetic stripe card and the card reader circuit and card reader of Contact Type Ic Card provided based on the above embodiment of the present invention Recognize that driver element, Contact Type Ic Card recognize driver element, power supply list by main control unit, serial port driving unit, magnetic stripe card Unit, the design of indicating member, enable card reader compatibility magnetic stripe card and Contact Type Ic Card, easily enter after connection computer equipment Row identification, reading, exchange magnetic stripe card and Contact Type Ic Card data, are powered by USB interface, make card reader be more convenient for using, and are led to Cross LED light and buzzer can intuitively remind information exchange state between card reader and card, card reader of the invention Efficiently, low cost, low-power consumption is easy to utilize.
Below by drawings and Examples, technical scheme is described in further detail.
Brief description of the drawings
The Description of Drawings embodiments of the invention of a part for specification are constituted, and together with description for explaining Principle of the invention.
Referring to the drawings, according to following detailed description, the present invention can be more clearly understood from, wherein:
Fig. 1 is the structural representation of card reader circuit one embodiment of compatible magnetic stripe card of the invention and Contact Type Ic Card Figure.
Fig. 2 is the main control unit circuit diagram of the card reader circuit of compatible magnetic stripe card of the invention and Contact Type Ic Card.
Fig. 3 is the serial port driving unit circuit diagram of the card reader circuit of compatible magnetic stripe card of the invention and Contact Type Ic Card.
Fig. 4 is the power unit circuit figure of the card reader circuit of compatible magnetic stripe card of the invention and Contact Type Ic Card.
Fig. 5 is the structural representation of the card reader of compatible magnetic stripe card of the invention and Contact Type Ic Card.
In figure:1 card reader interface, 11USB interfaces, 12RS232 serial ports, 13 Contact Type Ic Card card reading interfaces, 14 magnetic stripe cards Card reading interface, 2 card reader circuits, 21 main control units, 22 serial port driving units, 23 magnetic stripe cards identification driver element, 24 contacts IC-card identification driver element, 25 power subsystems, 26 indicating members
Specific embodiment
Describe various exemplary embodiments of the invention in detail now with reference to accompanying drawing.It should be noted that:Unless had in addition Body illustrates that the part and the positioned opposite of step, numerical expression and numerical value for otherwise illustrating in these embodiments do not limit this The scope of invention.
Simultaneously, it should be appreciated that for the ease of description, the size of the various pieces shown in accompanying drawing is not according to reality Proportionate relationship draw.
The description only actually at least one exemplary embodiment is illustrative below, never as to the present invention And its any limitation applied or use.
May be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable In the case of, the technology, method and apparatus should be considered as a part for specification.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it need not be further discussed in subsequent accompanying drawing.
Fig. 1 is the structural representation of card reader circuit one embodiment of compatible magnetic stripe card of the invention and Contact Type Ic Card Figure, as shown in figure 1, the card reader circuit of the compatible magnetic stripe card of the embodiment and Contact Type Ic Card includes:
Main control unit 21, serial port driving unit 22, magnetic stripe card identification driver element 23, Contact Type Ic Card identification driver element 24th, power subsystem 25, indicating member 26;
The main control unit 21 is the key control unit of card reader circuit, for realize card reader circuit and computer, Communication between magnetic stripe card and Contact Type Ic Card, the main control unit 21 drives single with the identification of serial port driving unit 22, magnetic stripe card Unit 23, Contact Type Ic Card recognizes that driver element 24, power subsystem 25, indicating member 26 are connected;
The serial port driving unit 22 provides drive circuit and program to connect the serial ports of computer, and is main control unit 21 Communication with computer provides interface;
The magnetic stripe card recognizes that driver element 23 is used to recognize magnetic stripe card, and for magnetic stripe card is carried with the communication of main control unit 21 For interface;
Contact Type Ic Card identification driver element 24 is used to recognize Contact Type Ic Card, and is Contact Type Ic Card and main control unit 21 Communication provide interface;
The power subsystem 25 is used to connect usb 11, and usb 11 is powered into line translation, after conversion Power input to main control unit 21, by main control unit 21 for other units are powered;
The indicating member 26 is lamplight pointing and sound instruction, for the state to identification magnetic stripe card or Contact Type Ic Card It has been shown that, auditory tone cues is carried out to identification situation, and sound, light alarm are provided warning information.
Fig. 2 is the main control unit circuit diagram of the card reader circuit of compatible magnetic stripe card of the invention and Contact Type Ic Card, such as Fig. 2 Shown, the main control unit 21 is STM32F103 chips, and STM32F103 chips use high performance ARM Cortex-M3 32 The RISC core of position, working frequency is 72MHz, and internal high-speed memories, memory includes:The flash memory and 20K words of 128K bytes The SRAM of section, I/O ports and 2 peripheral hardwares of APB buses are connected to enhancing, the ADC comprising 2 12,3 general 16 Timer and a PWM timer, also comprising 2 I2C interfaces and SPI interface, 3 USART interfaces, a USB interfaces and Individual CAN interface, the UART interface of STM32F103 chips can meet the communicating requirement between PC and system, and PWM functions expire Communicating requirement between sufficient terminal and magnetic stripe card and IC-card, TX, RX pin and serial port unit of the STM32F103 chips connect Connect, be responsible for main control unit 21 and compunication, the BUZZER pins of the STM32F103 chips are connected with indicating member 26, It is buzzer control mouth, LED_PWRON, LED_PRES pin of the STM32F103 chips are connected with indicating member 26, point Not Wei electric indicator lamp control mouth and card insertion beacon lamp control mouth on card, the CLK of the STM32F103 chips, RST, IO, PWRSRC, CMDVCC, OFF, are responsible for and Contact Type Ic Card and magnetic stripe cartoon letters.
Fig. 3 is the serial port driving unit circuit diagram of the card reader circuit of compatible magnetic stripe card of the invention and Contact Type Ic Card, As shown in figure 3, the serial port driving unit 22 includes level shifting circuit, because the UART interface of STM32F103 is TTL electricity Flat, serial ports of computers is RS232 level, so needing to carry out level conversion, the level shifting circuit is used to drive and calculate The RS232 interfaces 12 of machine equipment connection, communicate for computer equipment with main control unit, the level shifting circuit and RS232 Interface 12 and the main control unit 21 are connected, for the level between regulating calculation machine and main control unit 21, the interface conversion Circuit includes SP3232 chips.
The magnetic stripe card identification driver element 23 is used to for the data on magnetic stripe card to be converted to analog signal output, and passes through Faint analog signal is amplified corresponding multiple and is read for main control chip by operational amplifier, and magnetic head is substantially to be tied with winding wire The iron core of circle, the iron core is made up of a kind of soft magnetic materials of magnetic capacity high, and the magnetic stripe card identification driver element 23 includes SSTM093C double track magnetic heads, the SSTM093C double tracks magnetic head is used for the data message that recognizes, read on magnetic stripe card, and by data Analog signal output is converted to, is read for main control unit 21 after operational amplifier amplifies signal, the SSTM093C is double The rail magnetic head only thickness of 3.5mm, can meet the design requirement of structure, and its distribution capacity is small, therefore resonant frequency is very high, magnetic head impedance It is relatively low, therefore signal to noise ratio is high, with very strong antijamming capability, its DC impedance is 140 Ω, the milli of peak-to-peak value 20 of output signal Volt, operating temperature range is -20~65 DEG C.
The Contact Type Ic Card identification driver element 24 includes DS8113 contact type intelligent card interfaces, the DS8113 contacts Formula intelligent card interface is the AFE(analog front end) intelligent card reader of a low cost, low-power consumption, supports the contact of 5V, 3.3V and 1.8V Smart card, can select the dynamic mode and standby mode of low-power consumption, standby mode only to consume the standby current of 10nA, and It is designed with the interface and intelligent card interface with system, there is provided power supply, ESD protections necessary to Contact Type Ic Card application, it is described DS8113 contact type intelligent card interfaces are connected with main control unit 21, and for Contact Type Ic Card provides 3 PSIM draw-in grooves, for knowing Not, the information in Contact Type Ic Card is read, and the information in Contact Type Ic Card is sent to main control unit 21.
Fig. 4 is the power unit circuit figure of the card reader circuit of compatible magnetic stripe card of the invention and Contact Type Ic Card, such as Fig. 4 Shown, the power subsystem 25 includes voltage-stabilized power supply chip, and the power subsystem 25 is powered by usb 11, the voltage stabilizing Power supply chip is used to transmit the electric energy of usb 11 to main control unit 21, and the 5V DC voltages that usb 11 is provided turn Change 3.3V DC voltages into, the voltage-stabilized power supply chip is LM1117-3.3 voltage stabilizing chips.
The indicating member 26 includes lamplight pointing and sound instruction, and the lamplight pointing is LED, the sound instruction It is buzzer, the LED carries out color, LED display location, LED according to the mode of operation of card reader circuit, alarm situation Lamp flicker frequency changes, and the buzzer carries out the change of sound in reading magnetic stripe card and Contact Type Ic Card success status;
When the Contact Type Ic Card identification insertion Contact Type Ic Card of driver element 24, if recognized successfully, Contact Type Ic Card LED Lamp gives a green light, and buzzer stops after ringing a sound, if identification is unsuccessful, Contact Type Ic Card LED sends out a warning, and buzzer sound long is straight Exited to Contact Type Ic Card, if main control unit 21 is read in Contact Type Ic Card data or carries out data exchange, Contact Type Ic Card LED flash green, data exchanging completed, LED green Chang Liang;
When the magnetic stripe card identification insertion magnetic stripe card of driver element 23, if recognized successfully, magnetic stripe card LED gives a green light, honeybee Ring device stops after ringing a sound, if identification is unsuccessful, magnetic stripe card LED sends out a warning, and buzzer sound long is exited up to magnetic stripe card, such as Fruit main control unit 21 reads in magnetic stripe card and data or carries out data exchange, magnetic stripe card LED flash green, data exchanging completed, LED green Chang Liang.
Fig. 5 is the structural representation of the card reader of compatible magnetic stripe card of the invention and Contact Type Ic Card, as shown in figure 5, institute The card reader for stating compatible magnetic stripe card and Contact Type Ic Card includes:Card reader interface 1 and card reader circuit 2;
The card reader interface 1 is used to connect computer, USB power source, Contact Type Ic Card, magnetic stripe card, is card reader circuit With computer, Contact Type Ic Card, magnetic stripe card communicate and exchange data interface equipment, the card reader circuit 2 is Card Reader The control circuit of device, for realizing reader identification Contact Type Ic Card, magnetic stripe card and reading its data, carries out the electricity of data exchange Road unit.
The card reader interface 1 includes:
Usb 11, RS232 serial ports 12, Contact Type Ic Card card reading interface 13, magnetic stripe card card reading interface 14;
The usb 11 is used to connect USB power source, for being powered for card reader circuit 2;
The RS232 serial ports 12 is used to connect computer, for the data transfer between card reader circuit 2 and computer;
The Contact Type Ic Card card reading interface 13 is used to insert Contact Type Ic Card, and recognize for card reader circuit 2, read, Exchange the data of Contact Type Ic Card;
The magnetic stripe card card reading interface 14 is used to insert magnetic stripe card and the magnetic stripe of magnetic stripe card is streaked into magnetic head, by magnetic head Identification, the data for reading, exchanging in magnetic stripe card;
The RS232 serial ports 12 is connected with the serial port driving unit 22, the magnetic stripe card card reading interface 14 and the magnetic Bar card identification driver element 23 is connected, and the Contact Type Ic Card card reading interface 13 connects with Contact Type Ic Card identification driver element 24 Connect, the usb 11 is connected with the power subsystem 25.
The card reader circuit 2 includes:
Main control unit 21, serial port driving unit 22, magnetic stripe card identification driver element 23, Contact Type Ic Card identification driver element 24th, power subsystem 25, indicating member 26;
The main control unit 21 drives with identification driver element 23, the Contact Type Ic Card identification of serial port driving unit 22, magnetic stripe card Moving cell 24, power subsystem 25, indicating member 26 are connected, and the governor circuit 21 includes STM32F103 chips;
The main control unit 21 is connected by serial port driving unit 22 with the RS232 serial ports 12, for being set for computer The standby offer interface that communicated with main control unit 21, the serial port driving unit 22 includes electrical level transferring chip, for regulating calculation machine With the level between main control unit 21, the electrical level transferring chip is SP3232 chips;
The main control unit 21 recognizes that driver element 23 is connected with the magnetic stripe card card reading interface 14 by magnetic stripe card, is used for In the information identification in magnetic stripe card, reading main control unit 21, the magnetic stripe card identification driver element 23 includes SSTM093C Double track magnetic head;
The main control unit 21 recognizes driver element 24 and the Contact Type Ic Card card reading interface 13 by Contact Type Ic Card Connection, for it the information identification in Contact Type Ic Card, will read main control unit 21 in, the Contact Type Ic Card identification drives single Unit 24 includes DS8113 contact type smart card chips;
The main control unit 21 is connected by power subsystem 25 with usb 11, and the 5V for usb 11 to be provided is straight Stream voltage conversion includes LM1117-3.3 voltage stabilizing chips into 3.3V DC voltages, the power subsystem 25;
The main control unit 21 is connected by indicating member 26 with the LED light, buzzer, by instructing control LED light, the light of buzzer show and sound instruction.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and it The difference of its embodiment, same or analogous part cross-reference between each embodiment.For system embodiment For, because it is substantially corresponding with embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation Defend oneself bright.
Methods and apparatus of the present invention may be achieved in many ways.For example, can by software, hardware, firmware or Software, hardware, any combinations of firmware realize methods and apparatus of the present invention.The said sequence of the step of for methods described Order described in detail above is not limited to merely to illustrate, the step of the method for the present invention, it is special unless otherwise Do not mentionlet alone bright.Additionally, in certain embodiments, also the present invention can be embodied as recording program in the recording medium, these programs Including the machine readable instructions for realizing the method according to the invention.Thus, the present invention also covering storage is for performing basis The recording medium of the program of the method for the present invention.
Description of the invention is given for the sake of example and description, and is not exhaustively or by the present invention It is limited to disclosed form.Many modifications and variations are for the ordinary skill in the art obvious.Select and retouch State embodiment and be to more preferably illustrate principle of the invention and practical application, and one of ordinary skill in the art is managed The solution present invention is suitable to the various embodiments with various modifications of special-purpose so as to design.

Claims (10)

1. the card reader circuit of a kind of compatible magnetic stripe card and Contact Type Ic Card, it is characterised in that including:
Main control unit, serial port driving unit, magnetic stripe card identification driver element, Contact Type Ic Card identification driver element, power subsystem, Indicating member;
The main control unit is the key control unit of card reader circuit, for realizing card reader circuit and computer, magnetic stripe card Communication and Contact Type Ic Card between, the main control unit and serial port driving unit, magnetic stripe card identification driver element, contact IC Card identification driver element, power subsystem, indicating member connection;
The serial port driving unit provides drive circuit and program to connect the serial ports of computer, and is main control unit and computer Communication provide interface;
The magnetic stripe card recognizes that driver element is used to recognize magnetic stripe card, and for the communication of magnetic stripe card and main control unit provides interface;
Contact Type Ic Card recognizes that driver element is used to recognize Contact Type Ic Card, and for Contact Type Ic Card is carried with the communication of main control unit For interface;
The power subsystem is used to connect USB interface, and USB interface is powered into line translation, and the power input after conversion is arrived Main control unit, by main control unit for other units are powered;
The indicating member is lamplight pointing and sound instruction, is shown for the state to identification magnetic stripe card or Contact Type Ic Card Show, auditory tone cues is carried out to identification situation, and sound, light alarm are provided warning information.
2. card reader circuit according to claim 1, it is characterised in that the main control unit is STM32F103 chips, institute TX, RX pin for stating STM32F103 chips are connected with serial port unit, are UART interface, are responsible for and compunication, described The BUZZER pins of STM32F103 chips are connected with indicating member, are buzzer control mouth, the STM32F103 chips LED_PWRON, LED_PRES pin are connected with indicating member, and electric indicator lamp control mouth and card insertion refer to respectively on card Beacon light control mouth, CLK, RST, IO, PWRSRC, CMDVCC, OFF of the STM32F103 chips, be responsible for Contact Type Ic Card and Magnetic stripe cartoon letters.
3. card reader circuit according to claim 1, it is characterised in that the serial port driving unit includes level conversion electricity Road, for driving the RS232 interfaces being connected with computer equipment, communicates for computer equipment with main control unit, the level Change-over circuit is connected with RS232 interfaces and the main control unit, described for the level between regulating calculation machine and main control unit Interface conversion circuit includes SP3232 chips.
4. card reader circuit according to claim 1, it is characterised in that the magnetic stripe card identification driver element includes SSTM093C double track magnetic heads, the SSTM093C double tracks magnetic head is used for the data message that recognizes, read on magnetic stripe card, and by data Analog signal output is converted to, is read for main control unit after operational amplifier amplifies signal.
5. card reader circuit according to claim 1, it is characterised in that the Contact Type Ic Card identification driver element includes DS8113 contact type intelligent card interfaces, the DS8113 contact type intelligent card interfaces are connected with main control unit, and are contact IC Card provides 3 PSIM draw-in grooves, for recognizing, reading the information in Contact Type Ic Card, and the information in Contact Type Ic Card is sent To main control unit, the DS8113 contact type intelligent card interfaces include two kinds of Working moulds of dynamic mode and standby mode of low-power consumption Formula.
6. card reader circuit according to claim 1, it is characterised in that the power subsystem includes voltage-stabilized power supply chip, The power subsystem is powered by USB interface, and the voltage-stabilized power supply chip is used to transmit the electric energy of USB interface to master control list Unit, and the 5V DC voltages that USB interface is provided are converted into 3.3V DC voltages, the voltage-stabilized power supply chip is LM1117-3.3 Voltage stabilizing chip.
7. card reader circuit according to claim 1, it is characterised in that the indicating member includes lamplight pointing and sound Indicate, the lamplight pointing is LED, the sound instruction is buzzer, Working mould of the LED according to card reader circuit Formula, alarm situation carry out color, LED display location, LED flicker frequency change, the buzzer read magnetic stripe card and Contact Type Ic Card success status carry out the change of sound;
When Contact Type Ic Card identification driver element insertion Contact Type Ic Card, if recognized successfully, Contact Type Ic Card LED BG Lamp, buzzer stops after ringing a sound, if identification is unsuccessful, Contact Type Ic Card LED sends out a warning, and buzzer sound long is until contact Formulas I C cards are exited, if main control unit is read in Contact Type Ic Card data or carries out data exchange, Contact Type Ic Card LED green It is glittering, data exchanging completed, LED green Chang Liang;
When magnetic stripe card identification driver element insertion magnetic stripe card, if recognized successfully, magnetic stripe card LED gives a green light, and buzzer rings Stop after one sound, if identification is unsuccessful, magnetic stripe card LED sends out a warning, buzzer sound long is exited up to magnetic stripe card, if master control Unit reads in magnetic stripe card and data or carries out data exchange, magnetic stripe card LED flash green, data exchanging completed, LED green Chang Liang.
8. the card reader of a kind of compatible magnetic stripe card and Contact Type Ic Card, it is characterised in that including:
Card reader interface and card reader circuit;
The card reader interface is used to connect computer, USB power source, Contact Type Ic Card, magnetic stripe card, is card reader circuit and calculating Machine, Contact Type Ic Card, magnetic stripe card communicate and exchange data interface equipment, the card reader circuit is the control of card reader Circuit, for realizing reader identification Contact Type Ic Card, magnetic stripe card and reading its data, carries out the circuit unit of data exchange.
9. card reader as claimed in claim 8, it is characterised in that the card reader interface includes:
USB interface, RS232 serial ports, Contact Type Ic Card card reading interface, magnetic stripe card card reading interface;
The USB interface is used to connect USB power source, for being powered for card reader circuit;
The RS232 serial ports is used to connect computer, for the data transfer between card reader circuit and computer;
The Contact Type Ic Card card reading interface is used to insert Contact Type Ic Card, and is card reader circuit identification, reading, exchange contact The data of Formulas I C cards;
The magnetic stripe card card reading interface is used to insert magnetic stripe card and the magnetic stripe of magnetic stripe card is streaked into magnetic head, recognized by magnetic head, The data for reading, exchanging in magnetic stripe card;
The RS232 serial ports is connected with the serial port driving unit, and the magnetic stripe card card reading interface is recognized with the magnetic stripe card and driven Moving cell is connected, and the Contact Type Ic Card card reading interface and Contact Type Ic Card recognize that driver element is connected, the USB interface and institute State power subsystem connection.
10. card reader as claimed in claim 8, it is characterised in that the card reader circuit includes:
Main control unit, serial port driving unit, magnetic stripe card identification driver element, Contact Type Ic Card identification driver element, power subsystem, Indicating member;
The main control unit and serial port driving unit, magnetic stripe card identification driver element, Contact Type Ic Card identification driver element, power supply Unit, indicating member connection, the governor circuit include STM32F103 chips;
The main control unit is connected by serial port driving unit with the RS232 serial ports, for being computer equipment and master control list Unit's communication provides interface, and the serial port driving unit includes electrical level transferring chip, between regulating calculation machine and main control unit Level, the electrical level transferring chip be SP3232 chips;
The main control unit recognizes that driver element is connected with the magnetic stripe card card reading interface by magnetic stripe card, for by magnetic stripe card Information identification, read main control unit, the magnetic stripe card identification driver element includes SSTM093C double track magnetic heads;
The main control unit recognizes that driver element is connected with the Contact Type Ic Card card reading interface by Contact Type Ic Card, for inciting somebody to action Information identification in Contact Type Ic Card, read main control unit, the Contact Type Ic Card identification driver element includes DS8113 Contact type smart card chip;
The main control unit is connected by power subsystem with USB interface, and the 5V DC voltages for USB interface to be provided are converted into 3.3V DC voltages, the power subsystem includes LM1117-3.3 voltage stabilizing chips;
The main control unit is connected by indicating member with the LED light, buzzer, by instruct control LED light, The light of buzzer shows and sound instruction.
CN201710026548.7A 2017-01-14 2017-01-14 The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card Pending CN106778404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710026548.7A CN106778404A (en) 2017-01-14 2017-01-14 The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710026548.7A CN106778404A (en) 2017-01-14 2017-01-14 The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card

Publications (1)

Publication Number Publication Date
CN106778404A true CN106778404A (en) 2017-05-31

Family

ID=58946630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710026548.7A Pending CN106778404A (en) 2017-01-14 2017-01-14 The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card

Country Status (1)

Country Link
CN (1) CN106778404A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460682A (en) * 2018-11-14 2019-03-12 江苏恒宝智能系统技术有限公司 A kind of smart card and its implementation
CN111858426A (en) * 2020-06-05 2020-10-30 深圳市共济科技股份有限公司 Electronic tag reading and writing system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010016697A (en) * 1999-08-02 2001-03-05 김정태 Card reader
CN2562257Y (en) * 2002-08-19 2003-07-23 上海良标智能终端股份有限公司 Contact two functional reading and recording device for IC card and magnetic card
CN1790365A (en) * 2004-12-15 2006-06-21 日本电产三协株式会社 Card reader
CN205068456U (en) * 2015-10-27 2016-03-02 深圳品创兴科技有限公司 Three blocks of a finance read write line
CN206849025U (en) * 2017-01-14 2018-01-05 广州中大微电子有限公司 The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010016697A (en) * 1999-08-02 2001-03-05 김정태 Card reader
CN2562257Y (en) * 2002-08-19 2003-07-23 上海良标智能终端股份有限公司 Contact two functional reading and recording device for IC card and magnetic card
CN1790365A (en) * 2004-12-15 2006-06-21 日本电产三协株式会社 Card reader
CN205068456U (en) * 2015-10-27 2016-03-02 深圳品创兴科技有限公司 Three blocks of a finance read write line
CN206849025U (en) * 2017-01-14 2018-01-05 广州中大微电子有限公司 The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460682A (en) * 2018-11-14 2019-03-12 江苏恒宝智能系统技术有限公司 A kind of smart card and its implementation
CN111858426A (en) * 2020-06-05 2020-10-30 深圳市共济科技股份有限公司 Electronic tag reading and writing system and method

Similar Documents

Publication Publication Date Title
US7430674B2 (en) Magnetic stripe reader with power management control for attachment to a PDA device
US6944782B2 (en) Magnetic strip reader with power management control for attachment to a PDA device
US20010000405A1 (en) Apparatus and method of providing a dual mode card and reader
TW200426671A (en) Multi-interface auto-switching circuit and memory device having the same
WO2016023496A1 (en) Electronic business card information exchanging method and device
CN106778404A (en) The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card
CN205375487U (en) Multi -function IC card
CN206849025U (en) The card reader circuit and card reader of compatible magnetic stripe card and Contact Type Ic Card
CN201203873Y (en) High-performance double-interface card reader
CN201322962Y (en) Mobile pos terminal equipment
CN104239941B (en) A kind of identification card
CN201892962U (en) Multifunctional integrated reading-writing equipment for bank counter
CN207529409U (en) The identification card and RF system of low-power consumption
CN202049561U (en) Financial IC (integrated circuit) card terminal
CN111858426B (en) Electronic tag reading and writing system and method
CN206460468U (en) A kind of three-in-one Table top type read write line
CN207182569U (en) A kind of POS terminal system
CN2884333Y (en) Three cards combined into one type cards reader
CN207799724U (en) The multiplex roles electronic tag of CAN bus communication guide rail can be embedded in
CN106778405A (en) A kind of card reader of compatible contact and non-contact IC card
CN206711102U (en) A kind of card reader for the Contact Type Ic Card for being embedded in safe module
CN1218268C (en) Conversion method for double interface IC card contact type/non-contact type working mode
CN2434738Y (en) Intelligent card safety identifying device
CN205507837U (en) IC -card that can supplement with money
CN102567748B (en) Multifunctional integrated read-write equipment on bank counter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531