CN114662505A - RFID (radio frequency identification) rapid coding system - Google Patents
RFID (radio frequency identification) rapid coding system Download PDFInfo
- Publication number
- CN114662505A CN114662505A CN202210283659.7A CN202210283659A CN114662505A CN 114662505 A CN114662505 A CN 114662505A CN 202210283659 A CN202210283659 A CN 202210283659A CN 114662505 A CN114662505 A CN 114662505A
- Authority
- CN
- China
- Prior art keywords
- rfid
- rfid card
- mcu
- module
- data
- 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
Links
- 238000004891 communication Methods 0.000 claims abstract description 19
- 230000002159 abnormal effect Effects 0.000 claims abstract description 8
- 238000001514 detection method Methods 0.000 claims abstract description 7
- 101000741965 Homo sapiens Inactive tyrosine-protein kinase PRAG1 Proteins 0.000 claims abstract description 5
- 102100038659 Inactive tyrosine-protein kinase PRAG1 Human genes 0.000 claims abstract description 5
- 230000006641 stabilisation Effects 0.000 claims description 3
- 238000011105 stabilization Methods 0.000 claims description 3
- 238000010276 construction Methods 0.000 abstract description 13
- 238000007689 inspection Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0008—General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
Landscapes
- Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an RFID (radio frequency identification) rapid coding system, which comprises a communication environment building module, wherein a VCC (voltage continuity) and a GND (ground) voltage) of 5V/3.3V are required to be shared between an RFID chip and an MCU (microprogrammed control unit), an external LDO (low dropout regulator) is used for providing a power supply, and an RFID card is communicated with a terminal through NFC; the system self-checking module checks whether each functional interface is abnormal, and lights a warning if the functional interface is abnormal; the power-on detection module is used for powering on the RFID card by the MCU and performing polling reading operation on the RFID card through an I2C channel; the communication addressing module is used for enabling the RFID card not to respond to the polling reading operation of the MCU when the RFID card does not acquire data through the NFC of the terminal, namely, the RFID card returns NACK for addressing of the address of the RFID card; and the instruction response module is used for sending data to the RFID card through the NFC channel at the system terminal, and the RFID card does not immediately return a 0x9000 response after receiving the data. The invention carries out coding operation construction on the fire-fighting terminal equipment through the APP interface by the mobile phone with the RFID function, thereby increasing the construction convenience and avoiding the specificity of coding equipment.
Description
Technical Field
The invention relates to the technical field of RFID (radio frequency identification devices), in particular to an RFID rapid coding system.
Background
At present, RFID products in the market are basically in a one-way reading function, fire-fighting inspection terminal equipment needs to be connected with special code reading and writing handheld equipment when being installed, code reading with the RFID products can be completed, such as applications of financial cards, identity cards, books and the like are borrowed, flexible and real-time reading and writing and data real-time sharing cannot be completed, data cannot be shared with background master control in real time, and equipment data can only be downloaded to a background service desk after construction is completed, so that construction progress and construction effect cannot be mastered in time.
Disclosure of Invention
In view of the above technical problems in the related art, the present invention provides an RFID fast encoding system, which can overcome the above disadvantages of the prior art methods.
In order to achieve the technical purpose, the technical scheme of the invention is realized as follows:
an RFID rapid coding system comprises a communication environment building module, a system self-checking module, a power-on detection module, a communication addressing module and an instruction response module, wherein,
the communication environment building module needs to share 5V/3.3V VCC and GND with the MCU between the RFID chip and the MCU, the power supply is provided by external LDO voltage stabilization, the MCU and the RFID are directly electrified when the system is electrified, meanwhile, communication interfaces SCL and SDA of I2C of the RFID card are connected, and the RFID card and the terminal are communicated through NFC;
the system self-checking module checks whether each functional interface is abnormal or not, and if the functional interface is abnormal, the system self-checking module lights up to warn, and the system self-checking module comprises a self-starting unit, a starting information acquisition unit, a judgment unit, a display unit and a fault prompting unit;
the power-on detection module is used for powering on the RFID card by the MCU and performing polling reading operation on the RFID card through an I2C channel;
the communication addressing module is used for enabling the RFID card not to respond to the polling reading operation of the MCU when the RFID card does not acquire data through the NFC of the terminal, namely, the address of the RFID card returns NACK;
the instruction response module sends data to the RFID card through the NFC channel at the system terminal, the RFID card does not immediately return a 0x9000 response after receiving the data, the RFID card starts to wait for the MCU to read, the response of the data received through the NFC channel is carried out after receiving an I2C reading instruction of the MCU for the RFID card address, and the response of the instruction of the NFC channel to 0x9000 is successful after the I2C channel data is sent.
Further, the RFID card address is a 7bit address of the card as an I2C slave machine, and the address is 0x 38.
Further, when addressing, the software system must send an addressing instruction every 1 second.
Further, the system needs to be compatible with software loaded with a conventional 8051 core 8-bit MCU and an ARM core 32-bit MCU on the market, and is divided into two software carriers.
Furthermore, the data acquisition of the system is to upload the coded data to the control center in real time through the cloud platform and output a coded report form of the product.
The invention has the beneficial effects that: through the RFID read-write technology, the terminal equipment with the RFID read-write function is used for coding products needing coding, online coding during installation of a fire-fighting terminal and various meter products can be realized, field installation and construction personnel can conveniently and quickly code the products, the product can be coded only by a mobile phone or a flat plate with the RFID function, and the terminal equipment is not required to be specially held by a wiring mode.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an RFID rapid coding system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention, and for the convenience of understanding the above technical solutions of the present invention, the above technical solutions of the present invention are described in detail below by specific use modes.
As shown in fig. 1, the RFID rapid coding system according to the embodiment of the present invention includes a communication environment building module, a system self-test module, a power-on detection module, a communication addressing module, and a response module.
The communication environment is built, 5V/3.3V VCC and GND are needed to be shared by an RFID chip and an MCU, an external LDO voltage stabilization is provided for a power supply, the MCU and the RFID can be directly electrified when the system is powered on, meanwhile, communication interfaces SCL and SDA of I2C of an RFID card are connected, and the RFID card and a terminal are communicated through NFC.
The system self-checking module checks whether each functional interface is abnormal, and the system self-checking is carried out after the system self-checking is powered on, and the system self-checking module lights a warning if the system self-checking is abnormal. The self-test comprises a self-starting unit, a starting information acquisition unit, a judgment unit, a display unit and a fault prompt unit; the self-starting unit is used for starting the hardware operation of the equipment; the starting information acquisition unit is used for acquiring hardware starting information of the equipment; the judging unit is used for judging whether the equipment is normally started or not according to the equipment starting information in the acquired hardware starting information; the display unit is used for displaying the judgment information acquired by the judgment unit; and the fault prompting unit is used for performing fault prompting when the hardware cannot be started or runs abnormally.
The power-on detection module is used for powering on the RFID card by the MCU and performing polling reading operation on the RFID card through an I2C channel; the RFID card address is a 7bit address of the card as an I2C slave machine, and the address is 0x 38.
The communication addressing module is used for enabling the RFID card not to respond to the polling reading operation of the MCU when the RFID card does not acquire data through the NFC of the terminal, namely, the address of the RFID card returns NACK; when addressing, the software system must send an addressing instruction every 1 second.
And the instruction response module sends data to the RFID card through the NFC channel at the system terminal, and the RFID card does not immediately return a 0x9000 response after receiving the data. At the moment, the RFID card starts to wait for the reading of the MCU, after receiving an I2C reading instruction of the MCU on the address of the RFID card, the data received through the NFC channel is responded, and after the I2C channel data is sent, the 0x9000 instruction response of the NFC channel is successful.
The system needs to be compatible with the conventional 8051 core 8-bit MCU and ARM core 32-bit MCU software loaded on the market at the same time, and is divided into two software carriers. In addition, the data acquisition of the system is to upload the coded data to the control center in real time through the cloud platform and output a coded report form of the product.
The problem of communication link between the original MCU and the RFID chip of the fire-fighting terminal and the meter products is solved through a software algorithm, and the problem of MCU addressing is solved; meanwhile, the problem that the MCU and the RFID have no communication addressing function at dead angles is solved, and the equipment information can be read and the terminal equipment can be coded by a user at any time and any place. If the card does not acquire data through the terminal NFC, the card does not respond to the polling reading operation of the MCU, namely NACK is returned for addressing of 0x 38; the requirement that the software sends an addressing instruction every 1 second is met; meanwhile, the data can be transmitted to the background master control in real time through the handheld intelligent equipment.
In conclusion, by means of the technical scheme, the real-time data of the site construction equipment can be uploaded to the background through the APP operation of the mobile phone, so that the background can master the construction progress in real time and accurately check the construction, if the coding number of the terminal equipment is wrong, the site construction condition can be known by routing inspection at the first time, the situation that the site construction condition is known by downloading and uploading the data after the construction is finished as required in the prior art is avoided, the error correction time is shortened, and the working efficiency is increased; product site constructors such as fire-fighting terminal equipment and meters can finish real-time product coding during construction by using self-carried intelligent terminals (mobile phones and PADs), and data are transmitted to a background server in real time through a cloud service function, so that the constructors are prevented from carrying special read-write equipment needing to be connected.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (5)
1. An RFID rapid coding system is characterized by comprising a communication environment building module, a system self-checking module, a power-on detection module, a communication addressing module and an instruction response module, wherein,
the communication environment building module needs to share 5V/3.3V VCC and GND with the MCU between the RFID chip and the MCU, the power supply is provided by external LDO voltage stabilization, the MCU and the RFID are directly electrified when the system is electrified, meanwhile, communication interfaces SCL and SDA of I2C of the RFID card are connected, and the RFID card and the terminal are communicated through NFC;
the system self-checking module checks whether each functional interface is abnormal or not, and if the functional interface is abnormal, the system self-checking module lights up to warn, and the system self-checking module comprises a self-starting unit, a starting information acquisition unit, a judgment unit, a display unit and a fault prompting unit;
the power-on detection module is used for powering on the RFID card by the MCU and performing polling reading operation on the RFID card through an I2C channel;
the communication addressing module is used for enabling the RFID card not to respond to the polling reading operation of the MCU when the RFID card does not acquire data through the NFC of the terminal, namely, the address of the RFID card returns NACK;
the instruction response module sends data to the RFID card through the NFC channel at the system terminal, the RFID card does not immediately return a 0x9000 response after receiving the data, the RFID card starts to wait for the reading of the MCU, the response to the data received through the NFC channel is carried out after receiving an I2C reading instruction of the MCU for the RFID card address, and the response to the instruction of the NFC channel is successful after the data sending of the I2C channel is completed.
2. The RFID rapid encoding system of claim 1, wherein the RFID card address is a 7bit address of a card as an I2C slave, and the address is 0x 38.
3. The RFID rapid coding system of claim 1, wherein the software system must send an addressing command every 1 second when addressing.
4. The RFID rapid coding system according to claim 1, wherein the system needs to be compatible with both conventional 8051 core 8-bit MCU and ARM core 32-bit MCU software on the market, and is divided into two software carriers.
5. The RFID rapid coding system according to claim 1, wherein the data acquisition of the system is to upload the coded data to the control center in real time through the cloud platform and output a coded report of the product.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210283659.7A CN114662505A (en) | 2022-03-22 | 2022-03-22 | RFID (radio frequency identification) rapid coding system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210283659.7A CN114662505A (en) | 2022-03-22 | 2022-03-22 | RFID (radio frequency identification) rapid coding system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114662505A true CN114662505A (en) | 2022-06-24 |
Family
ID=82031096
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210283659.7A Pending CN114662505A (en) | 2022-03-22 | 2022-03-22 | RFID (radio frequency identification) rapid coding system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114662505A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103366140A (en) * | 2013-06-20 | 2013-10-23 | 李晓容 | Card writing method and card writing device based on NFC (Near Field Communication) |
CN106231541A (en) * | 2016-08-10 | 2016-12-14 | 苏州邦拓机电科技有限公司 | Five metals electromechanical tool transmits and processing system with the data of intelligent terminal |
CN113473430A (en) * | 2021-06-30 | 2021-10-01 | 上海飞力勋铖电气科技有限公司 | Intelligent equipment control and display system and method based on mobile phone NFC |
-
2022
- 2022-03-22 CN CN202210283659.7A patent/CN114662505A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103366140A (en) * | 2013-06-20 | 2013-10-23 | 李晓容 | Card writing method and card writing device based on NFC (Near Field Communication) |
CN106231541A (en) * | 2016-08-10 | 2016-12-14 | 苏州邦拓机电科技有限公司 | Five metals electromechanical tool transmits and processing system with the data of intelligent terminal |
CN113473430A (en) * | 2021-06-30 | 2021-10-01 | 上海飞力勋铖电气科技有限公司 | Intelligent equipment control and display system and method based on mobile phone NFC |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106100703B (en) | The electric-power metering on-site test bluetooth data means of communication | |
CN101593139A (en) | Mainboard failure diagnosis device and diagnostic method thereof | |
CN108647131B (en) | Output system of running log | |
CN105554167A (en) | Industrial equipment diagnosis and control system based on Internet of Things | |
CN102664655B (en) | Transponder message reading and writing device | |
CN111756858A (en) | Remote development processing system, method and device of embedded equipment | |
US20120144084A1 (en) | Data management device and method thereof | |
CN107195110A (en) | A kind of portable power source lending system | |
CN108319879B (en) | Based on I2C protocol visual card and information display method thereof | |
CN101692105B (en) | Device for real-time detecting product of production line of remote control | |
CN114662505A (en) | RFID (radio frequency identification) rapid coding system | |
Bhardwaj et al. | MELOS: a low-cost and low-energy generic sensing attachment for mobile phones | |
CN104111359A (en) | Contact card reliability testing system | |
CN206531965U (en) | A kind of ground wire intelligent positioning instrument and alignment system | |
CN106355223A (en) | Scanning device based on Bluetooth, management device and system applying scanning device | |
CN105956803A (en) | Logistics management system based on mobile internet | |
CN202261798U (en) | Hand-held terminal | |
CN113093103A (en) | Underwater robot positioning detection method and system | |
CN109766970B (en) | Fixed asset management system | |
RU162224U1 (en) | TERMINAL FOR TRANSMISSION AND STORAGE OF MONEY CALCULATION DATA FROM THE CONTROL-CASH MACHINE TO THE SERVER OF THE FISCAL DATA OPERATOR | |
CN211830768U (en) | Exhibition room bilingual explanation system | |
CN210986441U (en) | SIM card simulator, VSIM interpreter and system | |
CN206402265U (en) | Multi-media classroom monitoring system | |
JP3222919U (en) | Energy meter monitor system | |
CN203717312U (en) | Remote monitoring system for photovoltaic water pump |
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: 20220624 |