MikroElektronika
RFid click
RFid click
SKU:MIKROE-1434
Out of stock
Couldn't load pickup availability
Share
RFid click features CR95HF 13.56 MHz contactless transceiver as well as trace antenna. The click is designed to run on a 3.3V power supply only. It communicates with the target MCU via mikroBUS™ UART (TX, RX), SPI (MISO, MOSI, SCK, CS) INT, RST, PWM and AN lines.
The click functions as an integrated transceiver for contactless applications. The board contains a dedicated internal frame controller and analog front end (AFE) for RF communications. It supports ISO/IEC 14443 type A and B, ISO/IEC 15693 and ISO/IEC 18092 protocols (tags) as well as the detection, reading and writing of NFC forum type 1, 2, 3 and 4 tags.
CR95HF integrated transceiver
The CR95HF has 2 operating modes: Wait for Event (WFE) and Active.
In Active mode, the CR95HF communicates actively with a tag or an external host. WFE mode includes four low consumption states: Power-up, Hibernate, Sleep and Tag Detector. The transceiver can switch from one mode to another.
The Hibernate state has the lowest power consumption out of the four states (1 µA typ. 5 µA max.).
SMD jumpers
Two SMD jumpers are provided on the board. In case you want to use UART interface, it is necessary to solder SMD jumpers in B position. Otherwise, if you want to use SPI interface, jumpers should be left in its default position (A). In that case interrupt pins (IN and OUT) are usable.
Key features
- CR95HF IC
- Operating modes supported: Reader/Writer
- RF communication @13.56 MHz
- Supports NFC Forum Type 1, 2, 3 and 4 tags
- 3.3V power supply
- Interface: UART, SPI
Specification
Type | RFID,NFC |
Applications | Board can be used with 13.56 MHz RFid tags or identification cards. Ideal for tracking and security systems that needs RFID support |
On-board modules | CR95HF 13.56 MHz contactless transceiver and trace antenna |
Key Features | Dedicated internal frame controller and analog front end (AFE) for RF comm. available on-board. It can detect, read and write NFC forum type 1, 2, 3 and 4 tags |
Key Benefits | Supports ISO/IEC 14443 type A and B, ISO/IEC 15693 and ISO/IEC 18092 protocols (tags) |
Interface | SPI,GPIO,UART |
Input Voltage | 3.3V |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on RFid click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Programming
Code examples that demonstrate the usage of RFID click with MikroElektronika hardware, written for mikroC for ARM, AVR, dsPIC, FT90x, PIC and PIC32 are available on Libstock.
The following code snippet uses a TFT to communicate with the user when the click is ready for reading and afterwards tells the user what the Tag ID is.
1 void main() { 2 Init(); // Initialize MCU and peripherals 3 DrawFrame(); 4 while (!EchoResponse()) { // Until CR95HF is detected 5 IRQ_IN = 1; // put IRQ_IN pin at low level 6 delay_ms(1); 7 IRQ_IN = 0; // put IRQ_IN pin at low level 8 delay_ms(1); 9 } 10 TFT_Write_Text("CR95HF Device Connected.", 55, 60); 11 12 ReadCR95HF_ID(); 13 Calibration(); 14 IndexMod_Gain(); 15 AutoFDet(); 16 Select_ISO_IEC_18092_Protocol(); 17 18 while (1) { 19 if (!TAG_Flag) 20 GetNFCTag(); // Get NFC ID 21 22 if (!NFC_Flag) 23 GetTagID(); // Get Tag ID 24 25 if (ID[0] == 0) { // If there is no tag present 26 flag++; // Increment counter flag 27 } 28 else { // If tag is present 29 flag = 0; // Reset counter flag 30 if (strcmp(ID_old, ID)) { // Compare previous and current tag ID 31 TFT_Set_Font(TFT_defaultFont, CL_WHITE, FO_HORIZONTAL); // Set font color to white 32 TFT_Write_Text(ID_old, x_pos_old, 180); // Delete previous tag ID 33 TFT_Set_Font(TFT_defaultFont, CL_RED, FO_HORIZONTAL); // Set font color to red 34 TFT_Write_Text("Tag ID :", 130, 160); 35 TFT_Write_Text(ID, x_pos, 180); // Display current tag ID 36 TFT_Set_Font(TFT_defaultFont, CL_WHITE, FO_HORIZONTAL); // Set font color to white 37 TFT_Write_Text("Put the RFid Tag over the RFid Click Antenna", 25, 140); 38 strcpy(ID_old, ID); // Set current ID as previous ID 39 Delay_ms(2000); 40 x_pos_old = x_pos; 41 } 42 } 43 if (flag > 5) { // If counter flag has reached value > 5 44 TFT_Set_Font(TFT_defaultFont, CL_BLACK, FO_HORIZONTAL); // Set font color to black 45 TFT_Write_Text("Put the RFid Tag over the RFid Click Antenna", 25, 140); 46 TFT_Set_Font(TFT_defaultFont, CL_WHITE, FO_HORIZONTAL); // Set font color to white 47 TFT_Write_Text("Tag ID :", 130, 160); 48 TFT_Write_Text(ID_old, x_pos_old, 180); // Delete previous tag ID 49 ID_old[0] = 0; // Terminate the old ID string 50 flag = 0; // Reset counter flag 51 } 52 ID[0] = 0; // Terminate the ID string 53 54 // Clear read and write buffers 55 for (j = 0; j < 18; j++) { 56 rdata[j] = 0; 57 sdata[j] = 0; 58 } 59 } 60 }




New Products
-
Sold out
Probe Pipe Fittings 1/2"
Vendor:Atlas ScientificRegular price Rs. 2,419.00Regular priceUnit price / perSold out -
UBEC 12A (3-14S)
Vendor:HolybroRegular price Rs. 4,199.00Regular priceUnit price / per -
Analog Discovery Studio Max: Multi-Instrument Lab for Engineering Experimentation
Vendor:DigilentRegular price Rs. 217,999.00Regular priceUnit price / perSold out -
Sold out
OAK 4 D Pro Wide
Vendor:LuxonisRegular price Rs. 117,969.00Regular priceUnit price / perSold out -
Sold out
OAK 4 D Pro Fixed Focus
Vendor:LuxonisRegular price Rs. 106,719.00Regular priceUnit price / perSold out -
Sold out
OAK 4 D Pro Auto Focus
Vendor:LuxonisRegular price Rs. 106,719.00Regular priceUnit price / perSold out -
Sold out
OAK 4 D Auto Focus
Vendor:LuxonisRegular price Rs. 95,479.00Regular priceUnit price / perSold out -
Sold out
OAK 4 D Fixed Focus
Vendor:LuxonisRegular price Rs. 95,479.00Regular priceUnit price / perSold out -
Sold out
OAK 4 D Wide
Vendor:LuxonisRegular price Rs. 106,719.00Regular priceUnit price / perSold out -
Sold out
OAK-FFC IMX577 M12
Vendor:POLOLURegular price Rs. 8,499.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 20A
Vendor:POLOLURegular price Rs. 329.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 25A
Vendor:POLOLURegular price Rs. 439.00Regular priceUnit price / perSold out -
Pololu I²C Isolator, ISO1640
Vendor:POLOLURegular price Rs. 449.00Regular priceUnit price / per -
3pi+ 32U4 OLED Robot Kit with 30:1 MP Motors (Standard Edition Kit)
Vendor:POLOLURegular price Rs. 15,549.00Regular priceUnit price / per -
Conductivity Calibration K 1.0 Set (4 pouches)
Vendor:Atlas ScientificRegular price Rs. 1,599.00Regular priceUnit price / perSold out -
Analog Discovery 3 Pro Bundle
Vendor:DigilentRegular price Rs. 42,569.00Regular priceUnit price / per -
Lighthouse swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 474,999.00Regular priceUnit price / perSold out -
Loco Swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 544,999.00Regular priceUnit price / per -
Kopis X8 Cinelifter 5" Kit - Caged (Frame Kit)
Vendor:HolybroRegular price Rs. 28,199.00Regular priceUnit price / per -
Atlas Scientific i3 InterLink
Vendor:Atlas ScientificRegular price Rs. 6,349.00Regular priceUnit price / per -
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / per -
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / per -
Power Distribution Board (PDB) Board (With XT30 Pre-soldered)
Vendor:HolybroRegular price Rs. 1,099.00Regular priceUnit price / per -
Holybro 1045 Propeller 2 Pair CW+CCW-Black
Vendor:HolybroRegular price Rs. 1,549.00Regular priceUnit price / per -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / per