7

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?

hopper
  • 12,140
  • 7
  • 48
  • 50
vipin
  • 219
  • 1
  • 3
  • 8

6 Answers6

6

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

3

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.

John Deters
  • 4,142
  • 21
  • 39
0

RFID is a magnetic tag, so If you've some good knowledge in this subject, you can build it but I think (I don't know exactly the process) that it's pretty hard to do...

However, I know there is an Arduino NFC Shield which can, maybe help you. Something like this: http://www.adafruit.com/products/789

Shantanu Gupta
  • 19,317
  • 51
  • 167
  • 268
Gp2mv3
  • 1,365
  • 19
  • 32
  • 2
    The OP asked for UHF RFID, which is using electro-magnetic radiation. NFC is based on HF RFID, which is using inductive coupling. The two are completely different in the electronics involved. – corvairjo Aug 08 '13 at 07:41
0

I would recommend using one of these bad boys.Scanfob® Ultra-BB2 GEN2 (UHF) Bluetooth RFID Reader/Writer https://serialio.com/products/rfid/readerwriters/scanfob%C2%AE-ultra-bb2-gen2-uhf-bluetooth-rfid-readerwriter

This will allow you write user data to a tag using Android or Windows with SerialMagic (license for SerialMagic embedded in Scanfob®Ultra-BB2).

This reader is also compatible with Mac OSX & iOS. Only capable of reading tags to cursor location (Bluetooth HID) on iOS.

0

I'm not sure if by "writer" you mean hardware (+ software) or if a software satisfy your needs. @Gp2mv3 mentions NFC, so if your tags fall into the NFC type subset of RFID, the simplest is to grab your phone, download a free NFC writer app and use that.

If you want to write your own software, for Android platform there are a lot of examples, and I assume it's the same for other platforms too. I can imagine even a setup where you connect your phone to your PC through USB and you use it with a hybrid PC + mobile app companion software as a writer.

Csaba Toth
  • 8,153
  • 4
  • 62
  • 100