Products for USB Sensing and Control
Products for USB Sensing and Control

PhidgetRFID Read-Write

ID: 1024_0

Read and write to RFID tags up to 6cm away. Supports EM4100 series, ISO11785 FDX-B and our own PhidgetTag protocols.

Replaced by 1024_0B

Replaced by the 1024_0B - PhidgetRFID Read/Write. It is the exact same device, but it comes pre-assembled in a plastic shell enclosure and you can now choose which cables you want to have included.

The PhidgetRFID Read-Write reads RFID tags that are brought in close proximity to the reader and returns the tag identification number. Writing data to T5577 tags is also supported. For a list of compatible RFID tags that we have available, see the Connection & Compatibility tab.


RFID (Radio Frequency IDentification) systems use data strings stored inside RFID tags to uniquely identify people or objects when their tags are scanned by an RFID reader. These types of systems are found in many applications such as passport protection, animal identification, inventory control systems, and secure access control systems.


The PhidgetRFID Read-Write supports reading and writing in 3 protocols; EM4100, ISO11785 FDX-B, and PhidgetTag. The PhidgetTag protocol simply stores up to 24 ASCII characters to the tag, eliminating the necessity for a table of corresponding tag numbers and names in your program. Phidgets sells EM4100 read-only tags that can be read with either of our RFID readers, and writable tags which can be written with the 1024 using any protocol. Any 3rd-party EM4100 or ISO11785 tags can be read.


Because passive tags require a strong RF field to operate, their effective range is limited to an area in close proximity to the RFID reader. The distance over which the RFID tag is usable is affected by such things as the tag shape and size, materials being used in the area near the reader, and the orientation of the reader and tag in respect to each other and in their operating environment. The smaller a tag, the closer it must be to the reader to operate.


The 1024 has two digital outputs, labeled "+5V" and "LED". These work the same as any other Phidgets Inc. digital output, except that the "+5V" output has a higher current rating. You can use these outputs to have an LED or buzzer to indicate when a tag read has occured.


Comes packaged with

Product Specifications

Board
Controlled By USB
API Object Name RFID
USB Speed Full Speed
RFID Reader
API Object Name RFID
Antenna Resonant Frequency Min 125 kHz
Antenna Resonant Frequency Max 150 kHz
Protocol EM4100, ISO11785 FDX-B, PhidgetTag
USB Speed Full Speed
Electrical Properties
Available External Voltage (+5V) 5 V DC
Available External Voltage (LED) 5 V DC
Available External Current (+5V) 400 mA
Available External Current (LED) 16 mA
Output Impedance (LED) 250 Ω
Current Consumption Min 27 mA
Current Consumption Max 150 mA
Physical Properties
Recommended Wire Size 16 to 26 AWG
Operating Temperature Min 0 °C
Operating Temperature Max 70 °C
Digital Outputs
Number of Digital Outputs 2
Digital Output Voltage Min 0 V DC
Digital Output Voltage Max 5 V DC
Customs Information
Canadian HS Export Code 8471.80.00
American HTS Import Code 8471.80.40.00
Country of Origin CN (China)

Software Objects

Channel NameAPIChannel
RFID Reader/Writer RFID 0
Digital Output DigitalOutput 0
LED Driver DigitalOutput 1
Onboard LED DigitalOutput 2

API


Back Forward
Print this API

Documents

Code Samples

Language:

APIDetailLanguageOS
RFID Visual Studio GUI C# Windows Download
RFID Java Android Download
RFID JavaScript Browser Download
RFID Objective-C macOS Download
RFID Swift macOS Download
RFID Swift iOS Download
RFID Visual Basic .NET Windows Download
RFID Max/MSP Multiple Download
DigitalOutput Visual Studio GUI C# Windows Download
DigitalOutput Java Android Download
DigitalOutput JavaScript Browser Download
DigitalOutput Multi-Channel Example JavaScript Browser Download
DigitalOutput Objective-C macOS Download
DigitalOutput Swift macOS Download
DigitalOutput Swift iOS Download
DigitalOutput Visual Basic .NET Windows Download
DigitalOutput Max/MSP Multiple Download

Product History

The 1024 - PhidgetRFID Read/Write replaced our previous RFID Reader, the 1023 - PhidgetRFID.
Date Board Revision Device Version Comment
February 20130100Product Release
October 2015 0101OS X El Capitan USB bug fix


