技术领域technical field
本实用新型涉及近场通信领域,具体涉及一种基于NFC的无线通信设备。The utility model relates to the field of near-field communication, in particular to an NFC-based wireless communication device.
背景技术Background technique
近年来无线通信已深入到社会的各个领域之中,在人们的生活、生产和工作中发挥着巨大的作用。随着社会的不断发展,如今人们对无线通信产品的要求尤其是在低功耗、微型化、安全性以及易于操作等方面更加强烈。与传统的有线通信相比,无线通信在操作上使用更加的快捷。无线通信的方式包括蓝牙、WiFi等,而蓝牙、WIFI这类无线通信的安全性、连接速度、复杂程度和成本较高,使他们不太适宜于大批量的使用在近场通信领域。In recent years, wireless communication has penetrated into various fields of society and plays a huge role in people's life, production and work. With the continuous development of society, people's requirements for wireless communication products are now more intense, especially in terms of low power consumption, miniaturization, safety, and ease of operation. Compared with traditional wired communication, wireless communication is faster and faster in operation. The wireless communication methods include Bluetooth, WiFi, etc., but the security, connection speed, complexity and cost of wireless communication such as Bluetooth and WIFI are relatively high, making them not suitable for large-scale use in the field of near-field communication.
发明内容:Invention content:
本实用新型的目的是提供一种基于NFC的无线通信设备,能够对无源的标签进行数据的读写,以克服背景技术中存在的问题。The purpose of this utility model is to provide a wireless communication device based on NFC, which can read and write data on passive tags, so as to overcome the problems existing in the background technology.
为了实现上述目的,本实用新型的技术方案为:In order to achieve the above object, the technical solution of the utility model is:
一种基于NFC的无线通信设备,包括手持读写设备和移动存储设备;A wireless communication device based on NFC, including a handheld read-write device and a mobile storage device;
手持读写设备包括控制芯片、输入模块和输出模块,以及与所述控制芯片和输出模块连接的电源模块,控制芯片通过SPI接口连接有NFC读写器,输入模块通过I/O接口与控制芯片连接,输出模块通过并行接口与控制芯片连接;移动存储设备包括至少一个NFC标签芯片;The handheld read-write device includes a control chip, an input module and an output module, and a power supply module connected to the control chip and the output module. Connecting, the output module is connected to the control chip through a parallel interface; the mobile storage device includes at least one NFC tag chip;
NFC读写器和NFC标签芯片设有相互匹配的天线,NFC读写器和NFC标签芯片设置的天线之间通过电磁感应耦合方式进行信息的传输。The NFC reader-writer and the NFC tag chip are provided with antennas that match each other, and information is transmitted between the antennas set by the NFC reader-writer and the NFC tag chip through electromagnetic induction coupling.
较佳地,控制芯片还通过SPI接口连接有Flash存储器和SD卡。Preferably, the control chip is also connected with a Flash memory and an SD card through an SPI interface.
较佳地,控制芯片采用型号为STM32的控制芯片。Preferably, the control chip is an STM32 control chip.
较佳地,NFC读写器采用CR95HF读写器。Preferably, the NFC reader uses a CR95HF reader.
较佳地,输入模块包括矩阵按键。Preferably, the input module includes matrix keys.
较佳地,输出模块包括液晶显示屏。Preferably, the output module includes a liquid crystal display.
较佳地,控制芯片还连接有USB接口。Preferably, the control chip is also connected with a USB interface.
本实用新型的有益效果在于:控制芯片通过SPI接口与NFC读写器进行数据通信,NFC读写器打开磁场,磁场以感应耦合的方式给移动存储设备中的NFC标签芯片供电,从而使NFC标签芯片能够正常工作,并进一步的对NFC标签芯片进行读写。本实用新型通过NFC的通信方式对NFC标签芯片的存储区域进行数据的读写。控制芯片采用STM32芯片,NFC读写器采用CR95HF读写器,具有距离近、带宽高、能耗低、安全性好等特点。本实用新型可以支持三种协议的选择,操作方便,实用简单,功能完备,便于人机交互。The beneficial effect of the utility model is that: the control chip communicates with the NFC reader-writer through the SPI interface, the NFC reader-writer opens the magnetic field, and the magnetic field supplies power to the NFC tag chip in the mobile storage device in an inductively coupled manner, so that the NFC tag The chip can work normally, and further read and write to the NFC tag chip. The utility model reads and writes data to the storage area of the NFC tag chip through the NFC communication mode. The control chip adopts STM32 chip, and the NFC reader adopts CR95HF reader, which has the characteristics of short distance, high bandwidth, low energy consumption and good security. The utility model can support the selection of three protocols, is convenient to operate, practical and simple, has complete functions and is convenient for man-machine interaction.
附图说明Description of drawings
图1为本实用新型实施例的结构示意图,Fig. 1 is the structural representation of the utility model embodiment,
图2为本实用新型实施例手持读写设备的结构示意图。Fig. 2 is a schematic structural diagram of a handheld read-write device according to an embodiment of the present invention.
图中:1-控制芯片,2-输入模块,3-输出模块,4-NFC读写器,5-Flash存储器,6-SD卡,7-USB接口,8-天线二,9-并行接口,10-手持读写设备,11-移动存储设备,12-NFC标签芯片,13-天线一。In the figure: 1-control chip, 2-input module, 3-output module, 4-NFC reader, 5-Flash memory, 6-SD card, 7-USB interface, 8-antenna 2, 9-parallel interface, 10-Handheld read-write device, 11-Mobile storage device, 12-NFC tag chip, 13-Antenna 1.
具体实施方式detailed description
下面结合附图和实施例对本实用新型做进一步的说明。Below in conjunction with accompanying drawing and embodiment the utility model is described further.
一种基于NFC的无线通信设备(图1),包括手持读写设备10和移动存储设备11;A kind of wireless communication device (Fig. 1) based on NFC, comprises handheld read-write device 10 and mobile storage device 11;
手持读写设备10(图2)包括控制芯片1、输入模块2和输出模块3,以及电源模块,控制芯片1通过SPI接口连接有NFC读写器4,输入模块2通过多个I/O接口与控制芯片1连接,输出模块3通过并行接口9与控制芯片1连接;移动存储设备11包括至少一个NFC标签芯片12;The handheld read-write device 10 (FIG. 2) includes a control chip 1, an input module 2, an output module 3, and a power supply module. The control chip 1 is connected to an NFC reader 4 through an SPI interface, and the input module 2 is connected through a plurality of I/O interfaces. Connected with the control chip 1, the output module 3 is connected with the control chip 1 through the parallel interface 9; the mobile storage device 11 includes at least one NFC tag chip 12;
NFC读写器4和NFC标签芯片12设有相互匹配的天线,设置于NFC读写器4的是天线一13,连接于NFC标签芯片12的是天线二8,天线一13和天线二8之间通过电磁感应耦合方式进行信息的传输。NFC读写器4和NFC标签芯片12采用被动的通信方式,NFC读写器4打开磁场,标签从传输的磁场获得工作能量,然后通过调制磁场将数据传送给NFC读写器4。The NFC reader-writer 4 and the NFC tag chip 12 are provided with antennas that match each other, the antenna one 13 is arranged on the NFC reader-writer 4, and the antenna two 8 is connected to the NFC tag chip 12, between the antenna one 13 and the antenna two 8 Information is transmitted between them through electromagnetic induction coupling. The NFC reader-writer 4 and the NFC tag chip 12 adopt a passive communication mode. The NFC reader-writer 4 turns on the magnetic field, and the tag obtains working energy from the transmitted magnetic field, and then transmits data to the NFC reader-writer 4 by modulating the magnetic field.
控制芯片1还通过SPI接口连接有Flash存储器5和SD卡6。控制芯片1还连接有USB接口,USB接口是给锂电池充电的接口,也能插在电脑上,通过电脑直接对SD进行数据的读写。The control chip 1 is also connected with a Flash memory 5 and an SD card 6 through an SPI interface. The control chip 1 is also connected with a USB interface, and the USB interface is an interface for charging the lithium battery, and can also be inserted into a computer to directly read and write data to the SD through the computer.
电源模块分别于控制芯片1、输出模块3也即液晶显示屏、Flash存储器5和SD卡6连接。The power supply module is connected to the control chip 1, the output module 3, that is, the liquid crystal display, the Flash memory 5 and the SD card 6, respectively.
本实施例的控制芯片1采用ARM公司的STM32F103VET6芯片,NFC读写器4采用CR95HF读写器,CR95HF读写器的芯片支持无线通信协议ISO/IEC15693、ISO/IEC14443TypeAandB、ISO/IEC18092。Flash存储器5芯片采用W25Q64,液晶显示屏的分辨率为480×320,SD卡容量大小为4G,控制芯片1还连接有USB接口7。The control chip 1 of this embodiment adopts the STM32F103VET6 chip of ARM Company, the NFC reader-writer 4 adopts the CR95HF reader-writer, and the chip of the CR95HF reader-writer supports wireless communication protocols ISO/IEC15693, ISO/IEC14443TypeAandB, ISO/IEC18092. The Flash memory 5 chip adopts W25Q64, the resolution of the liquid crystal display is 480×320, the capacity of the SD card is 4G, and the control chip 1 is also connected with a USB interface 7 .
本实施例的装置启动后,手持读写设备10的液晶显示屏显示开机界面,用户通过输入模块2矩阵按键进行功能选择。After the device of this embodiment is started, the liquid crystal display screen of the handheld read-write device 10 displays a start-up interface, and the user selects functions through the matrix keys of the input module 2 .
当选择操作NFC读写器4时,控制芯片1通过SPI接口与NFC读写器4进行数据通信,NFC读写器4首先初始化,然后进行协议选择进而打开磁场,磁场能够以磁场耦合的方式给移动存储设备11中的NFC标签芯片12供电,从而使NFC标签芯片12能够正常工作。NFC读写器4在打开磁场后,就进行NFC标签芯片12的搜索,进行防冲突检查,如果搜索到NFC标签芯片12,并且只有一个NFC标签芯片12,就能够返回NFC标签芯片12的ID,接下来结合NFC标签芯片12的读写命令,就能通过NFC的通信方式对NFC标签芯片12的存储区域进行数据的读写,读写完成之后,就可以关闭磁场,操作完成。When selecting to operate the NFC reader-writer 4, the control chip 1 communicates with the NFC reader-writer 4 through the SPI interface. The NFC reader-writer 4 is first initialized, and then the protocol is selected and then the magnetic field is turned on. The magnetic field can be given by magnetic field coupling. The NFC tag chip 12 in the mobile storage device 11 supplies power, so that the NFC tag chip 12 can work normally. NFC reader-writer 4 just carries out the search of NFC label chip 12 after opening magnetic field, carries out anti-collision check, if NFC label chip 12 is searched, and has only one NFC label chip 12, just can return the ID of NFC label chip 12, Next, combined with the read and write commands of the NFC tag chip 12, data can be read and written to the storage area of the NFC tag chip 12 through the NFC communication mode. After the reading and writing is completed, the magnetic field can be turned off, and the operation is completed.
用户通过按键操作控制芯片1,控制芯片1通过SPI接口对NFC读写器4进而对NFC标签芯片12上的数据进行处理、存储,完成数据的存储和通信功能,同时控制器读取NFC标签芯片12上的数据并通过液晶显示屏向用户输出。NFC读写器4的基本功能是接收控制芯片1的命令,实现对NFC标签芯片12的读写,并将接收到的响应返回用户,具体为一是向NFC标签芯片12发送写的命令,将控制芯片1的数据通过NFC读写器4的天线写入到NFC标签芯片12中,如有所需求,可以再进行读操作,即通过NFC读写器4的天线与NFC标签芯片12的天线之间的通信读取到NFC标签芯片12的内容。这样由于读写器与电子标签中通过电磁波感应耦合方式的信息传输,可以进行信息交流。The user operates the control chip 1 through the button, and the control chip 1 processes and stores the data on the NFC reader 4 and the NFC tag chip 12 through the SPI interface, and completes the data storage and communication functions. At the same time, the controller reads the NFC tag chip 12 and output to the user through the LCD screen. The basic function of NFC reader-writer 4 is to receive the order of control chip 1, realize reading and writing to NFC label chip 12, and the response that receives is returned to user, specifically one is to send the order that writes to NFC label chip 12, will The data of the control chip 1 is written into the NFC tag chip 12 through the antenna of the NFC reader-writer 4 , if necessary, the read operation can be performed again, that is, through the antenna of the NFC reader-writer 4 and the antenna of the NFC tag chip 12 The communication between reads the content of the NFC tag chip 12. In this way, due to the information transmission between the reader and the electronic tag through electromagnetic wave inductive coupling, information exchange can be performed.
SD卡6可被控制芯片1通过SPI方式进行数据的擦除和写入,主要存储NFC读写的数据。Flash存储器5主要存储开机画面。USB接口7可以对锂电池进行充电,同时通过PC能够对SD卡进行数据的读写。The SD card 6 can be erased and written by the control chip 1 through SPI, and mainly stores data read and written by NFC. The Flash memory 5 mainly stores the startup screen. The USB interface 7 can charge the lithium battery, and can read and write data to the SD card through the PC.
本实施例所述的装置能够可以在检测到NFC标签对其数据进行读写,还能够自定义开机画面,操作方便,实用简单,便于人机交互。The device described in this embodiment can read and write the data of the NFC tag after detecting it, and can also customize the boot screen, which is convenient to operate, practical and simple, and convenient for human-computer interaction.
应当理解的是,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,而所有这些改进和变换都应属于本实用新型所附权利要求的保护范围。本说明书中未作详细描述的部分属于本领域专业技术人员公知的现有技术。It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should belong to the protection scope of the appended claims of the present utility model. Parts not described in detail in this specification belong to the prior art known to those skilled in the art.
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201521013027.0UCN205318414U (en) | 2015-12-07 | 2015-12-07 | Wireless communication equipment based on NFC |
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201521013027.0UCN205318414U (en) | 2015-12-07 | 2015-12-07 | Wireless communication equipment based on NFC |
Publication Number | Publication Date |
---|---|
CN205318414Utrue CN205318414U (en) | 2016-06-15 |
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201521013027.0UExpired - Fee RelatedCN205318414U (en) | 2015-12-07 | 2015-12-07 | Wireless communication equipment based on NFC |
Country | Link |
---|---|
CN (1) | CN205318414U (en) |
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108986575A (en)* | 2018-10-19 | 2018-12-11 | 科盟(福州)电子科技有限公司 | A kind of wireless enhanced interactive teaching and learning system and method |
CN110874073A (en)* | 2018-09-04 | 2020-03-10 | 宁波方太厨具有限公司 | Separated household electrical appliance control device |
CN116071859A (en)* | 2022-12-29 | 2023-05-05 | 四川省电子产品监督检验所 | NFC technology-based health information rapid reading system and using method |
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110874073A (en)* | 2018-09-04 | 2020-03-10 | 宁波方太厨具有限公司 | Separated household electrical appliance control device |
CN108986575A (en)* | 2018-10-19 | 2018-12-11 | 科盟(福州)电子科技有限公司 | A kind of wireless enhanced interactive teaching and learning system and method |
CN116071859A (en)* | 2022-12-29 | 2023-05-05 | 四川省电子产品监督检验所 | NFC technology-based health information rapid reading system and using method |
Publication | Publication Date | Title |
---|---|---|
CN202167034U (en) | Peripheral application device and mobile terminal system | |
CN101770564A (en) | Hand-held radio frequency identification (RFID) terminal | |
CN205318414U (en) | Wireless communication equipment based on NFC | |
JP2015023450A (en) | Method and electronic apparatus for short distance radio communication | |
CN103778455A (en) | NFC-based price ticket radio frequency identification tag | |
CN103177232A (en) | Electronic reading system and method based on mobile terminal | |
CN207867516U (en) | A kind of read-write equipment based on radio RF recognition technology | |
CN203799339U (en) | Ultrahigh frequency RFID label read-write touch pin and read-write device | |
CN113327558A (en) | Battery-free electronic ink display screen based on NFC | |
CN203644053U (en) | IC card management system based on bluetooth | |
CN204557497U (en) | Double frequency intelligent RF identification integrated system | |
CN103914719B (en) | RFID label tag read-write equipment | |
CN205912053U (en) | Infrared NFC handheld piece of card formula | |
CN202153360U (en) | Portable 134.2 KHz RFID multi-interface reader-writer | |
CN105989379A (en) | Wireless radio frequency identification reader-writer of campus verification system | |
CN204480282U (en) | A kind of Mobile RFID reader-writer | |
CN203561996U (en) | Wireless card reader | |
CN201867840U (en) | UHF (ultra-high frequency) portable RFID (radio frequency identification device) reader-writer | |
CN203299859U (en) | Handheld RFID reader-writer | |
CN103473861A (en) | Pos machine device based on cellphone card swiping | |
CN106529630A (en) | Wearable RFID reader-writer and data reading method and device | |
CN206515836U (en) | Bluetooth mobile RFID read write line | |
CN209928432U (en) | Hand-held type NFC read write line appearance | |
CN203870641U (en) | Display and write-in device | |
CN204232773U (en) | A kind of Intelligent water cup adopting NFC communication function |
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20160615 Termination date:20161207 | |
CF01 | Termination of patent right due to non-payment of annual fee |