本文介绍了如何在 UHF RFID 标签上写入数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在进行一个基于 RFID 的库存控制项目,我想制作一个写入器,通过它我可以在每个无源 RFID 标签上写入数据.我怎样才能做到这一点?

解决方案

根据您的预算,购买 RFID 阅读器(也是写入器)可能比制作一个简单得多.市场上有许多出色的阅读器,它们具有相当易于使用的 API.此外,大多数主要的 UHF RFID 阅读器都使用称为 LLRP(低级阅读器协议)的通用标准;因此,您可以编写一组代码,它可以与任何支持 LLRP 的阅读器一起使用.绝大多数 UHF RFID 标签采用 gen2 协议 (ISO 18000-6C),因此请确保您的读写器也能如此.

假设您使用的是 gen2 RFID 标签,写入标签相当简单.您只需告诉阅读器(通过命令)对标签进行编码.当然,有一些注意事项需要注意,例如编码必须采用十六进制格式,并且标签上有几个不同的内存块 - EPC、保留、TID 和用户.(注意:您无法编码到所有内存块.有关此主题的更多基本信息,请参阅此博客文章:http://blog.atlasrfidstore.com/types-of-memory-in-gen-2-uhf-rfid-tags.)>

另一件需要考虑的事情是您希望将多少数据编码到标签中.您将使用的两个主要内存块是 EPC(通常为 96 位,但在某些标签上,此数字可能更高)和用户(大约 512 位是标准的,但市场上有一些 gen2 标签具有更高的用户内存).

I am working on an RFID-based inventory control project, and I want to make a writer through which I can write data on each passive RFID tag. How can I accomplish that?

解决方案

Depending on your budget, it may be much simpler to purchase an RFID reader (which is also a writer) than to make one. There are many great readers on the market with fairly easy to use APIs. Also, most of the major UHF RFID readers work with a common standard called LLRP (Low Level Reader Protocol); so, you can write one set of code and it will work with any reader that supports LLRP. The vast majority of UHF RFID tags work on the gen2 protocol (ISO 18000-6C), so just be sure your reader/writer does as well.

Assuming you are using a gen2 RFID tag, writing to the tag is fairly simple. You simply tell the reader (via a command) to encode the tag. Of course, there are a few considerations to note such as encoding must be in hexadecimal format and there are a few different memory blocks on the tag - EPC, Reserved, TID, and User. (Note: you can't encode to all memory blocks. For more basic information on this topic, see this blog post: http://blog.atlasrfidstore.com/types-of-memory-in-gen-2-uhf-rfid-tags.)

Another thing to consider is how much data you would like to encode to the tag. The two primary memory blocks you'll be using are the EPC (typically 96 bits, but, on some tags, this number can be higher) and User (about 512 bits is standard, but there are some gen2 tags on the market that have much higher User memory).

这篇关于如何在 UHF RFID 标签上写入数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 21:44