Part 1: Setup

PhidgetRFID - Select OS

PhidgetRFID

Welcome to the 1024 user guide! In order to get started, make sure you have the following hardware on hand:

  • a 1024 PhidgetRFID
  • a USB cable and computer
  • an RFID tag

Select your Operating System:

«
»

PhidgetRFID - Windows

Step 1: Install Phidgets Library

Step 2: Connect Devices

Step 3: Verify Connection

Step 1: Install Phidgets Library

Before you begin using your Phidgets, you will need to install the Phidget Library.

1. Download the installer for your system:

● 32-bit Installer Download

● 64-bit Installer Download

If you're unsure which one you should get, press ⊞ WIN + Pause/Break:

Before installing our libraries, be sure to read our Software License.

Step 1: Install Phidgets Library

2. Open the download. If it asks you for permission, select Run

Step 1: Install Phidgets Library

3a. Select Next

Step 1: Install Phidgets Library

3b. Read the Licence Agreement. Select Next.

Step 1: Install Phidgets Library

3c. Choose Installation Location. Select Next.

Step 1: Install Phidgets Library

3d. Confirm Install

Step 1: Install Phidgets Library

3e. Wait for Installation to complete. This should only take a few moments.

Step 1: Install Phidgets Library

3f. Installation Complete. Close installation Window.

Step 2: Connect Devices

● Connect USB Cable to your computer and PhidgetRFID

Step 3: Verify Connection

1. Open the Phidgets Control Panel:

If your Control Panel does not open, look in your taskbar. Double click the Phidget Icon.

Step 3: Verify Connection

2. If connected, your Phidgets will appear in the Phidget Control Panel.

Done!

If you're able to see and interact with your devices in the Phidget Control Panel, you're done with the Setup part of this guide.

Scroll down to Part 2: Using Your Phidget for the next step.


For more help installing in Windows (e.g. manual install, using a VM, etc.), visit this page:

Windows Advanced Information

«
»

PhidgetRFID - MacOS

Step 1: Install Phidgets Library

Step 2: Connect Devices

Step 3: Verify Connection

Step 1: Install Phidgets Library

Before you begin using your Phidgets, you will need to install the Phidget Library.

1. Download the installer for your system:

● OS X 10.11+: Installer Download

● Mac OS X 10.7 - OS X 10.10: Installer Download

● Mac OS X 10.5 - OS X 10.6: Installer Download


Before installing our libraries, be sure to read our Software License.

Step 1: Install Phidgets Library

2. Open the download and double click on Phidgets.pkg

Step 1: Install Phidgets Library

3a. Select Continue

Step 1: Install Phidgets Library

3b. Read and continue. Read the License and click Agree.

Step 1: Install Phidgets Library

3c. Here, you have the option to select the installation location. Select Install to continue.

Step 1: Install Phidgets Library

3d. MacOS may ask for permission to install. Enter your username and password and Install Software.

Step 1: Install Phidgets Library

3e. Wait for Installation to complete. This should only take a few moments.

Step 1: Install Phidgets Library

3f. You may see a message that the extension has been blocked. Select Open Security Preferences.

Step 1: Install Phidgets Library

3g. Beside the message for Phidgets Inc, Click Allow.

Step 1: Install Phidgets Library

3h. Installation Complete, Click Close.

Step 1: Install Phidgets Library

3i. To delete the installer, click Move to Trash.

Step 2: Connect Devices

● Connect USB Cable to your computer and PhidgetRFID

Step 3: Verify Connection

1. Open the Phidgets Control Panel:

Step 3: Verify Connection

2. If connected, your Phidgets will appear in the Phidget Control Panel.

Done!

If you're able to see and interact with your devices in the Phidget Control Panel, you're done with the Setup part of this guide.

Scroll down to Part 2: Using Your Phidget for the next step.


For more info installing in MacOS (e.g. developer tools, driver extension, etc.), visit this page:

MacOS Advanced Information

«
»

PhidgetRFID - Linux

Step 1: Install Phidgets Library

Step 2: Connect Devices

Step 3: Verify Connection

Step 1: Install Phidgets Library

1. First, you need to install the libusb-1.0 development libraries. For example, in Debian based distributions:

apt-get install libusb-1.0-0-dev


