How to Use the ACR122U Software Development Kit SDK for NFC Applications
The ACR122U is a USB NFC reader that supports various contactless cards and tags, including Mifare, ISO 14443, FeliCa and NFC. It is compliant with the CCID specification, which means it can be used with any PC/SC-compliant software. The ACR122U Software Development Kit (SDK) provides a comprehensive collection of sample codes, tools, utilities and reference manuals to help developers create NFC-based solutions using the ACR122U reader.
What is Included in the ACR122U SDK
The ACR122U SDK contains the following components:
Smart card readers: 1 x ACR122U NFC Contactless Smart Card Reader and 1 x ACR122T NFC Contactless Smart Card Reader
Test cards/tokens: 5 x Mifare 1K Cards
CD-ROM: Demo programs, tools, utilities, sample codes and reference manuals
How to Install the ACR122U SDK
To install the ACR122U SDK, follow these steps:
Insert the CD-ROM into your computer's CD drive.
Run the setup.exe file and follow the instructions on the screen.
Select the components you want to install and click Next.
Choose the destination folder and click Next.
Wait for the installation to complete and click Finish.
How to Use the ACR122U SDK
The ACR122U SDK provides various demo programs, tools, utilities and sample codes to demonstrate how to use the ACR122U reader and communicate with contactless cards and tags. Here are some examples of how to use them:
The demo programs are located in the Demo Program folder of the SDK. They show how to implement different NFC applications using the ACR122U reader, such as:
NFC Peer-to-Peer Demo: This program shows how to exchange data between two ACR122U readers using NFC peer-to-peer mode.
Visitor Management System Demo: This program shows how to use the ACR122U reader and Mifare cards to register and authenticate visitors in a simple visitor management system.
Tools & Utilities
The tools and utilities are located in the Tools & Utilities folder of the SDK. They allow you to perform various reader and card-related commands, such as:
ACR122U Tool: This tool lets you configure the reader settings, such as buzzer, LED, polling interval, etc. It also lets you send APDU commands to contactless cards and view the responses.
QuickView: This tool checks for proper driver installation and displays the reader information, such as firmware version, serial number, etc.
ACS Easy Key: This tool allows you to change Mifare security settings, such as keys, access conditions, etc.
ACR122U Scripting Tool: This tool allows you to send a sequence of commands to contactless cards and view the responses. You can create your own scripts or use the predefined ones.
The sample codes are located in the Sample Codes folder of the SDK. They demonstrate how to use basic commands to communicate with the reader and contactless cards using different programming languages, such as Java, Delphi 7, Visual Basic 6, Visual C++ 6, Visual C++ 2005 (x64), Visual C# 2005 and Visual Basic .Net 2005. You can use these sample codes as a reference or modify them according to your needs. 061ffe29dd