AdvanPay-500

Introduction

AdvanPay-500 features:


Introduction

AdvanPay-500 features a Jadak's RFID UHF M6e-Nano module that is used to control the deactivation of tags, by using its GPIO lines.

The connection with the RFID module is a uart over USB.


Jadak's Mercury SDK is required to control operation of AdvanPay-500.  The following development languages are supported:

The most common work flow is as defined in the below diagram

Getting Started

Helpful downloads:


These are the minimum steps to start using AdvanPay-500

1. Power AdvanPay unit

Follow these steps:

2. Operation

AdvanPay-500 is fully operated through Jadak's Mercury API. It is fully compatible with any application developed with Mercury API.

In particular Jadak's Universal Reader Assistant (URA) can be used for easy validation of the unit. URA can be downloaded freely from

https://www.jadaktech.com/product/thingmagic-universal-reader-assistant/


Once installed, connect one AdvanPay-500 unit and launch URA.


Note: because it uses Jadak's API, Java development is restricted to JDK 8.

After selecting the region and antenna, click on Next

RFID operation

Click on Connect

Approach a tag and you should see the TAG EPC onscreen.

Deactivation

Deactivation is done controlling GPIO#2 of the RFID module. As GPIO lines are bidirectional, we have to make sure GPIO#2 is configured as an output.

Stop RFID operation, after that go to Read&Write options to configure the GPIO

Note AdvanPay-500 will only deactivate tags if they are detected at the right spot. try removing the tag and enabling the GPIO#2, nothing happens.


Beeper

The beeper works exactly the same as the deactivation, but at line GPIO#1

Tag detection

Tag detection is managed automatically during normal operation. However, it is important to understand how it works.

Tag detection uses GPIO#3, in this cased used as an input:

(Unselectand select back the GPIO#3 to see Logic Level changes)

Integration

As mentioned previously, AdvanPay-500 is fully operated through Jadak's Mercury API. 

Before hurrying into develop some code it is paramount to understand the desired flow of events. There are many approaches, we present one, which can be used without much change, or just as an inspiration for your own approach.

HW control

AdvanPay-500 featrures 4 basic HW components:


Parts 2, 3 and 4 are controlled using the GPIO lines from the Nano module:


Tag life cycle

The suggested approach has three fundamental principles:


The following diagram explains the life cycle of a detected item

Please visit Keonn's GitHub account for the complete Java code

https://github.com/Keonn-Technologies/AdvanPay-500-Java-Examples

The code example is provided as is, as a starting point, not as a production-ready application:

Other

Security

The most common tricks to deceive the system is to pay for a cheap product and try deactivating an expensive one. For this to work the following has to happen:


How to avoid it

To avoid or minimize common deception tricks please take into account:


Additionally, the example in github already offers protection strategies.