You’ll also need a C compiler and builder, if you don’t already have one installed.

apt-get install gcc
apt-get install make

Step 1: Install Phidgets Library

2. Next, download and unpack the Phidgets library:

libphidget22

Step 1: Install Phidgets Library

3. Use the following commands in the location you unpacked to install the library:

./configure
make
sudo make install

Step 1: Install Phidgets Library

4. (Optional) You can also download and unpack the following optional packages:

phidget22networkserver - Phidget Network Server, which enables the use of Phidgets over your network

phidget22admin - Admin tool to track who is connected to your Phidgets when using the network server

libphidget22extra - Required for phidget22networkserver and phidget22admin

libphidget22java - The Java libraries for Phidget22


For installation instructions for these packages, see the README file included with each one.

Step 2: Connect Devices

● Connect USB Cable to your computer and PhidgetRFID

Step 3: Verify Connection

1. The easiest way to verify that your libraries are working properly is to compile and run an example program. Download and unpack this C example that will detect any Phidget:

HelloWorld C Example

Step 3: Verify Connection

2. Next, open the terminal in the location where you unpacked the example. Compile and run using:

gcc HelloWorld.c -o HelloWorld -lphidget22
sudo ./HelloWorld

ou should receive a “Hello” line for each Phidget channel that is discovered:

I don’t see any Phidgets show up in the HelloWorld example

You need to run it with sudo in order to be able to access USB devices. In order to use Phidgets without sudo, you need to set your udev rules. See the Advanced Information page on the final slide of this guide for details.

Done!

If you're able to see your devices in the Hello World example, you're done with the Setup part of this guide.

Scroll down to Part 2: Using Your Phidget for the next step.


For more info installing in Linux (e.g. Udev rules, old versions, etc.), visit this page:

Linux Advanced Information

«
»

Part 2: Using Your Phidget

About

The PhidgetRFID reads data from RFID tags that transmit in the 125kHz range and use a supported protocol. When the tag is brought near the surface of the PhidgetRFID, if the antenna is enabled it will inductively power the tag, which will transmit its data.

If you have a writable tag, you can also use the PhidgetRFID to write custom data to the tag. The tag data must conform to the protocol's format. See the Advanced Topics section below for more details.

Explore Your Phidget Channels Using the Control Panel

You can use your Control Panel to explore your Phidget's channels.

1. Open your Control Panel, and you will find the following channels:

1024 Panel.jpg

2. Double click on a channel to open an example program. Each channel belongs to the Voltage Ratio Input channel class:

Expand All
DigitalOutput: Switchable 5V output (max current 400mA)

In your Control Panel, double click on "Digital Output":

1024-DigitalOutput.jpg
DigitalOutput (LED Driver): Switchable 5V output (max current 16mA)

In your Control Panel, double click on "LED Driver":

1024-DigitalOutput.jpg
DigitalOutput (Onboard LED): Turn on green LED beside USB connector

In your Control Panel, double click on "Onboard LED":

1024-OnboardLED.jpg
RFID Reader/Writer: Read or write data from an RFID tag

In your Control Panel, double click on "RFID Reader/Writer":

1024-RFID.jpg

Part 3: Create your Program

1. Setting up your Programming Environment

2. Phidget Programming Basics

Part 4: Advanced Topics and Troubleshooting

Expand All
How do I know what channel, serial number, or hub port to use in my program?

Before you open a Phidget channel in your program, you can set these properties to specify which channel to open. You can find this information through the Control Panel.

1. Open the Control Panel and double-click on the red map pin icon:

The locate Phidget button is found in the device information box

2. The Addressing Information window will open. Here you will find all the information you need to address your Phidget in your program.

All the information you need to address your Phidget


See the Phidget22 API for your language to determine exact syntax for each property.

Upgrading or Downgrading Device Firmware

Firmware Upgrade

MacOS users can upgrade device firmware by double-clicking the device row in the Phidget Control Panel.

Linux users can upgrade via the phidget22admin tool (see included readme for instructions).

Windows users can upgrade the firmware for this device using the Phidget Control Panel as shown below.

ControlpanelFWup.jpg

Firmware Downgrade

Firmware upgrades include important bug fixes and performance improvements, but there are some situations where you may want to revert to an old version of the firmware (for instance, when an application you're using is compiled using an older version of phidget22 that doesn't recognize the new firmware).

