How does it work?
Magic RFID Click is based on the M6E-NANO, Ultra High Frequency embedded RFID module with ultra-low power consumption from JADAK. Supporting the EPC Gen2V2 and ISO 18000-63 standard, the M6E-NANO module is available for global use. It can be customized for frequencies in many global regions like the Americas, European Union (EU), India, Korea, Australia, China, and Japan. The ThingMagic‘s M6E-NANO module operates in the UHF band from 859MHz up to 930MHz used for write/read applications. This module provides an output power of +27 dBm, adjustable in 0.01 dB steps with a read speed of 200 tags/sec, meaning that with the appropriate antenna and the configuration of the module itself, greater distances can be achieved (up to 4.5m).
Magic RFID Click supports one monostatic bidirectional RF antenna through edge vias. The maximum RF power delivered to a 50Ω load from each port is 0.5W or +27 dBm. The performance of the module is affected by antenna quality. Antennas that provide a 50Ω match at the operating frequency band perform best. Specified performance is achieved with antennas providing 17dB return loss or better across the operational range. Damage to the module will not occur for any return loss of 1dB. It only may occur if the antenna is disconnected during operation.
The module communicates with MCU using a UART serial port that supports complete functionality except for the lowest power operational mode with a baud rate from 9600 up to 921600bps. Upon initial Power-Up, the default baud rate of 115200 is used. The UART RX and TX lines are buffered with the SN74LVC1T45, a single-bit dual-supply bus transceiver with configurable voltage translation driven by the M6E-NANO Vout pin. This makes the inputs to 5V tolerant and increases the output current driving capability from 10mA to 15mA.
In order to increase the ESD protection, one TVS diode is added to the EN GPIO line. Enable pin labeled as EN, routed on the CS pin of the mikroBUS™ socket, must be pulled HIGH for the module to be operational. When this pin is in a LOW logic state, it turns the module off and reduces its power consumption to nearly zero.
Magic RFID Click possesses a miniature coaxial N.FL series antenna connector, that can be connected to the appropriate antenna which Mikroe has on its offer, such as Circular UHF RFID Antenna. This antenna represents an excellent choice for all UHF/RFID applications that operate in a frequency range from 902MHz up to 928MHz.
This Click board™ is designed to operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. It allows for both 3.3V and 5V capable MCUs to use the UART communication lines properly.
Specifications
Type
RFID/NFC
Applications
Can be used for a wide range of applications in the logistics, security access points, manufacturing, tag commissioning stations, and more.
On-board modules
Magic RFID Click is based on the M6E-NANO, Ultra High Frequency embedded RFID module with ultra-low power consumption from JADAK.
Key Features
Ultra-low power consumption, EPCglobal Gen 2 (ISO 18000-6C), tag read rate of up to 200 tags/second, read range of up to 4.5m, 0 dBm to 27dBm transmit power, and more.
Interface
UART
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 on Magic RFID Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
Magic RFID Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Operating Frequency Range | 859 | – | 930 | MHz |
Read Range | – | – | 4.5 | m |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the Magic RFID Click on our LibStock page, 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.
Library Description
The library contains basic functions for working with Magic RFID Click board™. The user has the ability to read tags and RSSI values.
Key functions:
int8_t thingmagic_get_tag_rssi ( void )
– Get Tag RSSI valuevoid thingmagic_tag_parser ( thingmagic_data_t *data_obj )
– Gets Tag value after parsingvoid thingmagic_process ( uint8_t rsp_data )
– General collecting response function
Examples description
The application is composed of three sections :
- System Initialization – Initialize UART module and all necessary GPIO pins
- Application Initialization – Initialize driver init and starts default configuration module
- Application Task – Reads TAG information and RSSI value of the TAG
void application_task ( ) { if ( thingmagic_get_data_status( ) == 1 ) { thingmagic_tag_parser( &tag ); mikrobus_logWrite( ">> TAG INFO: ", _LOG_TEXT ); for( cnt = 0; cnt < 12; cnt++ ) { ByteToHex( tag.tag_buf[ cnt ], demo_text ); mikrobus_logWrite( " 0x", _LOG_TEXT ); mikrobus_logWrite( demo_text, _LOG_TEXT ); } mikrobus_logWrite( " ", _LOG_LINE ); mikrobus_logWrite( ">> TAG RSSI: ", _LOG_TEXT ); IntToStr( tag.tag_rssi, demo_text ); mikrobus_logWrite( demo_text, _LOG_LINE ); thingmagic_reset_data( ); } }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART Library
- Conversions Library
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
This 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.
For more information about mikroSDK, visit the official page.