µFR Anti-Collision Tool - C Console

µFR Series software with the anti-collision algorithm for reading the multiple cards

µFR Anti-collision Tool uses ISO/IEC 14443-3 anti-collision algorithm to enable simultaneous reading of the multiple tags on µFR Series devices. This software contains a set of functions for the µFR device RF analog registers configuring.

Docs & Software Download

Software overview

Software functions:

  • TresholdMinLevel Decrease/Increase
  • TresholdCollLevel Decrease/Increase
  • Check Reader Connection
  • RX Gain Decrease/Increase
  • RF level Decrease/Increase
  • Get Current Settings
  • Reset Settings
  • Get Reader Info
  • Get Software Version
  • Get Selected Card/Tag UID
  • Get Device Mode
  • Enable Anti-collision Mode
  • Disable Anti-collision Mode
  • List All Cards/Tags
  • Select Card/Tag
  • Deselect Card/Tag
  • Read Block
  • Write Block

Available programming languages:

  • Executable software tool – console
  • Executable software tool – GUI

Supported operating systems, platforms, and environments:

  • Cross-platform

Supported hardware:

  • µFR Series Devices
anti-collision-software

 

Software respiratory Description
ufr-anti_collision_algorithm

Multi-card mode demonstration using advantages of the ISO-14443-3 anti-collision algorithm.

ufr-examples-csharp-anti_collision_algorithm

C# Source code of multi-card mode demonstration using advantages of the ISO-14443-3 anti-collision algorithm.

Software manual

1. µFR Anti-collision Tool – Run Software 

Download: ufr-anti_collision_algorithm

Download and extract the software pack. Navigate to the subfolder with your operating system name. Execute file anti-collision-demo-con

anti-collision-demo-con

If you have installed your hardware drivers properly, the software will run the console with the main menu. 

anti-collision-demo-main-menu

If the reader is not connected properly, check the FTDI drivers installation. Otherwise, if the reader is connected and you still cannot run the software, navigate to the lib subfolder and find the µFR libraries in the lib/your_os_name subfolder. 

For Windows OS – copy the libraries to the folder where the same executive file is.

For Linux OS  – copy the libraries to your OS /lib, /usr/lib, or /usr/local/lib (depending on the distribution), and create a symbolic link for the library.

2. µFR Anti-collision Tool – Command Keys

The first group of the software menu includes the following commands:

  • TresholdMinLevel Decrease/Increase
  • TresholdCollLevel Decrease/Increase
  • Check Reader Connection
  • RX Gain Decrease/Increase
  • RF level Decrease/Increase
  • Get Current Settings
  • Reset Settings.

By selecting the command number (0-9), you can check, increase, decrease, or reset the assigned values of the RF analog register for the connected µFR device.

Each RF register value command has two options – decrease with odd function number, and increase with even function number.  

anti-collision-command-keys

2.1 µFR Anti-collision Tool – Reader Settings

Set the reader to the desired RF by entering the number of the listed functions as many times as you need, to increase or decrease it to the desired value. 

The example below shows all listed values decreasing and increasing for 1.

anti-collision-demo-commands-test

2.2 µFR Anti-collision Tool – Get Current Reader Settings

Enter 9 to get the current reader settings.

anti-collision-demo-analog-setup

2.2 µFR Anti-collision Tool – Reset Reader Settings

Enter 0 to reset the reader setting to the default value.

anti-collision-demo-reset

3. µFR Anti-collision Tool – Card/Tag Functions

The main menu second group of commands contains the list of functions for working with the cards/tags:

  • Get Reader Info
  • Get Software Version
  • Get Selected Card/Tag UID
  • Get Device Mode
  • Enable Anti-collision Mode
  • Disable Anti-collision Mode
  • List All Cards/Tags
  • Select Card/Tag
  • Deselect Card/Tag
  • Read Block
  • Write Block.

Call the desired function by entering its letter value.

anti-collision-demo-card-tag-functions

3.1 µFR Anti-collision Tool – Get Reader Info

Type the letter I to get the reader’s description.

anti-collision-demo-get-reader-description

3.2 µFR Anti-collision Tool – Get Software Version

Type the letter O to get the software version.

anti-collision-demo-get-software-version

3.3 µFR Anti-collision Tool – Get Selected Card/Tag UID

Type the letter P to get the selected card/tag UID.

Note: If the anti-collision algorithm is not enabled, you will get the UID of the first card detected in the reader RF field. Otherwise, you will get the UID of any other card/tag previously selected.

anti-collision-demo-get-tag-id

3.4 µFR Anti-collision Tool – Get Device Mode

Type the letter M to check if the anti-collision algorithm on the currently connected device is enabled or disabled.

anti-collision-demo-get-device-mode

3.5 µFR Anti-collision Tool – Enable Anti-collision Mode

Type the letter E to enable anti-collision mode.

anti-collision-demo-enable-anti-collision

3.6 µFR Anti-collision Tool – Disable Anti-collision Mode

Type the letter D to disable anti-collision mode.

anti-collision-demo--disable-anti-collision

3.7 µFR Anti-collision Tool – List Cards/Tags

Type the letter L to get the list of all cards/tags detected in the reader RF field.

As mentioned before, if the anticollision mode is off, the list will contain only one card/tag.

anti-collision-demo-one-card

After you enable the anti-collision mode and put more than one card/tag in the reader RF field, the software will display the list of all detected cards/tags. The reader’s sensitivity depended on the hardware performances and the current RF analog register settings.

anti-collision-demo-many-cards

3.8 µFR Anti-collision Tool – Select Card/Tag

Type the letter S to select the card/tag. Then enter the ordinal number of the desired card/tag (command number displayed in from of its UID).

anti-collision-demo--select-card-tag

3.9 µFR Anti-collision Tool – Deselect Card/Tag

Type the letter X to deselect the card/tag. 

anti-collision-demo--deselect-card

Note: To exit the selected card/tag and switch to another one, you need to deselect this card/tag first. Now, you can get the card/tag list again  (L letter) or select another card/tag immediately. To do that, follow the previously described steps (S + card/tag index number).

anti-collision-demo-deselect-and-select another

3.10 µFR Anti-collision Tool – Block Read

Type the letter R to read the selected card/tag block. 

anti-collision-demo-read-card-block-select

Now, enter the desired block address and press Enter. The console will display the card/tag content of the selected block. 

anti-collision-demo-read-card

3.11 µFR Anti-collision Tool – Block Write

Type the letter W to write the selected card/tag block. 

Now, enter the desired block address and press Enter

Type the content as 16-byte ASCII code. Even if you intend to write the data containing less than 16 characters, you need to fill in the entire block before recording. In this case, you will have to add some empty characters after the short data entry to fulfill the total 16 bytes. 

(To type the ASCII code non-breaking space/blank character, you can hold down the ALT key of your keyboard, type number 255, and release the ALT key).

Press Enter to confirm your entry. Console message confirms that your data is successfully recorded into the card/tag.

To check the just made entry, read this card/tag block content.

anti-collision-demo-write-block5

4. µFR Anti-collision Tool – Help Menu 

Since the software has a lot of commands, it can take some time to remember all of them. In case you forgot how to call some function, use the H letter to open the main menu. The console will list all the software commands. 

anti-collision-demo-help

Press the ESC key to close all processes and exit the software.

Note: The Anti-collision Mode changes (enabled/disabled) will be saved into the reader.

This manual presents the executable console software with an anti-collision algorithm for working with multiple cards/tags simultaneously. Also, the Anti-collision Tool software is available with a graphic interface (C#).