MacOS and Linux users can downgrade using the phidget22admin tool in the terminal (see included readme for instructions).

Windows users can downgrade directly from the Phidget Control Panel if they have driver version 1.9.20220112 or newer:

ControlpanelFWdown.jpg

Firmware Version Numbering Schema

Phidgets device firmware is represented by a 3-digit number. For firmware patch notes, see the device history section on the Specifications tab on your device's product page.

FWversion.jpg

  • If the digit in the 'ones' spot changes, it means there have been bug fixes or optimizations. Sometimes these changes can drastically improve the performance of the device, so you should still upgrade whenever possible. These upgrades are backwards compatible, meaning you can still use this Phidget on a computer that has Phidget22 drivers from before this firmware upgrade was released.
  • If the digit in the 'tens' spot changes, it means some features were added (e.g. new API commands or events). These upgrades are also backwards compatible, in the sense that computers running old Phidget22 drivers will still be able to use the device, but they will not be able to use any of the new features this version added.
  • If the digit in the 'hundreds' spot changes, it means a major change has occurred (e.g. a complete rewrite of the firmware or moving to a new architecture). These changes are not backwards compatible, so if you try to use the upgraded board on a computer with old Phidget22 drivers, it will show up as unsupported in the Control Panel and any applications build using the old libraries won't recognize it either. Sometimes, when a Phidget has a new hardware revision (e.g. 1018_2 -> 1018_3), the firmware version's hundreds digit will change because entirely new firmware was needed (usually because a change in the processor). In this case, older hardware revisions won't be able to be upgraded to the higher version number and instead continue to get bug fixes within the same major revision.
Supported Tag Types

We support read-only tags that have been programmed with a supported protocol, as well as T5577 type tags for writing.

T5577

T5577 tags can be written with any of the supported protocols. Fresh T5577 tags that have never been programmed may show up as an EM4100 tag, or may not show up at all. After writing, they will always show up as the written tag. We also support a lock function which prevents a tag from ever being re-written.

Supported RFID Protocols

A protocol is a way of encoding data on an RFID tag. This is not the same as the tag type. For example, we support the T5577 tag type, which can be programmed with any of the protocols which we support. We also support read-only tags which have been programmed in any of these protocols.

We support three reading and writing protocols with the 1024:

EM4100

EM4100 (also known as EM4102) is the protocol that all previous PhidgetRFID readers have supported. Therefore, if you want to use the 1024 to write to writable tags to be read with previous versions of the PhidgetRFID, you need to write them in this protocol first. This protocol encodes 40 bits of arbitrary data. Read-only tags that are factory programmed with this protocol are supposed to be unique.

Phidgets represents this protocol as a 10-digit hex string, include leading 0's (e.g. 0087f3bc91). This is the format to use for writing new tags, and to expect from the tag events.

ISO11785 FDX-B

ISO11785 defines tags used for animal IDs. If you have a pet cat or dog, chances are high that they have one of these tags implanted. FDX-B refers to the way that the ISO11785 data is encoded on the RFID tag, and is the industry-standard encoding scheme.

This tag consists of a 10-bit country code and a 38-bit unique ID.

The country code is ISO 3166. The '999' code is set aside for testing.

The unique ID is 38-bit unsigned, so that's a range of 0 - 274,877,906,943.

Phidgets represents this protocol as a 15-digit decimal number string - concatenated 3-digit country code and 12-digit id. For example, 999000000000123 would represent the testing country code and an id of 123. Please note that the 12-digit id part cannot exceed the 38-bit maximum integer value of 274,877,906,943.

Note that Animal tags with a valid country code are supposed to be unique. Of course, with the 1024 you can freely copy an existing Animal Tag.

PhidgetsTAG

The PhidgetsTAG protocol is an internal protocol only supported by the PhidgetRFID 1024.

This protocol allows storing an ASCII string, up to 24 characters (e.g. I am a Phidgets Tag!)

The ASCII data must be 7-bit, so no extended ASCII support, but standard text is all supported (as well as control codes).

Interference from multiple RFID readers

If you are using multiple RFID readers, placing them too close together will cause interference when reading tags. You could work around this problem by rapidly "polling" each 1024 by turning the antenna on, checking for tags, and then turning it off in sequence. Of course, this will lengthen the amount of time it takes for your system to read a tag, since you may have to wait for the nearest reader to become active.

