CN108171811A - A kind of stereo garage RFID card charge, receipt printing system - Google Patents

A kind of stereo garage RFID card charge, receipt printing system Download PDF

Info

Publication number
CN108171811A
CN108171811A CN201810028591.1A CN201810028591A CN108171811A CN 108171811 A CN108171811 A CN 108171811A CN 201810028591 A CN201810028591 A CN 201810028591A CN 108171811 A CN108171811 A CN 108171811A
Authority
CN
China
Prior art keywords
card
module
data
rfid
thermal printer
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
CN201810028591.1A
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.)
Anhui University of Science and Technology
Original Assignee
Anhui University of Science and Technology
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 Anhui University of Science and Technology filed Critical Anhui University of Science and Technology
Priority to CN201810028591.1A priority Critical patent/CN108171811A/en
Publication of CN108171811A publication Critical patent/CN108171811A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1292Mobile client, e.g. wireless printing
    • 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/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer

Abstract

The invention discloses a kind of charge of stereo garage RFID card, receipt printing system, which includes:STM32 core board modules can receive RFID induction modules transmission data and return to processing data;RFID induction modules, for non-contact communication manners and agreement, the read-write capability of high integration in communication identifies IC card and magnet ring module, reads and send corresponding data to IC card and magnet ring module;Bluetooth module for solving the wireless communication mode of thermal printer, connects data transmission between microcontroller and thermal printer;For the printing of parking fee receipt, the data-printing that microcontroller transmits is come out for thermal printer module;IC card and magnet ring module for sending and receiving for user storage data, are supplemented with money using RFID induction modules.The beneficial effects of the invention are as follows:Whole system does not need to computer during normal work, it is only necessary to which a slight microcontroller, which carrys out control value, swipes the card and supplement charge and receipt wireless printing with money and operate, at low cost, light compact to be conducive to carry.

Description

