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
3answers
37k 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
2answers
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 ...
5
votes
3answers
10k 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
1answer
600 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
1answer
622 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 ...
4
votes
2answers
819 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 ...
4
votes
3answers
3k views

MFRC522 Only working sometimes

/* * -------------------------------------------------------------------------------------------------------------------- * Example sketch/program showing how to read data from a PICC to serial. * -...
4
votes
1answer
583 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 ...
4
votes
2answers
515 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
2answers
349 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. ...
3
votes
1answer
9k 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 ...
3
votes
1answer
4k 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.
3
votes
2answers
1k 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− ...
2
votes
3answers
145 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
1answer
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 ...
2
votes
2answers
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....
2
votes
1answer
234 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
2answers
9k 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 ...
2
votes
1answer
232 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. ...
2
votes
1answer
423 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
1answer
4k 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
2answers
7k 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....
2
votes
1answer
1k 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
1answer
2k 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
1answer
1k 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, ...
2
votes
1answer
2k 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 ...
2
votes
1answer
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 ...
2
votes
2answers
317 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
0answers
574 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) ...
2
votes
0answers
2k 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 ...
2
votes
0answers
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 ...
1
vote
3answers
134 views

Arduino Shield on Breadboard

I would like to ask if I can stack directly Adafruit PN532 RFID Shield onto my breadboard. Or do I need something for that? Thank you.
1
vote
5answers
3k views

MFRC522 not scanning card

So I have an Arduino Uno and an MFRC-522 reader, using a breadboard I've wired it up according to the example sketch which is the mfrc522 DumpInfo sketch. /*Typical pin layout used: * * ...
1
vote
1answer
2k views

Arduino Nano wih mfrc522 warning error

UPDATE I have managed to get rid of the WARNING: Communication failure, is the MFRC522 properly connected?. Unfortunately, that did not fix the firmware error it now says 0x80. I have now also tried ...
1
vote
1answer
2k views

RFID detects the first card fine, but hangs on a second

I am writing a program that: Reads string (one line) from com port Waits for an RFID card to be present Reads a block from the card Here's the code (it uses this MFRC522 library, also the code is ...
1
vote
3answers
6k views

rfid_default_keys check with RC522

I just received a RC522 board and since i am new to RFID, I tried out some examples from "Arduino RFID Library for MFRC522". Here's one of them rfid_default_keys /* * -------------------------------...
1
vote
4answers
3k views

Hex/Byte Reversing and Conversion

I'm working on an RFID system using a MFRC522 with this Library : https://github.com/miguelbalboa/rfid Here's the code I have right now: int A=(mfrc522.uid.uidByte[0]); int B=(mfrc522.uid.uidByte[1]);...
1
vote
2answers
1k views

Save Leading Zero HEX into String RFID RC522 Arduino

I'm using RC522 to read RFID card. All is until if the HEX leading by 0 then i can't save it into String. But if i print it to Serial all is well. Here is my code: #include <SPI.h> #include <...
1
vote
1answer
937 views

Connecting multiple boards to Arduino Uno r3

How can I connect the Arduino RFID RC 522 and SD card adapter to one Arduino Uno R3? As each library takes specific pins in Arduino for MOSI, MISO, CLK. So I have conflict in the pins, how can this be ...
1
vote
2answers
244 views

MFRC522 ReadNUID example reboots unless I include a null if statement

I'm fairly new to Arduino (and C), but not to embedded electronics and programming. I'm using an MFRC522 module (the common one) with a Nano, and getting some strange results. They are on a very ...
1
vote
1answer
6k views

Extracting a substring from original string

I am trying to extract a substring out of another string, but it doesn't seem to be working. I am new to programming in arduino and c++ in general. Here is my code: void setup() { Serial.begin(...
1
vote
2answers
3k views

How to detect the absence of an RFID tag?

I have installed an MFRC522 RFID reader in my house. The main use so far is to tell the house I've arrived using an RFID keychain, by leaving it in the key holder. I would also like for the house to ...
1
vote
1answer
31 views

HTTP myphp request error RFID

This program is a program which readings of rfid are saved to myphp database. I have a problem when running the code The wifi is connected but when the code doesn't save im assuming that the problem ...
1
vote
2answers
139 views

Serial.available is working only for the first time

I am working on RFID. I am sending data through serial monitor and the Serial.available is not identifying the data after the first time, its working perfectly fine only once after reopening the ...
1
vote
1answer
98 views

How to run Arduino code on Linux? [closed]

I want to use an MFRC522 module as explained in this video. But is it possible to get around with Arduino and use a TTL to USB converter to connect RC522 directly to my PC running Ubuntu? Using the ...
1
vote
1answer
2k views

RFID-RC522 Cannot read from MIFARE Ultralight

I tried many ways to get and print UID and other data from MIFARE Ultralight but it always ends with error. I am using RFID-RC522 reader with Arduino UNO and MFRC522 Library. I can normally get and ...
1
vote
1answer
3k views

MIFARE RC522 I2C Library

I was looking at this link on RFID I2C interface. I added the library to arduino, but in main.cpp, I see an error: In function 'void setup()': sketch_mar27a:16: error: no matching function for ...
1
vote
2answers
904 views

How can I write an integer to a Mifare RFID card using the RFID library?

I'm a beginner to C++ and I'm clearly missing some fundamental knowledge of data types. As such, I'm struggling to adapt the examples in the miguelbalboa/rfid library to my use case. I'm simply trying ...
1
vote
1answer
132 views

Can I use an Arduino Uno to support an RFID reader, Zigbee module and a touch screen at the same time?

I'm almost a beginner to microcontrollers and have done a few simple projects, but this time I have to use an Arduino Uno (powered by a battery) to support an RFID reader (RC522), a Zigbee module and ...
1
vote
1answer
392 views

RFID does not respond after Ethernet.begin(mac, ip) initialization

Good day, I have this problem with my simple project. I have a database with all RFID number of employee. What I want to do is to use an rfID to check if it is registered in the database. If it is, it ...