Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I write data on UHF RFID tags?

Tags:

rfid

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?

like image 746
vipin Avatar asked Aug 03 '13 10:08

vipin


People also ask

Can you write data to RFID?

Microchips in RFID tags can be read-write, read-only or “write once, read many” (WORM). With read-write chips, you can add information to the tag or write over existing information when the tag is within range of a reader. Read-write tags usually have a serial number that can't be written over.

Is it possible to write or store data on an RFID chip?

Using radio waves, RFID can write, store and transmit information without requiring line-of-sight scanning. Easily reading data from RFID tags allows you to identify single items or entire batches of goods simultaneously.

Which components of a UHF RFID system can write information to a tag?

The IC (Integrated Circuit) is the brain of the RFID tag and stores the unique information on the tag.


2 Answers

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).

like image 107
Shain Armstrong Avatar answered Oct 04 '22 08:10

Shain Armstrong


RFID reading and writing is still specific to the technology of the tags, the hardware reader, and to the software device drivers. There is no common Windows API for RFID. However, there is a standard called UnifiedPOS that provides a wrapper around RFID scanners that makes them all behave the same. You write your app once to the UnifiedPOS interface, then you can use any RFID scanners that have a UnifiedPOS compatible Service Object. It's available as OPOS for Windows, and "JavaPOS" for Java. There is also Microsoft's POS for .Net.

When selecting the hardware for the tags and readers, consider if the manufacturer provides compatible service objects. It will make reading and writing much simpler.

like image 43
John Deters Avatar answered Oct 04 '22 10:10

John Deters