A kind of stereo garage RFID card charge, receipt printing system
Technical field
The present invention relates to the Car park payment of life neutral body garage parking, swipe the card, print receipt field, specially a kind of stereoscopic vehicle Library RFID card charge, receipt printing system.
Background technology
It is various each to be filled with bank card, CUSTOM HOUSE HOTEL, parking card, purchase card, mass transit card etc. in people’s lives for current society The card of sample, it may be said that be stuck in indispensable in modern people's life.Its is easy to use for cacaine, and payment is quick, it is simple to handle The advantages that bring great convenience to user, such as mass transit card, CUSTOM HOUSE HOTEL, student card, parking card consumption card.
A kind of voucher of the receipt as consumption is conducive to personal or unit financial process, spread all over each emporium with In small shop or other economies.And thermal printing is because its print speed is fast, low noise, printing is clear, it is easy to use the advantages that, It is widely used in the printing of receipt.But existing thermal printer will be depended on and be printed with computer, cost It is also inconvenient that high, equipment volume carries greatly, for the economy of flowing.And the RFID the present invention relates to a kind of STM32 controls stops Vehicle card charging system, supplementing with money and collecting for Parking Fee, while the wireless thermal printing system of bluetooth is used, do not calculate Machine can also thermal printing receipt, greatly reduce financial cost, also significantly reduce volume and weight, it is easy to carry.
Invention content
(1) technical problems to be solved
The technical problem to be solved by the present invention is to:
Break away from computer control, by during the Car park payment of chip microcontroller stereo garage using swipe the card supplement with money charge with The operations such as receipt wireless printing, it is at low cost, light compact conducive to carrying.
(2) technical solution
To solve the above-mentioned problems, the present invention provides a kind of charge of stereo garage RFID card, receipt printing system, this is System includes:
STM32 core board modules can receive RFID induction modules transmission data and return to processing data, when realizing RTC Clock timing returns to garage down time, and passes through the transmission that bluetooth module carries out thermal printer module data;
RFID induction modules, for non-contact communication manners and agreement, the read-write capability of high integration in communication identifies IC Card and magnet ring module read and send corresponding data to IC card and magnet ring module, and send and receive data to one-chip computer module;
Bluetooth module for solving the wireless communication mode of thermal printer, is connected between microcontroller and thermal printer Data transmission;
For the printing of parking fee receipt, the data-printing that microcontroller transmits is come out for thermal printer module;
IC card and magnet ring module for sending and receiving for user storage data, are supplemented with money using RFID induction modules;
The STM32 core board modules specifically include:
RTC clock unit, for swiping the card for the first time, microcontroller RTC clock starts timing, when secondary brush is opened, passes through RTC clock Calculate swipe the card twice interlude, i.e. down time.
Data receipt unit for receiving the data sent out in RFID induction modules, carries out it to supplement processing with money, separately It is outer that Parking Fee is calculated according to unit price, the corresponding Parking Fee of RFID card is read, and cut and charge;
Data transmission unit stores number for the garage down time difference fee charged for calculating RTC clock and user Thermal printer is sent to according to by bluetooth.
The RFID induction modules specifically include:
MF522-AN modules design card reading circuit using Philips MFRC522 chips, and module uses voltage as 3.3V, lead to Crossing the simple several lines of SPI interface can directly be connected communication with any cpu motherboard of user, it is ensured that module stability can The work leaned on, Card Reader distance are remote;
MF RC522 are the read-write card chips for being applied to high integration in 13.56MHz contactless communications, are utilized advanced Modulation and demodulation concept, be integrated with all types of passive contactless communication modes and agreement at 13.56 mhz, support 14443A is compatible with answer signal, numerical portion processing ISO14443A frames and error detection, supports quick CRYPTO1 Encryption Algorithm, For verifying MIFARE series of products, MFRC522 supports the contactless communication of MIFARE series higher speeds, bidirectional data transfers Rate is up to 424kbit/s.
The bluetooth module is bluetooth module of the HC-05 types without button, needs to enter AT instruction moulds to high level on KEY Formula, four pins, respectively TXD pins, RXD pins, VCC pin and GND pin.
TXD pins meet the RXD in STM32;
RXD pins meet the TXD in STM32;
VCC pin meets the 3.3V in STM32;
GND pin meets the GND in STM32.
The thermal printer module is XP-58IIH thermal printers, and 58 integral type temperature-sensitive bill printers are supported double Module, double software printings, power supply, fuselage integration save space, support simplified and a variety of International Languages, USB/USB+ Bluetooth interfaces.
The IC card and magnet ring module are made of a winding antenna and application-specific IC module, and module is by one The RF interfaces of (106KB baud rates) at a high speed, a control unit and a 8K EEPROM composition.Reader is sent out to MF1 cards The electromagnetic wave of one group of fixed frequency (13.56MHZ), card is interior there are one LC series resonant circuits, and frequency emits with reader Frequency it is identical, under the excitation of electromagnetic wave, LC resonance circuit generate resonance, so as to make have charge in resonant capacitance, at this The other end of a capacitance connects the electronic pump there are one one-way conduction, the charge in capacitance is sent in module storage capacitance and is stored, When the charge accumulated reaches more than 2V, this capacitance can be used as power supply to provide operating voltage to modular circuit, by data in card Launch or receive the data of reader.
(3) advantageous effect
Whole system does not need to computer during normal work, it is only necessary to which a slight microcontroller carrys out control value brush Card is supplemented charge with money and is operated with receipt wireless printing, at low cost, light compact conducive to carrying, and has good development prospect.
Description of the drawings
Fig. 1 is a kind of stereo garage RFID card charge of the present invention, the receipt printing block diagram of system;
Fig. 2 is a kind of stereo garage RFID card charge of the present invention, receipt printing working-flow figure.
Specific embodiment
It is further elaborated below in conjunction with the accompanying drawings and to the specific embodiment of the invention.Following embodiment is used to illustrate The present invention, but it is not limited to the scope of the present invention.
Referring to Fig. 1, a kind of stereo garage RFID card of the invention charge, receipt printing system, including:STM32 core boards Module can receive RFID induction modules transmission data and return to processing data, realize RTC clock timing, return to garage parking Time, and pass through the transmission that bluetooth module carries out thermal printer module data;
RFID induction modules, for non-contact communication manners and agreement, the read-write capability of high integration in communication identifies IC Card and magnet ring module read and send corresponding data to IC card and magnet ring module, and send and receive data to one-chip computer module;
Bluetooth module for solving the wireless communication mode of thermal printer, is connected between microcontroller and thermal printer Data transmission;
For the printing of parking fee receipt, the data-printing that microcontroller transmits is come out for thermal printer module;
IC card and magnet ring module for sending and receiving for user storage data, are supplemented with money using RFID induction modules;
The STM32 core board modules specifically include:
RTC clock unit, for swiping the card for the first time, microcontroller RTC clock starts timing, when secondary brush is opened, passes through RTC clock Calculate swipe the card twice interlude, i.e. down time.
Data receipt unit for receiving the data sent out in RFID induction modules, carries out it to supplement processing with money, separately It is outer that Parking Fee is calculated according to unit price, the corresponding Parking Fee of RFID card is read, and cut and charge;
Data transmission unit stores number for the garage down time difference fee charged for calculating RTC clock and user Thermal printer is sent to according to by bluetooth.
The RFID induction modules specifically include:
MF522-AN modules design card reading circuit using Philips MFRC522 chips, and module uses voltage as 3.3V, lead to Crossing the simple several lines of SPI interface can directly be connected communication with any cpu motherboard of user, it is ensured that module stability can The work leaned on, Card Reader distance are remote;
MF RC522 are the read-write card chips for being applied to high integration in 13.56MHz contactless communications, are utilized advanced Modulation and demodulation concept, be integrated with all types of passive contactless communication modes and agreement at 13.56 mhz, support 14443A is compatible with answer signal, numerical portion processing ISO14443A frames and error detection, supports quick CRYPTO1 Encryption Algorithm, For verifying MIFARE series of products, MFRC522 supports the contactless communication of MIFARE series higher speeds, bidirectional data transfers Rate is up to 424kbit/s.
The bluetooth module is bluetooth module of the HC-05 types without button, needs to enter AT instruction moulds to high level on KEY Formula, four pins, respectively TXD pins, RXD pins, VCC pin and GND pin.
TXD pins meet the RXD in STM32;
RXD pins meet the TXD in STM32;
VCC pin meets the 3.3V in STM32;
GND pin meets the GND in STM32.
The thermal printer module is XP-58IIH thermal printers, and 58 integral type temperature-sensitive bill printers are supported double Module, double software printings, power supply, fuselage integration save space, support simplified and a variety of International Languages, USB/USB+ Bluetooth interfaces.
The IC card and magnet ring module are made of a winding antenna and application-specific IC module, and module is by one The RF interfaces of (106KB baud rates) at a high speed, a control unit and a 8K EEPROM composition.Reader is sent out to MF1 cards The electromagnetic wave of one group of fixed frequency (13.56MHZ), card is interior there are one LC series resonant circuits, and frequency emits with reader Frequency it is identical, under the excitation of electromagnetic wave, LC resonance circuit generate resonance, so as to make have charge in resonant capacitance, at this The other end of a capacitance connects the electronic pump there are one one-way conduction, the charge in capacitance is sent in module storage capacitance and is stored, When the charge accumulated reaches more than 2V, this capacitance can be used as power supply to provide operating voltage to modular circuit, by data in card Launch or receive the data of reader.
Referring to Fig. 2, a kind of stereo garage RFID card of the invention charge, receipt printing system are operated according to following steps:
When user stops automobile into stereo garage, IC card and magnet ring module are carried out for the first time with RFID induction modules close to sense Should, RFID induction modules are in card seeking state, find the standard card for belonging to 14443A, RFID induction modules are to IC card and magnet ring mould Block is identified, and carries out anti-collision detection, selectes card, and authentication secret reads user information data, while RFID induction modules To STM32 single-chip minimum system module transmission datas, 1 first three byte of STM32 single-chip minimum system module indexes data block Data, and carry out judging whether the first byte is 0, it is 0 to sense the first byte for the first time, current time under RTC clock unit record, And 1 is write to the first byte, wait for second of the sensing of IC card and magnet ring module.
When automobile is taken out stereo garage by user, IC card and magnet ring module are leaned on for the second time with RFID induction modules Near-induction, RFID induction modules continually look for the standard card for belonging to 14443A, carry out anti-collision detection again, select card, test Key is demonstrate,proved, reads user information data, STM32 single-chip minimum systems receive signal at this time, judge the first byte of data block Whether it is 0, the first byte is 1 at this time, then RTC clock unit records current time again, and calculating records time difference, root twice It is calculated according to Car park payment unit price, calculates user's residue remaining sum value, balance amount information is sent to IC card and magnet ring module, then Bluetooth module carries out receipts rope, sets format printer, data are sent to thermal printer module by bluetooth module, complete to stop The print procedure of vehicle receipt.
It is obvious to a person skilled in the art that the present invention is not limited to the details of above-mentioned exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requirement rather than above description limit, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation is included within the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.
In addition, it should be understood that although this specification is described in terms of embodiments, but not each embodiment is only wrapped Containing an independent technical solution, this description of the specification is merely for the sake of clarity, and those skilled in the art should It considers the specification as a whole, the technical solutions in each embodiment can also be properly combined, forms those skilled in the art The other embodiment being appreciated that.

