Carte à clic NFC Tag 5
Carte à clic NFC Tag 5
Key Features
- Interface double (interface I2C et sans contact RF), EEPROM 64 Kbit, protection par mot de passe, récupération d'énergie et fonctions d'état RF, compatible ISO 15693 et ISO 18000-3 mode 1, et plus encore
- Basé sur le M24LR64E-R - circuit intégré d'étiquette NFC/RFID dynamique de STMicroelectronics
- Peut être utilisé dans n'importe quelle application personnalisée telle que les équipements industriels ou médicaux, l'électronique grand public, etc.
- mikroBUS : interfaces I2C et analogiques
La carte NFC Tag 5 Click Board™ est une carte complémentaire compacte qui contient un circuit intégré d'étiquette NFC compact. Cette carte comprend le M24LR64E-R, un circuit intégré d'étiquette NFC/RFID dynamique avec une EEPROM 64 Kbit à double interface de STMicroelectronics. Il comprend une interface I2C ainsi qu'une interface sans contact RF fonctionnant à 13,56 MHz, organisée en 8192 × 8 bits en mode I2C et 2048 × 32 bits en mode RF ISO 15693 et ISO 18000-3 mode 1. Le M24LR64E-R dispose également d'une sortie analogique de récupération d'énergie et d'une broche de sortie numérique configurable par l'utilisateur, utilisée comme interruption, basculant pendant l'écriture RF en cours ou le mode RF occupé. Cette carte Click board™ représente une solution idéale pour intégrer rapidement la technologie d'étiquette NFC dans toute application personnalisée telle que les équipements industriels ou médicaux, l'électronique grand public, etc.
La carte NFC Tag 5 Click Board™ est prise en charge par une bibliothèque compatible mikroSDK, comprenant des fonctions qui simplifient le développement logiciel. Cette carte Click Board™ est un produit entièrement testé, prêt à être utilisé sur un système équipé de la prise mikroBUS™.
How Does The Work?
The NFC Tag 5 Click Board™ is based on the the M24LR64E-R, a 64-Kbit dynamic NFC/RFID tag with password protection, energy harvesting, and RF status functions from STMicroelectronics. This highly integrated Near Field Communication tag module comes with a dual-interface electrically erasable programmable memory (EEPROM), an I2C interface alongside an RF contactless interface operating at 13.56MHz, organized as 8192×8 bits in the I2C mode and 2048×32 bits in the ISO 15693 and ISO 18000-3 mode 1 RF mode.
The NFC Tag 5 Click Board™ contains the properly tuned integrated trace antenna on the PCB to power and access the device using the ISO/IEC 15693 and ISO 18000-3 mode 1 protocol. Power is transferred to the M24LR64E-R by radio frequency at 13.56MHz via coupling antennas.
As mentioned before, this Click board™ communicates with MCU using the standard I2C 2-Wire interface with a maximum clock frequency of 400kHz, fully adjustable through software registers. It also provides an Energy harvesting mode on the analog pin of the mikroBUS™ socket marked as VH. When the Energy harvesting mode is activated, the M24LR64E-R can output the excess energy from the RF field on the VH pin. If the RF field strength is insufficient or when the Energy harvesting mode is disabled, the VH pin goes into a high-Z state, and the Energy harvesting mode is automatically stopped.
Besides, it also features a user-configurable pin marked as BSY, routed to the AN analog pin of the mikroBUS™ socket, used either to indicate that the M24LR64E-R is executing an internal write cycle from the RF channel or that an RF command is in progress. When configured in the RF write in progress mode, the BSY pin is driven low for the entire duration of the RF internal write operation, and when configured in the RF busy mode, this pin is driven low for the whole period of the RF command progress.
The NFC Tag 5 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | RFID/NFC |
Applications | Can be used in any custom application such as industrial or medical equipment, consumer electronics, and more |
On-board modules | M24LR64E-R - dynamic NFC/RFID tag IC from STMicroelectronics |
Key Features | Dual interface (I2C interface and RF contactless) 64-Kbit EEPROM, password protection, energy harvesting, and RF status functions, ISO 15693 and ISO 18000-3 mode 1 compatible, and more |
Interface | Analog,I2C |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the NFC Tag 5 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Energy Harvest | VH | 1 | AN | PWM | 16 | NC | |
NC | 2 | RST | INT | 15 | BSY | RF Status | |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Right | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
NFC TAG 5 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
External RF Signal Frequency | - | 13.56 | - | MHz |
EEPROM Size | - | 64 | - | kBit |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the NFC Tag 5 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the NFC Tag 5 Click Board™ driver.
Key functions
-
nfctag5_write_ndef_uri_record
This function writes specific NDEF URI record to the memory address specified with NTAG5LINK_NDEF_MESSAGE_START_ADDRESS macro. -
nfctag5_write_message_to_memory
This function writes specified number of data bytes to the user memory starting from @b block_addr. -
nfctag5_read_message_from_memory
This function reads specified number of data bytes from the user memory starting from @b block_addr.
Example Description
This example demonstrates the use of the NFC Tag 5 Click Board™ by programming the specified NDEF URI record to the memory, and showing the memory read/write feature.
void application_task ( void )
{
uint8_t message_buf[ 100 ] = { 0 };
if ( NFCTAG5_OK == nfctag5_write_message_to_memory ( &nfctag5,
TEXT_MESSAGE_ADDRESS,
TEXT_MESSAGE,
strlen ( TEXT_MESSAGE ) ) )
{
log_printf( &logger, " "%s" has been written to memory address 0x%.4X rn",
( char * ) TEXT_MESSAGE, ( uint16_t ) TEXT_MESSAGE_ADDRESS );
}
if ( NFCTAG5_OK == nfctag5_read_message_from_memory ( &nfctag5,
TEXT_MESSAGE_ADDRESS,
message_buf,
strlen ( TEXT_MESSAGE ) ) )
{
log_printf( &logger, " "%s" has been read from memory address 0x%.4X rnn",
message_buf, ( uint16_t ) TEXT_MESSAGE_ADDRESS );
}
Delay_ms( 5000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.NFCTag5
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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.
MIKROSDK
The NFC Tag 5 Click Board™is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the NFC Tag 5 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the NFC Tag 5 Click Board™ driver.
Key functions
-
nfctag5_write_ndef_uri_record
This function writes specific NDEF URI record to the memory address specified with NTAG5LINK_NDEF_MESSAGE_START_ADDRESS macro. -
nfctag5_write_message_to_memory
This function writes specified number of data bytes to the user memory starting from @b block_addr. -
nfctag5_read_message_from_memory
This function reads specified number of data bytes from the user memory starting from @b block_addr.
Example Description
This example demonstrates the use of the NFC Tag 5 Click Board™ by programming the specified NDEF URI record to the memory, and showing the memory read/write feature.
void application_task ( void )
{
uint8_t message_buf[ 100 ] = { 0 };
if ( NFCTAG5_OK == nfctag5_write_message_to_memory ( &nfctag5,
TEXT_MESSAGE_ADDRESS,
TEXT_MESSAGE,
strlen ( TEXT_MESSAGE ) ) )
{
log_printf( &logger, " "%s" has been written to memory address 0x%.4X rn",
( char * ) TEXT_MESSAGE, ( uint16_t ) TEXT_MESSAGE_ADDRESS );
}
if ( NFCTAG5_OK == nfctag5_read_message_from_memory ( &nfctag5,
TEXT_MESSAGE_ADDRESS,
message_buf,
strlen ( TEXT_MESSAGE ) ) )
{
log_printf( &logger, " "%s" has been read from memory address 0x%.4X rnn",
message_buf, ( uint16_t ) TEXT_MESSAGE_ADDRESS );
}
Delay_ms( 5000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.NFCTag5
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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.
MIKROSDK
The NFC Tag 5 Click Board™is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Carte à clic NFC Tag 5
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.