rfid2 2.0.0.0
|
RFID 2 Click is a compact add-on board that contains a stand-alone RFID reader with a built-in antenna easy-to-use for embedded applications. This board features the ID-12LA-SA, an advanced low-cost RFID reader module usable with 38 different tags from ID Innovations.
We provide a library for the RFID2 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for RFID2 Click driver.
rfid2_cfg_setup
Config Object Initialization function. rfid2_init
Initialization function. rfid2_generic_write
This function writes a desired number of data bytes by using UART serial interface. rfid2_generic_read
This function reads a desired number of data bytes by using UART serial interface. rfid2_reset
This function resets the chip. This example reads and processes data from RFID 2 clicks.
The demo application is composed of two sections :
Initializes UART module and sets RST pin as OUTPUT and INT pin as INPUT. Also, initializes Driver init and reset chip.
Reads the ID card (HEX) and logs data on the USBUART-a.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.