Claims (6)

1. a kind of stereo garage RFID card charge, receipt printing system, which is characterized in that the system includes:
STM32 core board modules can receive RFID induction modules transmission data and return to processing data, realize RTC clock meter When, garage down time is returned to, and pass through the transmission that bluetooth module carries out thermal printer module data;
RFID induction modules, for non-contact communication manners and agreement, the read-write capability of high integration in communication, identify IC card and Magnet ring module reads and sends corresponding data to IC card and magnet ring module, and sends and receives data to one-chip computer module;
Bluetooth module for solving the wireless communication mode of thermal printer, connects data between microcontroller and thermal printer Transmission;
For the printing of parking fee receipt, the data-printing that microcontroller transmits is come out for thermal printer module;
IC card and magnet ring module for sending and receiving for user storage data, are supplemented with money using RFID induction modules.
2. a kind of stereo garage RFID card charge according to claim 1, receipt printing system, it is characterised in that:It is described STM32 core board modules include:
RTC clock unit, for swiping the card for the first time, microcontroller RTC clock starts timing, when secondary brush is opened, is calculated by RTC clock It swipes the card twice interlude, i.e. down time;
Data receipt unit for receiving the data sent out in RFID induction modules, carries out it to supplement processing with money, in addition root Parking Fee is calculated according to unit price, reads the corresponding Parking Fee of RFID card, and cut and charge;
Data transmission unit, garage down time difference fee charged and user storage data for RTC clock to be calculated are led to It crosses bluetooth and is sent to thermal printer.
3. a kind of stereo garage RFID card charge according to claim 1, receipt printing system, it is characterised in that:It is described RFID induction modules:MF522-AN modules using Philips MFRC522 chips design card reading circuit, module use voltage for 3.3V, is directly connected communication by the simple several lines of SPI interface with any cpu motherboard of user, and guarantee module stability is reliable Work, Card Reader distance it is remote;
MF RC522 are the read-write card chips for being applied to high integration in 13.56MHz contactless communications, and advanced tune is utilized System and demodulation concept, are integrated with all types of passive contactless communication modes and agreement at 13.56 mhz, support 14443A is compatible with answer signal, numerical portion processing ISO14443A frames and error detection, supports quick CRYPTO1 Encryption Algorithm, For verifying MIFARE series of products, MFRC522 supports the contactless communication of MIFARE series higher speeds, bidirectional data transfers Rate is up to 424kbit/s.
4. a kind of stereo garage RFID card charge according to claim 1, receipt printing system, it is characterised in that:It is described Bluetooth module is HC-05 types without the bluetooth module of button, needs to enter AT instruction modes to high level on KEY, four pins, Respectively TXD pins, RXD pins, VCC pin and GND pin;
TXD pins meet the RXD in STM32;
RXD pins meet the TXD in STM32;
VCC pin meets the 3.3V in STM32;
GND pin meets the GND in STM32.
5. a kind of stereo garage RFID card charge according to claim 1, receipt printing system, it is characterised in that:It is described Thermal printer module is XP-58IIH thermal printers, and 58 integral type temperature-sensitive bill printers support Dual module, and double softwares are beaten Print, power supply, fuselage integration, saves space, supports simplified and a variety of International Languages, USB/USB+Bluetooth interfaces.
6. a kind of stereo garage RFID card charge according to claim 1, receipt printing system, it is characterised in that:It is described IC card and magnet ring module are made of a winding antenna and application-specific IC module, and module is by a 106KB baud rates RF interfaces, a control unit and a 8K EEPROM composition;Reader sends out one group of fixed frequency to MF1 cards The electromagnetic wave of 13.56MHZ, card is interior, and there are one LC series resonant circuits, and frequency is identical with the frequency that reader emits, in electricity Under the excitation of magnetic wave, LC resonance circuit generates resonance, so as to make have charge in resonant capacitance, in the other end of this capacitance, The electronic pump there are one one-way conduction is connect, the charge in capacitance is sent in module storage capacitance and is stored, when the charge accumulated When reaching more than 2V, this capacitance can be used as power supply to provide operating voltage to modular circuit, and data in card are launched or received The data of reader.
CN201810028591.1A 2018-01-12 2018-01-12 A kind of stereo garage RFID card charge, receipt printing system Pending CN108171811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810028591.1A CN108171811A (en) 2018-01-12 2018-01-12 A kind of stereo garage RFID card charge, receipt printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810028591.1A CN108171811A (en) 2018-01-12 2018-01-12 A kind of stereo garage RFID card charge, receipt printing system

