Your timing is psychic. Am about to do an RFID project and needed this!
@PlayfulTechnology5 жыл бұрын
Oh cool, well hope you find it useful! Please do ask if I can be of any help :)
@Kaasgeelheid Жыл бұрын
I started the video not knowing anything about implementing RFID with Arduino and you basically shared all the basic knowledge in a very structured manner to get started. Thanks & kudos!!!
@EmmaMaryTaylor4 жыл бұрын
Thanks very much for this, got the RC522 set up very easily to my Arduino Mega, was struggling with the RDM6300, now happily will leave that part! Will definately pick up one of the PN5180 to give it a go! :)
@hudsonsoares67527 ай бұрын
Thanks a lot for all the information in a so clear and concise manner!
@scythascytha2849 Жыл бұрын
Thank you so much for explaining RFID to me. This was exactly what I was looking for. Also, the idea of using RFID as sort of puzzles is a great one. I'd like to try that as a 5th grade teacher.
@TheDevilOnLine74 жыл бұрын
FYI, the MFRC522 arduino library has a function to boost the antenna power so you can read cards from about 10 cm's from the reader, so no need to solder!
@PlayfulTechnology4 жыл бұрын
In previous versions of the library, the SetAntennaStrength function had no effect, but I will go back and try it again - thanks!
@mytechlearning Жыл бұрын
Çok bilgilendirici bir video olmuş. Çok teşekkürler. Mfrc 522 kart ile bazı kartları okumada zorlanmıştık. Bulabilirsem ben de Pn5180 kartı deneyeceğim.
@miguelangelplazaluna5092 Жыл бұрын
Wow !!! es justamente lo que necesitaba... Excelente video y muy claros.. Muchas Gracias desde Chile !!!
@mjyanimations10623 жыл бұрын
the first module has its own uart and so does the usb to serial chip on the arduino. so you don't really need to emulate a serial with the microcontroller. just flash the arduino with a blank sketch so the serial port is unused by the microcontroller. then you can connect the serial pins to the rfid module and the module will speak directly to the usb to serial chip. no microcontroller involved.
@bibel2k3 жыл бұрын
As always, great video. Very informative and well explained. Cheers!
@ytfp4 жыл бұрын
*edit*Perhaps the below might not work if the sensor does not constantly output the card number if held to the device and I am misunderstanding so adding this edit in in case the module does not constanly spam the number while being held** think your RDM6300 issue can be solved in software, if a tag is detected simply start a timer and poll at every x, another solution is while( card number=true) do this else, go back to polling, another solution start action 1 ONLY when card number=true for at least x seconds or minutes. For the more complicated array of readers don't read card 2 unless card one is true, or card 1 is true for x seconds. The whole idea is just like a flag system works only your flag is time, essentially the difference between a short press or a long press on button to produce two or more funtions with only one button, time duration pressed=what function to fire. Off to watch the rest of the video...
@friedmule54034 жыл бұрын
4:30 I have just, by luck, heard of a unit, called a CAN BUS it may be the perfect solution, it can be made to talk to Adriano via only two wire but can handle insanely many inputs, like many RFID tags at once.
5 жыл бұрын
We used the RDM6300 in a 4 RFID prop and we had a lot of problems. Finally we only got to recognize the RFID one by one and we could not know if the tag had been removed
@Redbipen2 жыл бұрын
Holy shit, I finally understand why my mfrc522 captors don't work.
@charlieji87814 жыл бұрын
WoW this is extremely helpful!
@Andrew-ps9zp3 ай бұрын
I read that the the logic pins are 5-volt tolerant for the RC522
@PlayfulTechnology3 ай бұрын
Not according to the MFRC522 datasheet they're not. www.nxp.com/docs/en/data-sheet/MFRC522.pdf
@Andrew-ps9zp3 ай бұрын
@@PlayfulTechnology My bad I didn't watch the whole video, thanks for the response😅
@lutzmuller57036 ай бұрын
@PlayfulTechnology, which system would you recommend to me if I wanted to use it for a model railway? I'm just interested in identifying a locomotive. It should only allow small distances. Would you use the MFR C522?
@mustafakucukturkmen23632 жыл бұрын
I need a long range rfid sensor and also a cheap one thank you for test pn5180 I definetely bought a pn5180 :)
@dubbeligascheisshausmugg63043 жыл бұрын
you can have multiple I2C buses, uses only one additional data line per added reader. less then SPI
@harshbenahalkar48155 жыл бұрын
Can I use a PN5180 scanner to detect multiple RFID tags?
@RajnishDubey19882 жыл бұрын
Great tutorial. Thank you
@SantaDragon4 жыл бұрын
The sad is, that now after over 18 month the libraries for PN5180 still looks very rare ...
@MacGomez3 жыл бұрын
New subscriber ... Been into locksports for years and I just got into playing around with RFID fobs. I needed one for my hid fob and had no problem. I notice after trying to copy a friend fob I had an issue with his Keri series fob but the 22 key digital smart card rfid reader writer machine with HD display from Amazon wouldn't read or write it. Could you if possible do a video on the best handheld machine for fobs and the type of fob. Can I use a chameleon proxmark on a smart phone or tablet ? Appreciate the channel and info... 😎🤘🏼✌🏼 From NYC-USA🗽🇵🇷
@jackt3603 Жыл бұрын
Thank you for posting the video, it made it easy to understand the differences between various readers out there. I need to place a number of readers in a grid, let's say 10x10. Each of the 100 readers needs to have the ability to read a tag that will be brought close to it. What would be be best solution for my project? Can I make smaller atnennas like you did with the RDM6300, and then connect them to their respective board? The issue I'm having is that the readers will be pretty close to each other (around 1.5 - 2cm apart), and thereore I'm not sure what would be the best solution to solve this issue. On a separate note, is there a way to check if the tag is still in the proximity to the reader? You mentioned that the reader only sends data once, when the tag is near the reader. Is there a way to ping the tag with the reader let's say every 10 seconds, to check if the tag is still in close proximity? One last question, do electromagnetic fields affect the ability to read the RFID tags? Any input would be much appreciated.
@joshuaolakanla39932 жыл бұрын
Please I successfully built it using the pn5180, but my range is only 10cm and I need about 20cm
@johannesleno8815 жыл бұрын
Thanx for your work, as usual
@MrLuis9916 Жыл бұрын
Very good video, it helped me so much for my graduation project. I have a question tho, mounting points on the PN5180 are the same as RC522? I need to 3D print a case for it but i can't get to find the datasheet for the PN5180 module, would appreciate if you could help me with that.
@daniellewis15115 ай бұрын
Has this area improved over the past 5 years? Is PN5180 still your preferred, or are their newer options?
@PlayfulTechnology5 ай бұрын
PN5180 is still my general-puspose RFID of choice, yes. If you want something with _significantly_ longer read range, check out EPC Gen2 RFID, as demonstrated in kzbin.info/www/bejne/paDIg4l3oJd5f5Y
@dangooch5267 Жыл бұрын
I think the long range detector is what I need for my project. What I need are small chips without any card. I once saw a man who had RFID chips in a dime sized plastic laminate. Anyone have a source compatible with that reader?
@deveshkedia25483 жыл бұрын
Please show how to make a rfid antenna for mrfc522 rfid sensor
@WickyPayne7 ай бұрын
21:24 that yeet :D
@ashwin3723 жыл бұрын
Cheap rc552 are not connected properly! They cannot be used in spi with multiple cs but there's a workaround.
@zeca1471 Жыл бұрын
Hi, Could you give me the code used in the PN5180, I'm looking for a simple code like the one used in the video ? 😃
@mumbles1justin3 жыл бұрын
Great video! I noticed most of the readers appear to be mounted using screws. Doesn’t the metal from the screws cause some interference with the magnetic flux in the coil antenna, shortening/ influencing the read distance?
@amircool25293 ай бұрын
They all read and write ???
@Dannydawson5373 жыл бұрын
Great vid Paula I’m putting a rfid reader/writer onto a drone and want to read long range tag read and relay that info back to myself how do I extend the read range sir ?
@fifofinho15 ай бұрын
Hy friend , i need to read a tag in 2 meters from the rrader its it possible?
@yashkhadse5 жыл бұрын
Thanks Man 😊 you helped a lot.
@ismail_aydemir_mylife3 жыл бұрын
Thank you very much for your explanation. I have the rc522. Reading range is not very important. But; I can try l1 and l2 you just described. I want to ask and if I beg; Do you have a connection method to ensure stable operation of 10 out of rc522? (connecting resistor to sda and sck that I see on the internet. I haven't tried yet. my material will come today) 2-2 comments; When I want to work with multiple readers, is there a serial number or device name or address path indicating which address I read from? how do i get thanks
@korosha4 жыл бұрын
Thank you for this video. Very useful. Any recommendation on easiest way to program a reader to read multiple passive RFID tags, e.g. multiple books on a shelf? looking for the best capable RFID reader + python SDK, preferably using Raspberry PI, else Arduino ?
@syedmuhammadumer46935 жыл бұрын
thankyou very much for this tutorial. Can you please let me know how can I connect PN-5180 NFC with NodeMCU board?
@ziomalZparafii5 жыл бұрын
I would guess 15cm is far too long distance for escape room prop. I've seen several RFID riddles and all of them required precision. 15cm is easily exploitable by just moving the card around. Well, that's of course mostly up to a particular riddle to choose the range.
@PlayfulTechnology5 жыл бұрын
Generally speaking, the acceptable tolerance of what is regarded as the "correct" position for the tag relative to the sensor should depend on the physical size of the item being placed. If you're placing small items like playing cards or books then I agree 15cm might be considered too generous a margin of error (although also remember that's 15cm straight line-of-sight distance through air - it will diminish once the tag/reader are actually embedded in a prop). However, if you're placing larger artefacts - 60cm high statues on the correct plinths, for example, then 15cm would be perfectly appropriate read range.
@TechEX5072 жыл бұрын
Hi! Tell me, please! What could be the problem? Firmware Version: 0x0 = (unknown) warning: Communication failure, whether MFRC522 is connected correctly
@pinqizhu57614 жыл бұрын
Thanks for the tutorial ! I have a PN5180 and I wanna the board to tell when I removed the card just like what you did in this video, but I have problem finding the source code for this function, could you tell me where I can find it? Thanks !
@ukirfan2 жыл бұрын
is it possible to modify a "passive" rfid tag to detect moisture , humidity, possibly shorting some pins soldered externally to the rfid chip ?
@CamChadDoIt Жыл бұрын
Do you have any schematics or suggestions on how to wire the PN5180? I am using an Arduino MKR WiFi 1010 - any help would be hugely appreciated!!
@thevoice47582 жыл бұрын
Hi, I am using the 125khz HID INDALA card. Can I connect one of these card readers to my arduino to perform this action ?
@sidhomamine13232 жыл бұрын
thank you sir , i'm asking if there is an uhf module reader for arduino ?? i have a project , i need to read tags about 5 meters away please help me ! thank you
@PAPARoastDuck5 жыл бұрын
Hi Alastair. Comparing to RC522 which uses shared reset signal, PN5180 uses unique reset signal and additional unique busy signal. Does that mean if we are to connect 4 PN5180, it would use 7 more GPIO than to connect 4 RC522? I am using a Wemos D1 board which has fewer GPIO, is there a walkaround to use less GPIO? Or a ESP-32 is necessary to have more PN5180 readers. Thanks.
@lezbriddon4 жыл бұрын
just found i have a need to use nfc, yes its the old chestnut of unlocking doors, but i dont want a card, yes i want nfc with no cards or tags or surgical implants, I have... a mobile phone... there's no need for complex communication it really can be just ''one way'' or ''none way'' all the box needs to do is say yes that's a friendly phone, no i dont know that phone, and unlock for 30 seconds etc, so surely all thats needed is a handshake and some unique data in that handshake, and i dont want (hopefully) to have to use some complicated android app, surely just the handshake of the phone would be enough????
@krishan87854 жыл бұрын
I'm making a project for a gate that opens with an RFID Chip. Can you tell me what RFID to use? Thanks!
@user-sq4ly3xk5b3 жыл бұрын
Ok, if the reader is behind a plate of iron about 5mm thickness, can it detect the card ??!
@ap_channel40907 ай бұрын
Sir, is RC522 can read 125khz rfid??
@geofixated4 жыл бұрын
Thanks for the video. I purchased the PN5180 and I have it detecting the white card but not with the blue tag. Does anyone know if this is possible and if so how? Thanks.
@francescoceraso98813 жыл бұрын
I had the same problem, PN5180 detect only one white card. U solved?
@rachelking23713 жыл бұрын
Hello, is there any way to directly contact you? I have a project for school that I really want to use the PN1580 sensor in. Unfortunately, even now, getting my hands on one will take a long time because all of the one's I found online are being sold from China. Is there any way I could perhaps one from from you, if you live in the US? I'd assume it would be faster to get it from US instead of China. I'm willing to pay up to $35. Any thoughts? So sorry to solicit you, but I'm desperate because this project is due by the 30th.
@arianaescalantemarcillo43222 жыл бұрын
Hey! I would like to know If I can use RFID RC 522 with avoidance collision. I want to read several tags at the same time and I would like to watch this collisions. It's for a college project.
@PlayfulTechnology2 жыл бұрын
No, I think you'll need a better (more expensive) chip for that - the RC522 only provides pretty basic read/write functionality and I don't think handles collisions.
@AaronMayes2 жыл бұрын
I've been trying for a few days to make this work with RC522's, I've followed the wiring diagram in the video description which includes two logic level controllers, and I can get all of the RFID chips to each work independently if I remove power from the others, but as soon as I try and have two or more RFID readers running concurrently then only one is recognized in the serial monitor and the others always produce "WARNING: Communication failure, is the MFRC522 properly connected?" I thought it might have been an issue of bad connections so swapped to solder, that didn't help. Tried providing each reader with its own independent 3.3v power supply, that didn't help. When turned on, all of the RFID readers have their power light on, and they never go out, I read that they should be flicking on and off as the controller selects between them, does this provide any insight as to what the problem might be? Thanks for your help strangers :)
@PlayfulTechnology2 жыл бұрын
The most common problem is poor connections, so double-check them all. The next is power supply issues, but it sounds like you've already addressed that. The next is caused by capacitance on the SPI bus, which is generally caused by having too long wire runs to the readers. What distance are you running? Can you try making the leads to the readers shorter, and using high quality twisted-pair cables (like the ethernet cables I use)? One other thing you can try when you have problems with a big network is to lower the speed of the SPI interface, to ensure that even the farthest reader has time to respond within the clock cycle. To do this, try adding #define MFRC522_SPICLOCK (100000u) to the very top of your Arduino code. This will initialise the SPI bus at 100kHz, rather than the default 4MHz, and might solve the problem.
2 жыл бұрын
I'm looking for the "user manual documantation" for pn5180, I couldn't find it. can you help?
Can RFID Readers read credit card information/credentials?
@PlayfulTechnology2 жыл бұрын
No. They can read (unencrypted) data from things like library cards, some travel cards, but they will not read any credentials from a credit card.
@lancewiggains95903 жыл бұрын
Can you add an external antenna for the pn5180?
@gustavohoffmeister52284 жыл бұрын
Wow thanks for the video, I'm looking for some rfid reader to use with the chips of my cats (rfid) , Do you know if some of them could work it?
@gustavohoffmeister52283 жыл бұрын
@MyPageMike Caldwell nop
@9696chuy3 жыл бұрын
Wey!! Te amo amigo justo necesitaba un lector de buena distancia y a buen precio para poder hacer un proyecto de la universidad, te amo cabron mil gracias por haber dado tan buena explicación! Mexico 🇲🇽 love u
@roastduck26115 жыл бұрын
Thank you! Really helpful information. I have a question, how do you prevent tags being interfered by each other when you try to put an array of PN5180 close to each other?
@PlayfulTechnology5 жыл бұрын
If you want to place a lot of RFID readers in close proximity to each other, I'd suggest that the MFRC522 reader might still be the best choice for you. It's inevitable that using a reader with a longer read range like the PN5180 will be more likely to get interference and collision from other nearby tags, so I think you'll want to space them out by at least 30cm or more between each. I am aware that anti-collision systems do exist that enable multiple tags to be simulataneously detected, but I'm not sure if that's supported by any of this hardware.
@roastduck26115 жыл бұрын
Playful Technology thanks for the answer! What about the distance between the Arduino and the module should be like for multiple rfid module? Is there difference between RC522 and PN5180.
@PlayfulTechnology5 жыл бұрын
SPI was designed primarily as an interface between components *within* the same device, not *between* devices. So you should place your Arduino close to the readers to keep the SPI wires as short as possible - there are several internet sources that claim 10ft to be the theoretical maximum distance for an SPI interface, but I'd keep it much shorter than this - no more than around 1m.
@captainplatypus42943 жыл бұрын
Is there anyway to extend its range?
@N1ghtR1der6665 жыл бұрын
can you connect a better antenna to any of these?
@jumbo9996143 жыл бұрын
Can rdm6300 read 125 mhz 40bit card?
@kigoziedward70313 жыл бұрын
helllo. is it possible to create different channels for the rfids?
@udik13 жыл бұрын
I need cheap rfid tags and handheld reader, for locating inventory items.. any ideas?
@williamroberts57163 жыл бұрын
You don't want to use a barcode label and a scanner? Or is the rfid tag hidden inside?
@roastduck26115 жыл бұрын
I have encountered some issues where the readers would stop working during an object placement puzzle and I would have to restart Arduino to have it running again. I suspect that the reader would stop working if there is vibration caused by players when they try to place the object with greater force. Is it normal? Maybe I shouldn't fix the reader directly underneath the wooden piece on where the players are placing the object.
@PlayfulTechnology5 жыл бұрын
Vibration in itself shouldn't affect the reader unless there's a loose connection somewhere - I'd suggest you check all the cables going to the pins - have you soldered these? Or usong a harness?
@roastduck26115 жыл бұрын
Playful Technology if it is loose connection, it shouldn’t be working again after restart the micro-controller. I soldered a RJ45 jack to the RFID module and connect a cat6 cable to it.
@illyushen98564 жыл бұрын
i want to detect multiple rfids simultaneously which one would you recommend?
@PlayfulTechnology4 жыл бұрын
On a single reader? That requires a specialist protocol (normally the RF patterns from multiple tags presented at the same time interfere with each other). With multiple readers, it's trivial - just cycle through them.