FCC Compliance


caption Phidgets Inc
1024_0
FCC ID: SUT1024-0
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
(1) This device may not cause harmful interference, and
(2) This device must accept any interference received, including interference that may cause undesired operation.
Note: The manufacturer is not responsible for any radio or TV interference caused by unauthorized modifications to this equipment. Such modifications could void the user’s authority to operate the equipment.
The user is cautioned that any changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment.
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and receiver.
• Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
• Consult the dealer or an experienced radio/TV technician for help.
This unit was tested with shielded cables on the peripheral devices. Shielded cables must be used with the unit to ensure compliance.
Object Speed

When trying to read tags, you should allow the tag to remain within detection range for at least 50ms. Tags moving through the detection area faster than this may not register at all.

Further Reading

For more information on RFID readers and tags, visit the RFID Primer.

RFID Tags

The PhidgetRFID Read-Write is compatible with tags that use either the EM4100 series, T5577, or FDX-B protocols. It is compatible with both the read-only and read-write tags sold here. Here's a list of all available tags:

Product Tag Properties
Part Number Price Protocol Typical Read/Write Distance
(with 1024 - PhidgetRFID R-W)
Tag Characteristics
3008_0
RFID Tag - Credit Card Sized
$1.10 EM4102 110 mm Passive, Read-Only
3902_0
RFID Tag - ABS Key Fob Blue
$1.30 EM4102 80 mm Passive, Read-Only
3903_0
RFID Tag - Clothing Button
$2.00 EM4102 60 mm Passive, Read-Only
3905_0
RFID Tag - Watch with Adjustable Strap
$2.75 EM4102 80 mm Passive, Read-Only
3906_0
RFID Tag - Watch-like with Elastic Strap
$2.00 EM4102 80 mm Passive, Read-Only
3907_0
RFID Tag - PVC 15mm Disc White
$1.00 EM4102 50 mm Passive, Read-Only
3908_0
RFID Tag - PVC 30mm Disc White
$1.00 EM4102 80 mm Passive, Read-Only
3911_0
RFID Tag - 30mm Disc Black
$1.30 EM4102 100 mm Passive, Read-Only
3913_0
RFID Tag - Threaded Black
$0.80 EM4102 70 mm Passive, Read-Only
3914_0
RFID Tag - Bird Leg Ring Black
$0.80 EM4102 50 mm Passive, Read-Only
3915_0
T5577 RFID Tag - PVC Card
$1.50 T5577 120 mm Passive, Read/Write
3916_0
T5577 RFID Tag - ABS Key Fob
$1.20 T5577 100 mm Passive, Read/Write
3917_0
T5577 RFID Tag - Watch with Adjustable Strap
$3.00 T5577 100 mm Passive, Read/Write
3918_0
T5577 RFID Tag - ABS Disc 30mm
$2.30 T5577 100 mm Passive, Read/Write
3920_0
T5577 RFID Tag - PVC Disc 30mm
$1.50 T5577 100 mm Passive, Read/Write
3921_0
RFID Tag - 5cm Metal Mount
$2.50 EM4102 80 mm Passive, Read-Only

USB Cables

Use a USB cable to connect this Phidget to your computer. We have a number of different lengths available, although the maximum length of a USB cable is 5 meters due to limitations in the timing protocol. For longer distances, we recommend that you use a Single Board Computer to control the Phidget remotely.

Product Physical Properties
Part Number Price Connector A Connector B Cable Length
3017_1
Mini-USB Cable 28cm 24AWG
$3.00 USB Type A USB Mini-B 280 mm
3018_0
Mini-USB Cable 180cm 24AWG
$4.00 USB Type A USB Mini-B 1.8 m
3020_0
Mini-USB Cable 450cm 20AWG
$12.00 USB Type A USB Mini-B 4.5 m
3036_0
Mini-USB Cable 60cm 24AWG
$3.50 USB Type A USB Mini-B 600 mm
3037_0
Mini-USB Cable 120cm 24AWG
$4.00 USB Type A USB Mini-B 1.2 m
CBL4012_0
Mini-USB Cable 83cm Right Angle
$4.50 USB Type A USB Mini-B (90 degree) 830 mm