Publications (1)

Publication Number Publication Date
CN108171811A true CN108171811A (en) 2018-06-15

Family

ID=62514465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810028591.1A Pending CN108171811A (en) 2018-01-12 2018-01-12 A kind of stereo garage RFID card charge, receipt printing system

Country Status (1)

Country Link
CN (1) CN108171811A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814150A (en) * 2009-12-18 2010-08-25 中外合资南京富士通计算机设备有限公司 Portable thermosensitive printing device and card reading method
KR200450175Y1 (en) * 2009-10-15 2010-09-08 주식회사 아이온뱅크 A credit-card settlement device for taxi fare
CN203038371U (en) * 2012-10-25 2013-07-03 四川九洲视讯科技有限责任公司 Hand-held parking meter parking charging device
CN105139457A (en) * 2015-08-26 2015-12-09 蒙敏雪 Parking lot intelligent charge system capable of printing charge ticket
CN204946116U (en) * 2015-07-17 2016-01-06 河南爱泊智能车库有限公司 A kind of wireless POS machine system being applied to lift-sliding multi-storied garage
CN205680307U (en) * 2016-06-17 2016-11-09 三峡大学 A kind of large parking lot intelligent management system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200450175Y1 (en) * 2009-10-15 2010-09-08 주식회사 아이온뱅크 A credit-card settlement device for taxi fare
CN101814150A (en) * 2009-12-18 2010-08-25 中外合资南京富士通计算机设备有限公司 Portable thermosensitive printing device and card reading method
CN203038371U (en) * 2012-10-25 2013-07-03 四川九洲视讯科技有限责任公司 Hand-held parking meter parking charging device
CN204946116U (en) * 2015-07-17 2016-01-06 河南爱泊智能车库有限公司 A kind of wireless POS machine system being applied to lift-sliding multi-storied garage
CN105139457A (en) * 2015-08-26 2015-12-09 蒙敏雪 Parking lot intelligent charge system capable of printing charge ticket
CN205680307U (en) * 2016-06-17 2016-11-09 三峡大学 A kind of large parking lot intelligent management system

