Questions tagged [rfid]

Radio-Frequency Identification. Uses electromagnetic fields to transmit data for identification purposes, such as between a tag and a reader. RFID is the precursor to Near Field Communication (NFC).

Filter by
Sorted by
Tagged with
11 votes
3 answers
38k views

How do I use RFID-RC522 with an Arduino?

I am working on a project for my local Makerspace, we have limited budget so I was hoping to use the RFID-RC522 el'cheap'o RFID/NFC readers on eBay, I received a couple of SPI based boards, they work, ...
9 votes
2 answers
1k views

RFID/NFC (13.56 MHz), is it possible to send raw bytes and receive response?

I'm trying to implement a card reader (i.e. credit cards) for shopping purposes, and AFAIK those cards are ISO 14443-A compliant (Mifare Classic 1K). I already made an Android app that can send custom ...
6 votes
3 answers
14k views

Issue sharing MISO with multiple RC522 RFID Readers

so for about the last 8.5 hours (almost non-stop) I have been trying to figure out one issue and I have exhausted every search I could possibly think of. I'm building a puzzle that requires 5 RFID ...
5 votes
1 answer
717 views

Can the Adafruit PN532 NFC/RFID be used to read Gen-2 EPC class RFID Tags?

I used Mifare Classic cards on a previous project and it worked brilliantly with the RIFD/NFC shield and Arduino Uno. I came across a Gen 2 EPC Class 1 RFID tags. This tags are long range ones. They ...
4 votes
3 answers
6k views

MFRC522 Only working sometimes

