First Look: RC522 RFID Reader/Writer ($4 on eBay)
Вставка
- Опубліковано 1 жов 2024
- Help support Julian's electronics videos on Patreon: / julian256
A first look at this RFID reader/writer module which can be bought for a few dollars on eBay. It's cheap but also quite complicated.
The fact that this man has a magnifying glass and used it to actually zoom up rather than showing a completely blurry close up is worth a thumbs up alone
I built a Dalek once using RFID to identify it's master and guests. It had an airsoft cannon to pelt those who didn't "Identify" properly. It used a Raspberry Pi SBC for a main brain, an old Xbox Kinect for it's eyes and ears, and a bunch of micro-controllers for it's peripheral control systems.
That's dope asf tbh
#Whovian
The Dutch people who cracked it actually cracked the public transit card system by overwriting the cards with information about credit for public transit.
The balance information was saved on the chipkaart instead of on a central server?
Thanks for that informative presentation. My own interest is to clone the RFID fob I have for entry into my apartment (which I've been informed will cost £60 if lost - apparently they need to "send an engineer" - lol).
better find where a controller is in your appartment. determine the model, find the manual, reset it to factory defaults, and program your own cards into it. you will end up with a master card which can be used to teach our own cards as regular entry keys. the master card or any teached in regular cards of your landlord will no longer work :) no extra hardware is required besides a couple of extra compatible cards. do not forget to give your new master card to your landlord after you end the rent.
Funky Dunky Why not just sell the masterkard to the most shady guy in the neighboorhood. You might get a bugs.
Can't believe there are so much information on just a 4 dollar thing.
Mechforce-USA Wait till they start to censor the internet!
use it for what i'm going to use mine for, i'm gonna use an arduino with USB support or whatver it's called. And have it write the password for my pc if the right UID is read, it'll write my password on my pc
Thanks for this Julian. This is helping me write a security system for my home where a person would scan an RFID tag to turn off the security features... while it is still all in the future: alarm, facial recognition and video documentation. This is all a hobby at this point, I'm just loving coming up with solutions for problems I want to crack.
can you actually Write on cards that have a RFID code on it? example: i have a RFID card with a LOGIN NUMBER on it, and you hold it to a machine and then you need to give the password. but the problem is i lost a card which i know the LOGIN NUMBER, but if i wanna get a new card, because i lost my old one, i need to pay 30$...so i wanna know CAN I TAKE A RFID CARD, delete the internal LOGIN NUMBER and PUT a other one on it with this device? thx
yes
that's totally depends. you also need to know where to store your data, and the original data might be encrypted in some form. And for some applications, people dont really write the actual data to the cards. Instead, they only use the tag id(UID), and then link the tag id to the data which has been placed in a more secured database.
This was one of the most concise and informative videos I've found on the use and management of these devices. It's given me a great first step and pointed me in the right direction to find out more. Thanks mate.
David Sharkey Thanks David
+Julian Ilett How can I deactivate a RFID chip?
You can't. There is no such "deactivation" in RFID Devices.
Disclosurer Radio Shouldn't reprogramming the chip with the wrong data accomplish your needs?
cut it in half lmao
Very interesting stuff. Have you used it to read any access cards of a coworker of friend? I wonder what kind of readable information you would see.? Nice job on this video, keep this kind of stuff coming.
You've done an AMAZING job explaining this for a beginning hardware geek, like myself. Many thanks!!!
that is one hell of an awesome video, loved it. just got me one of those gonna try all kinds of automation things using nfc :)))
+Julian Ilett Have you married this reader to the ESP8266 so that the appearance of an RFID tag would trigger sending a message over the Internet?
1stPCFerret you can use nodeMCU for that purpose as it have may io pins
Is this for low or high frequency?
Does it store data on it like the r.f.i.d. used for pets?
Can you erase the radio frequency?
How. Can I disable it to not give a signal?
Julian Ilett take a look on github, I played with this thing already! github.com/WinniePuuh/LF10
So a code comes in default for the RFID? beats the whole purpose of engineering.
I wonder if i could hack the tags from ski.
:|
+TheFloatingSheep Easy and already done
the coil of wire is the receiver for the wireless power...
Well you could use it for hidden doors or something like that - you could just put the electronics inside something - you could also add those rf-relay-buttons to it so you could control anything with it - youd need a way to power it tho
9v battery
My RFID system: jonstephensonsblog.com/2016/02/29/wonderful-progress-on-my-mk-ii-door-release-system/
I have one of those inexpensive RC-522 readers. While it reads the card and the keychain thingy that came with the package just fine, I can't really get it to work with other mifare cards (both 1k and 4k cards, and yes I'm sure they're mifare). I've done a lot of experimentation with the library from miguelbalboa, like trying to change the receiver gain registers and the pmos and nmos conductance, but no success yet.
Perhaps the supporting electronics to connect the RC-522 chip to the reader/writer coil is not up to specification, or perhaps even the RC-522 chip is fake?
So, I guess you get what you pay for...
Another really useful video. I too had a play with various cheap RFID, including the RC522. But in the end I settled on a PN532 based card, which is little more expensive, as it has compatibility with a greater range of tags, including NFC. Need more time to play with it though.
I bought a bunch of those blue RFID tags for my alarm system. Originally they were fine but over time they become very weak. You have to touch the alarm receiver in a very exact spot and with the flat side of the tag, otherwise it just won't work. Meanwhile the original tag (grey block) supplied with the alarm works fine. There's something definitely iffy about these blue ones.
Get a pencil sharpener! ;)
Excellent video.
This RC522 module seems to be pretty inconsistent. The more expensive PN532 based modules seem to read all sorts of cards/keychains/stickers just fine, including a card that was originally included in the RC522 package, but which the RC522 itself couldn't read...
I would love a video that explains how to install one these say in a vehicle. Like the new cars that have the chip in the key. You could set the reader near the keys and only allow the car to start if the chip is in proximity. It sounds like a fun project and it could potentially keep your car a little safer from theft. If you really wanted to get clever you could install it on the power supply for the fuel pump rather then the ignition and place the reader under a cup holder or something so if you were parking your car in a bad area all you have to do is grab the chip outta the cup holder to disable the fuel pump. Just thinking out loud here but I could think of all kinds of fun things to do with rfid if it wasn't so complicated to set-up.
the cards that where not working probably had a different default key
Uses of RFID ( i dont know how many of are implemented), If you got any ideas feel free to add them as replys.
1. Package tracking.
2. Access control.
3. To store product info in package replacing barcode
4. Store indoor/outdoor location information such as lobby, stairs, elevator which can be used by blind and other disabled people. Put the cards/tags in location and a reader in cane/wheelchair will read it.
5. Pet control, get some RFID tags and install RFID reader in kitchen door to keep them away from kitchen, If you dont like pets in kitchen.
I wonder what data is on my NFC bus pass. What's the difference between RFID and NFC. Gotta check it out!
Knuckles the Echidna RFID and NFC are related - One is a subset of the other (or something like that).
I had the same thought (but for the commute here in sweden), but i think they use a custom fequency and an advanced cryption system... But it would be fun to just read a card to see :)
Björn Camitz Oyster cards used in London once used the chips mentioned, they had to change them quick I think!! I guess the magic really is in the encryption as you can still buy the chips the new cards use or so I understood although it is hard for me to figure out.
Knuckles the Echidna The difference has become a sort of segregation of what operating frequency the card uses. 125kHz is used in older RFID/HID cards whereas the 13.56MHz MFC/MIFARE cards are the standard being used for NFC/Google Wallet/Apple Pay/Eurocards. Otherwise they are one and the same; contactless card reading/writing systems.
Hey there, Just wondering if you have considered using a screen recording program instead of a handheld camera? It would be a nicer viewing experience IMO.
I don't think he's any good with computers :-p
+Ger Lagerweij he can write assembly, so I would hope he knows what he's doing.
Just randomly popped up in my recommended. I'm using this exact setup in my engineering class so thanks for the help. You probably just got me an A on my final.
Malam bang
mau tanya cara memperbanyak Access RFIDnya gimana ya??
meletakkan nomor kartu kedua ???
Terima Kasih . . . :)
I don't understand half of what I watched, but somehow I kept watching. Now at least I am more informed on RFIDs. Did not know they had a coil and chip inside them.
Well you can offer services to "disable" RFID" chips on Paranoid American's.
I got a couple RFid reader/writers because you really need to make sure you have one with the right freq.
And to disable those implant ones, you can simply spam/write it with random generated numbers, which
in effect makes them useless..
Other than that,, not much use..
I made a backup "entry" card to my local university onto a RFID "sticker" which i glued to my cell-phone ;)
Hello, I need your help on a subject. I have a homework to read, write and display data on an RFID card / tag. I need to do this with msp430G2553,.Can you just throw a simple code sample for reading, writing and displaying data? (Assembly or C does not matter)
Example RFID:Rc522 RFID reader 13.56 Mhz
I would be glad if you help
The software didnt talk to me when I opened the serial monitor. Its just blank what do I do?
Link in description please! :)
I'm not too lazy to watch the video and look it up myself, but it would be nice to know exactly which one you've used. Great video! Thanks
Hi, I'm a begginer whith Arduino, I have a RFID-RC522 and playng playng I screwed it up, now my card gives me error
law normally to range 2 and then me error
1 7 PCD_Autenticate () failed: Timeout in communication.
0 3 PCD_Autenticate () failed: Timeout in communication.
there way to solve?
thank you
pls help its not working i get this vault code:
RFID:5:10: fatal error: RFID.h: No such file or directory
#include
^~~~~~~~
compilation terminated.
exit status 1
RFID.h: No such file or directory
RFID:5:10: fatal error: RFID.h: No such file or directory
#include
^~~~~~~~
compilation terminated.
exit status 1
RFID.h: No such file or directory
Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.
RFID:5:10: fatal error: RFID.h: No such file or directory
#include
^~~~~~~~
compilation terminated.
exit status 1
RFID.h: No such file or directory
Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.
i tried the same thing with my rfid rc522 but on a esp32 wroover model using pin 21 and 22 but nothing happens...
I'm using Arduino Pro Micro to connect to Mifare RFID reader. I have connected everything but not sure what's the Pin number of the RST to write in code. Here's the definition...
* RST/Reset RST 9 5 D9 RESET/ICSP-5 RST
In RFID_DumpInfo program, and when I use Arduino Uno I used #define RST_PIN 9 BUT what should I define it when using Pro Micro? What's the RST pin number in Pro Micro?
Thinking of getting a receiver module for GM keyless entry (like my Cadillac CTS uses) then , when I sit down at my computer it will unlock automatically using my car’s keyfob without having to remove my car keys from my pocket-get tired of typing in passwords
Hi,
YOu have done project on rfid522 and I m sure you konw a lpot about it..
can you tell me what is its internal register..I know address is 0x50..but I need to the address of internal register to communicate on i2c protocal..Please help me if you know about it.
Julian, there are hundreds of uses for RFID tags, like for instance, chipping pets, (these are tiny glass capsules which are placed in the neck of a dog or a cat or other animals, and the chip ID can be read and pets are registered on a data base, so when lost and found they can be reunited with their owners, you could use them on cat flaps that reads the chip of your pet and only allows it the access to come into the house and other animals are denied access. You could mark your property, etc etc, I understand that such technology will be implemented on supermarket items such that a reader will read all the items in your trolley and produce a bill that you simply pay and walk out without having to take items out of your trolley on to a supermarket conveyor belt for scanning individual product.
You think they're going to put RFID tags on every banana ever sold?
Sure. They put stickers on all fruits now anyway. Why not a low cost RFID sticker just like the ones they put on other packages?
Skub Berson it’s not needed
Large retailers already use RFID for garment stock control. They can identify each garment as it comes in the back door and when sold. They can also tell if it gets nicked...
Can someone point me in the right direction for a diy solution for reading a 125khz HID Proxy (Prox) cards? Thanks.
Are there any routines for the Raspberry Pi and this module? Want to put together the RFID, camera and put it on a MESH system for local events where our ARES group is supporting them.
Is Blu-Tack conductive?
Nope. Just checked it.
yes. if you didn't add the blu tack to the backs of these boards, none of them would work. /sarcasm
One idea: Windows supports smartcard/RFID authentication. I don't know much about it, but you can require the presence of such a device to log in. With encrypted directories/drives it can make for an effective two-factor security system.
sure it works, but if you can code your own routines, you'll have more control and exactly the functions you want
these days, many good resources for RFID on both ends. best thing is they are still inexpensive devices with free software if you do a little searching
One is thinking on the subject of this system could be used to clone RFID cards. Might have a look for programmers.
Howsit guys. Any idea whats the read range with the credit card sized tag. I intend on implementing an RFID into my final year mechatronics project which requires a read ranged of 1 meter.
I can actually read and write to those tags using NFC on my Nokia Lumia 925. Just go to the app store and get an app that can read/write NFC tags.
15:24 Its done a dump? yuk
_re: not sure what to use it for._
i have (eventual) plans on using it to automatically sense when the phone is docked into my smartphone robot.
Perhaps even automatically pick up the phone and dock itself, if you simply put the phone nearby (it'd trigger a search routine). Sortof like a robot comically trying to reattach it's own severed head.
One cool thing i've seen is people using RFID tags with cutting edge prosthetic arms. They put sticker-tags all around their house and the reader is in the arm, it tells the arm what context it's in. ie: There's a tag on the fridge door which automatically sets the fingers to "open the fridge" mode, one in the bathroom to set it to "hold toothbrush" mode. Handy stuff like that.
You seem to know quite a bit about RFID and such. At work we have an door with a key pad. I'm pretty sure it reads RFID as well. I think my question is about the frequency of these things. They are not al on the same RF freq. Will these readers be able to get the frequency from the door and be able to write the access pin onto the card? do they make separate cards for each frequency? I don't know enough to even formulate the proper question. I would probably need to have the frequency the door keypads receives before I would go out and purchase a reader/writer, cards/chips?
Those RFID tags/readers as in this video all work at the same frequency(13.56MHz). Older RFID keypads(like 10 years ago) might use 125khz systems.
I am looking for a small unit that has a long battery life, possibly rechargeable, with gps, another words, I want to track a piece of equipment and know if it has traveled outside the area, can anyone point me in the right direction?
Is there a follow-up video to this one? I just bought a 100 pack of cards and several readers I want to make ap roject out of. I want to try and use it to play a trading card game with another player over the internet using real cards and a placemat with readers embedded in it
Haha! I just got these to play with as well. Got it all working and thought the same thing: I don’t know what I would practically use it for….
Thanks for the video!
How much I love these of your tutorials! Thanks Julian.
Just a note. "SDA" is the nomenclature of I2C communications which uses SDA, SCL, VCC and GND. It is another type of communications used by Arduino and Raspberry Pi. en.wikipedia.org/wiki/I²C.
hello from chile , I wanted to ask how you can make the program samples in the video but with CCS compiler , have the same rc522 reader and 16F628A pic ...... I just want to read 2 RFID cards and nothing more ...
Cheers
Could you help me please ??
How long does it take to read all datablocks from the card?
Can it be programmed to read faster. I can image people are used to Swipe the cards.
Kenneth Tan I think the bottleneck is the serial monitor's 9600 baud rate
spent ages trying to get one of these working in conjunction with a data logging RTC/SD shield on a nano, both communicating over SPI. Turns out it doesn't have tri-state IO. When CS is high (chip disabled), it won't let any other device use the MISO line.
Took hours to fault find this!! You'd expect an implementation of SPI to be able to share lines. Surely that's the whole point of SPI!
Can't spare anymore IO on the Nano so going to have to try multiplexing the MISO line with a dedicated chip.
hi sir, with this device would be able to read a lot kind info RFID with storage data in txt for example , to write another moment ?
I want to buy one of those things to copy my BUS/Subway card, but I haven't found any one confirming that's possible, unfortunatly :(
I don't have any interest on control a door lock or anything like that with this RFID devices so I don't see myself using this at all...
Is it possible to change the UID using Arduino for such tags?
Or where can i get tags with rewritable uid?
How do you convert all the data into sth. useful? like what am I supposed to do with that or where can I get sth. valuable out of it?
I found I could make several 'broken' cards usable by writing data to them with my Nokia Lumia and "NFC Interactor" app. Once done, I could read and write them with the RC522
We have started to use them on our project: Automated Library Management System, wherein we would be using the tags for identifying book, tracking, security checks, smooth technical processing of the books, easy to locate books in library and also certain membership management techniques for library users.
may i ask , did you ever use pn7150 for testing nfc type a / b and other else
what is its difference to 125khz m41000 rfid card?
Why does the GMS tNice tutorialng doesn't soft sa way like it did in the video?
Funny that they published the paper of de encryption (hack) study done in Holland.
When everything transportation went digital in Holland, it automatically became a target for hackers.
It was published in a computer magazine how it was done as well.
my RFID/NFC project is for Scalextric Digital slot car racing. The Race Management Software needed a faster way to assign a car to a 'lane' and a driver to a lane. With an RFID sticker tag in the inside of every car and hand throttle, and each driver having an RFID card, the race setup process can be made a lot faster. Scalextric... it was never really for kids!
i need read some information from a rfid card but i have the same problem the UID is good but PCD_Authenticate() failed: Timeout in communication. lik this 5:54 what is the solution ?
May i know is possible to chang UFID?
Hello good afternoon,
I really need your help, how do I write numbers with decimal places in the memory card. I write whole numbers 1,2,3,4,5 type using mfrc522.MIFARE_Decrement (valueBlockA, value), but record with decimal places no type 1:50, 2:50, 3:50 can not. I am very grateful if you can help me.
you can replace the decimal char by some hex number and do the opposite when you read it.
How far can I set the range on the RFID scanner? Does it have to be that close?
Very interesting video. I always wondered what was in these little cards and chips. Thank you for your many interesting vids! BB
PCD_Authenticate() failed: Error in communication
Were you able to solve this problem? Or are the tags corrupted?
my blue thing works, but card dosent... bought on ebay as 1 package with module card and blue thing...
Can you make something that outputs ONLY the UID? for a simple insecure card lock
why so slow scanning? isn't it supposed to be like 1 second? I tought mine was bad
hellofriends! i want to share my personal experience… i followed all codes and all tutorials and it could check the verification… solution: install the newest version of Arduino IDE!! hope it works for you guys!
Would you go into detail while using known key and blocking unknown keys. I can't seem to get any of my RFID tags to work even with the default program after removing factory default (FF).
If the DHS ever takes over California you guys know what to do
Generate script that open doorlock when you swipe card
Oh right, I have a different NFC chip. The programmers manual is 200 pages and that is all software, no hardware at all.
I have been trying to use an old oyster card as an nfc tag. Can't seem to get any apps to write a command.
Grate video. Chip got i2c interface, but china modules routs only spi interface :(
Great video Julian ! However, it would be more enjoyable to watch if you would capture your screen with a appropriate software instead of using your camera.
Julian, could you please attempt to get IRQ Interrupts working on this module and make a video about it? Thanks
How can I import the rfid examples?
Where can I download the library files?
I tried with rfidmaster, it works but i can't find any info on it so i used example sketches and the miguelbalboa/rfid library looks better.
I also noticed that the module must be powered via 3.3v but it accepts 5V SPI signals and the SS pin is labeled SDA on certain modules because the RC522 chip can be used with an I2C interface.
+Integrated Electronics Finally it's OK, I found the library from Baidu ("Chinese google")
Has anyone programmed this with Energia using TiVa C Series micro controller?
i have this for good 40 days and i cant learn how to write id but i know to read and that is something :D
Hi,Thanks for your video , I have a question about tags! does each RFID system has own tags I mean every company writes own data to tags and it can not be understand by others?
Hello! Do you need the keys to read/write the cards or the tags?? or you can just override any data between sector 1 and sector 15?? thank you from Argentina!!
I wonder if the communication problem has something do with the clock mismatch between the Arduino and the tags...?
Maybe make a box without hinges, key, or lid, yet golden treasure inside is hid? Well, it would have a key, just not the conventional kind.