Similar Documents

Publication Publication Date Title
EP2135359A1 (en) Performing contactless applications in battery off mode
WO2013039395A1 (en) Active matrix display smart card
CN101567103A (en) Mobile device integrating electronic commerce information and method for carrying out transaction by using same
CN101814150B (en) Portable thermosensitive printing device and card reading method
CN201689448U (en) Intelligent card
CN205656714U (en) New forms of energy electric automobile fills electric pile expense non -contact credit card settlement device that charges
CN105512716A (en) Multifunctional IC card
CN102376206A (en) Passenger ticket using reflective display screen
CN205354084U (en) Multi -function IC card
CN108171811A (en) A kind of stereo garage RFID card charge, receipt printing system
CN100543786C (en) A kind of stored value card and electronic money transfer method thereof
CN102427500A (en) Intelligent terminal for newspaper kiosk and cellular phone recharging method
US20090146776A1 (en) Communication system, information processing method, and program product
CN208689606U (en) A kind of one chip on board unit
CN201662815U (en) Portable thermosensitive printing equipment
CN202257651U (en) Passenger ticket
CN201322960Y (en) Charge POS machine used for printer/ duplicating machine
KR20060120747A (en) The traffic card and settlement method which uses the usb and the rfid-chip
CN208654859U (en) A kind of integrated monolithic formula mobile unit
CN208367741U (en) A kind of vehicle-mounted consumption terminal device of IC card with recognition function
CN103164719A (en) System and method for multi-type intelligent card safe reading and writing
CN202475587U (en) Newsstand intelligent terminal
CN102385713B (en) Chip bank card and use its mobile phone
CN201449614U (en) Multimode card reader
CN209514697U (en) A kind of on board unit applied to highway

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180615