/* * -------------------------------------------------------------------------------------------------------------------- * Example sketch/program showing how to read data from a PICC to serial. * -...
4 votes
1 answer
1k views

RFID/NFC Tag get data from wordpress MySQL

I have a local workshop for students to teach them 3D printing/woodworking I want to know if its possible to create RFID/NFC tags using wordpress data from MySQL or HTTP/HTTPS. Web Scenario : I have a ...
4 votes
2 answers
1k views

How can I get ultra clean dc wall power for my arduino project?

I'm doing an rfid project that requires a read range of at least 5 inches or about 13cm. I'm using a nano with a usb port, a rfid reader from priority 1 design and a large antenna. The problem I'm ...
  • 155
4 votes
1 answer
267 views

SPI between Master arduino and Slave arduino

How can I send the string from Slave SPI to Master SPI? I want to write code in Bare Metal. The problem which I am facing is I can't make out what will be my blocking function in Master SPI code when ...
  • 71
4 votes
1 answer
768 views

Is it possible to extend the reach of a PN532 NFC/RFID shield?

I am working off an Arduino Uno with an AdaFruit PN532 NFC/RFID shield. The goal is to have a shoe box, with a false bottom. Under that false bottom would be my prototype, which I hope will be able to ...
  • 181
4 votes
2 answers
718 views

How can I work with two devices that use the SPI protocol?

I'm working with a project in which I need to use an SD card module and an RFID antenna simultaneously. The devices that I'm using are the MFRC522 and the CATALEX SD Card Adapter. Both have SPI ...
3 votes
3 answers
872 views

Request for help condensing code and saving memory

I'm building a final project for a class that involves playing an audio file of a wave shield every time I scan an amiibo with an RFID scanner. I'm a pretty new programmer, so I'm not very familiar ...
3 votes
3 answers
16k views

Using interrrupts with RC522

I have a project using the RC522 RFID module with my Arduino Uno board and miguelbalboa's rfid library. The example code and every other code I find on the internet work pooling the device in order to ...
3 votes
2 answers
459 views

How to avoid pulling the RX0 pin to reset sketch

My project requires reading 5 serial devices (RFID readers) at the same time. I chose an Arduino Mega 2560 as it comes with 4 serial RX ports. For the fifth port I am using the SoftwareSerial library. ...
  • 133
3 votes
1 answer
8k views

RFID-RC522 not working, red led is on

I am working with RFID-RC522 and Arduino UNO. I have check pin configurations again and again tried different libraries. It is not reading card and red led on RC522 is consistently on.
  • 163
3 votes
1 answer
3k views

RFID-RC522 Can't access sector after writing to trailer block

I'm currently using an Arduino Uno R3 and an RFID-RC522 with https://github.com/miguelbalboa/rfid . I wrote the following bytes to the trailer block in order to experiment with it: byte ...
3 votes
2 answers
2k views

How to read an RFID reader?

I want to connect an RFID reader to an Arduino board. The RFID reader has several wires attached, and the manual mentions them as follows: Red: VCC +12V Black: GND Green: D 0/RX/4R+ White: D 1/TX/4R− ...
3 votes
1 answer
11k views

Connect multiple RFID-RC522 cards?

I have a project that requires 4 different RFID-RC522 readers. The RFID-RC522 has the following pins: SDA SCK MOSI MISO IRQ GND RST 3.3V I have read that the SDA pin is used for selecting the ...
  • 747
3 votes
0 answers
641 views

RFID Code (and setup) works on an UNO but not on the Yun

We're using two RDM6300 RFID readers for this, and the code works when plugged into an UNO, but not when connected to the Yun. We have one of the rfids plugged into the rx pin (0 on the digital side) ...
3 votes
0 answers
3k views

Can we use an alternate RFID reader to read HID cards?

I'm working on a project where I need to read the HID RFID cards. Behind the card it shows as HID 0008p and based on the documentation, it looks like it uses a 125 kHz frequency. I tried using ...
  • 41
3 votes
0 answers
1k views

Using Johnny-five API with RFID Controller Shield

Is it possible to use the Adafruit PN532 NFC/RFID Controller Shield with the Johnny Five API? I've searched the depths of google and I'm unable to find anything so far. If it is possible, how can I go ...
3 votes
0 answers
1k views

Hub RFID Arduino + WIFI

I will start an Arduino project and its main requirement is that some RFID readers (at most 6 readers) be connected and controled by the arduino board. I do not have a strong background in ...
2 votes
7 answers
18k views

How can I stop SoftwareSerial from receiving data and re-enable it at some other point?

My project involves and RFID reader connected to an Arduino Pro Mini (5V, 16MHz) and an Adafruit CC3000 breakout WiFi chip. The device reads RFID tags and sends them to my web service. I am using ...
2 votes
3 answers
203 views

How can my library source code instantiate an object from another library?

I'm having trouble explaining my issue. What I'm doing is creating a library to work easily with the RFID reader/writer RC522 module. I need to create an object of the library MFRC522 in my .cpp file ...
2 votes
3 answers
9k views

Use RFID-RC522 with other Pins

I'm wondering where the pin setting is manifested in the library. I want to use the RC522 with other digital pins than the default 50-53 pins, because I am using a shield for a display on theese ports....
  • 185
2 votes
1 answer
2k views

Smart Chess-board (possibly using RFIDs?)

I'd like to make a chess-board with the ability to detect the position of each piece. The solution that occurs to me would be to put an RFID reader under each square and put RFID tags on the bottoms ...
  • 129
2 votes
2 answers
3k views

Arduino Yun RFID-RC522 module not working

I have tried to use Arduino Uno with RFID-RC522 module. It is good work[1] and read rfid cards. But Arduino Yun doesn't work with RFID-RC522 module. What is diffrent Uno and Yun? 1- http://www....
  • 35
2 votes
1 answer
9k views

Emulating a generic Mifare USB peripheral device with RFID-RC522

Hardware Dev Board: Arduino Nano V3.0 Module: RFID-RC522 13.56 MHz Cable: USB A - USB Mini B Configuration Physical Code /* * -------------------------------------------------------------------...
  • 121
2 votes
1 answer
462 views

Arduino TimerOne breaks the program when calling "digitalRead"

I'm trying to make this project. But i have a problem running this code. It appears to be val = digitalRead(inPin); breaks entire program. just because i call this from the callback function which ...
2 votes
3 answers
415 views

RFID stops working when I place the servo

I've successfully implemented Door Unlock system described in this tutorial. At first I used Arduino Uno and RFID RC522 Reader and MG90S Micro servo. When I used Arduino Uno with Arduino Pro Micro ...
2 votes
1 answer
6k views

Arduino Uno - How to write personal data in NTAG213 using RFID-RC522

I am trying to write some data in NTAG213 sticker with this code: #include <SPI.h> #include <MFRC522.h> constexpr uint8_t RST_PIN = 9; // Configurable, see typical pin layout above ...
2 votes
1 answer
377 views

Power RFID module using GPIO

I am building an ESP8266 device that uses RFID but need to conserve battery power. The ESP is a Wemos D1 Mini and the RFID module is a RC522 (still waiting for it to arrive), which needs 3.3 V. ...
  • 21
2 votes
1 answer
611 views

RFID reader for unknown tag 125kHz

I have an unknown RFID tag and tried to read its value. I bought two readers, RDM6300 125KHZ and RC522 13.56MHz. Each of the readers connected to Arduino works well with the purchased corresponding ...
2 votes
2 answers
399 views

How to monitor a sensor for specific period

As noted in earlier posts, I am building a model railroad crossing gate signal, complete with gate arms, flashers and sound. Although I haven't settled on exactly how I am going to implement detection ...
  • 360
2 votes
1 answer
7k views

How to emulate an RFID tag with the RC522

Is it possible to emulate an RFID tag with the RC522? (Spec sheet: nxp MFRC522.pdf) I want the RC522 to act like a NTAG213 nxp.com/documents/data_sheet/NTAG213_215_216.pdf and to be read/write by ...
2 votes
1 answer
2k views

How to pass value of a function from the RFID-RC522 library into a variable then be sent into either serial or ethernet?

I'm using an RC522 RFID reader with an Arduino UNO. There is a function?? (or whatever it's called :)) in Miguel Balboa's new MFRC522.h library which is mfrc522.uid.uidByte[i] that prints the bytes of ...
2 votes
1 answer
45 views

NFC hang after RF_ON command

We have developed our board with PN5180 NFC but I cannot make it work properly. After I send RF_ON command I am stuck on STATE_CHANGE_IRQ_STAT while waiting for TX_RFON_IRQ_STAT but the state never ...
2 votes
1 answer
327 views

Arduino Project Interrupt Error?

I have a project to be made i.e. water Billing System using RFID(Mfrc522) on Arduino NANO. There is one difficulty that I haven't been able to overcome. I hope someone could help me out. Project flow: ...
2 votes
1 answer
1k views

Using RFID and fingerprint sensor together

I am using both an RFID and a fingerprint sensor in my project. When running the program, the RFID is detected but the fingerprint sensor is not detected and hence my code is not going forward. Here ...
  • 41
2 votes
1 answer
721 views

Adding Library to my sketchbook

Hey so basically I have my Arduino uno r3 setup with my RFID-RC522. I am looking to add this library to so I can use the examples alongside the ones I already have. https://github.com/BoolLi/...
2 votes
1 answer
2k views

Aptotec PN532 shield power consumption

I am currently planning a battery-powered project, where one of the tasks involves reading Desfire EV1 tags. Since the cheap RC522 based NFC shields are reported not to work with the Desfire EV1 tags, ...
  • 328
2 votes
1 answer
618 views

RFID RF522 kit for access control

I am trying the RFID RC522 reader kit with an Arduino UNO to built a controlled access system for a door. Using the code below, I am able to read the UID of my card and light up an LED when the ...
2 votes
1 answer
2k views

Read ISO/IEC 14443B (NFC Type B) with PN532

I bought a PN532 from Elechouse (documentation here) because I need to read IDs from Type B NFC cards. My problem is that even if they say the hardware supports Type B, the official libraries an ...
  • 121
2 votes
1 answer
33 views

Using MFRC522 along with other inputs(Bluetooth, keypad)

I'm making a little parking lot, which includes mostly opening a servo motor using either keypad, bluetooth(hc-05) and freshly added, Rfid(RC522) I cant get inputs from other sources if i want to get ...
  • 21
2 votes
0 answers
223 views

Using ICSP pins as SPI in Arduino Due

I am using two RFID sensors operating on SPI with arduino Due. They will not be operating at the same time. Is it favorable to use the ICSP pins as SPI pins for one of them, or use them in a one ...
  • 121
2 votes
0 answers
168 views

RFID and Keypad Based Door Lock Using Arduino [closed]

I'm new to the Arduino world and I have a question. I found this project to do but I need your help, I want instead of this servomotor to put an electromagnetic door lock, could you help me with the ...
  • 21
2 votes
0 answers
2k views

NFC PN532 SPI - Error: Timeout when waiting for ACK

I've been struggling to get the PN532 module working over SPI with an Arduino Uno. I have the wires connected as follows: SCK -> 13 MISO -> 12 MOSI -> 11 SS -> 10 VCC -> 5V ...
  • 21
2 votes
0 answers
908 views

Make RFID Tag as a variable

I want to make RFID Tag as a variable, and push it to the web server. But I struggle to do the Serial.read function. Any solutions? Here is my code #include <ESP8266WiFi.h> #include <SPI....
2 votes
0 answers
5k views

Arduino RFID Mifare Classic dump info

I have my Arduino uno setup with RC522 reader. I am able to dump the data that is held on my test card supplied with the reader but I wish to read the data blocks held within another card I have. The ...
  • 21
2 votes
0 answers
921 views

RFID working with interrupts

I recently created a rfid project with the sensor rfid rc522. I used the instructions mentioned by this site and works perfectly. However, I intend this project to be battery supplied and I want to ...
  • 171
2 votes
0 answers
3k views

How to write an integer value to an RFID tag?

I'm working on a project in which two Arduinos are to be used, each Arduino is connected to an RFID reader. First RFID reader should write an integer value to the tag detected whereas the second RFID ...
  • 23

1
2 3 4 5