How to use RFID (RC522) with Arduino - Easy Tutorial
Вставка
- Опубліковано 22 сер 2024
- (MFRC522) is the cheapest RFID Reader which uses 13.56 MHz frequency And it is also easy to use. We can easily interface it with arduino. This is the simplest tutorial on how to use RFIDs with arduino.
● Playlist Link: bit.ly/2VT2ZAN
● Arduino Buzzers: • Arduino Tutorial 18- U...
● Getting Started: • Arduino Tutorial 1- Se...
--------------------------------------------------------------------
► Get Your First Arduino Starter Kit 👇:
✅ amzn.to/3VfGNM1
👉 amzn.to/3L7gPpw
♥ Don't Click This! : bit.ly/3jvI8g6
--------------------------------------------------------------------
FOLLOW ME:
● TikTok:
/ enjoy_mechatronics
● Facebook: / enjoymechatronics
● Github: github.com/Enj...
--------------------------------------------------------------------
► All content by Enjoy Mechatronics is 100% free. I believe that education should be freely available to everyone.
Thanks a lot my guy I was very upset that i couldn't find a tutorial but you made it easy! Keep it going!
Glad I could help
For those constantly getting a timeout error, note that you should keep the tag on the reader until the output is completed - either that, or you may have a connection issue
Best video for this build I could find. Typing the code in as you go helps with learning also. Great video
Thanks for your reply
I am glad it was helpful
Agreed.
i am in 2nd year doing this project and this worked very well he teaches so good
Thanks, I am glad it helps.
Ive been watching this many times your explanations drives clear and easy to understand thank you bro keep it up hope you can provide more,,,
I'm glad to hear that 😊
Thank you so much for the wonderful video and nice explanation.
Nice one,, have looked for this one with a good code explanation,,Iam a Mechatronics engineering student,,and I enjoy Mechatronics
Thanks 😊
Thanks for this video bro, you explained very well for each line of code. It was very helpful for someone beginner like me to learn Arduino programming. Please don't stop making a videos and keep teaching us👏 may god bless you.
Really appreciate your interest.
Thanks 😊
Fantastic, thanks for walking through each section, helped a lot!
No worries 👍
I am glad you like it 😊
So cool. Thx bro. Very usefoul for arduino begginers!
Glad it was helpful!
Dude was really helpgul for me!! Thanks a lot!!
Glad to hear that!
How fast can the reader detect the tag? I want to try using this to uniquely identify my rc cars as it passes by it, which can happen really quickly.
How many concurrent tags can it detect as once? I might have multiple tags nearby it.
Do you have alternative solutions for my use case if this isn't suitable?
Thank you very much, I needed this video
Glad it was helpful!
bro how did you connect na mfrc522 into the breadboard? im having a communication failure and it;s loose don;t know how should i connect it
maybe a dumb question: is it right to hook the data pins to the 5v logic pins, even though it's a 3.3v module?
ty, I finished my project with your video.
Great 👍
Thank you for the precise explanation sir.
No worries 👍
if you get the error "WARNING: communication failure, is the MFR522 properly connected?
Scan PICC to see UID, SAK, type , and date blocks..." try to switch to 5v
i'm stil getting the error
I'm also getting this error. Changing the voltage doesn't help
@@JeremyBindon-NotOurKingincrease the delay after PCD_init() and reset the arduino board and upload again. I also got the same error. It worked
i'm having a problem communicating the RFID to the Aduino, what should i do?
Hi, do you have project integrating RFID and Facial Recognition Technologies for Security System?
Is it possible to connect 15 devices at the same time? Is it possible to specify which reader the reading comes from?
thanx a lot dear done👍
Thank you too
thank you for your precious explaination sir. how do i access card limited time?
it gives me error line byte accessUID[4] = {A3, 4F, 4E, F5}; that exponent no digits
there is an error that says unable to find numeric literal operator 'operator""D' how do we fix this problem
is this supported to r4 minima?
I have a problom it works but just 1 time and then it just dosen't read the next card
very easy and understandable video
Glad to hear that
how did you connect the leds and buzzer i don't understand!!!!!!!!!!!
have u figured it out? im having the same problem
TQSM!!!!!!!!
@EnjoyMechatronics what is name of mechanism locker ?
I cannot scan my card what can i do now?
Will this still work standalone, without being attached to a computer?
Definitely,
You could even power it using a phone adapter.
it says 'mfrc552' was no declared in this scope. What i need to do?
Maybe you haven't installed the library
I've been using RFID with Arduino for a bit now and it's been working great, but do you know of any way to disable the red led that lights up on the RFID sensor?
no
Hi, great video, when trying the dump info serial monitor, it said communication failure and asked if it MFRC522 was connected properly, I was using thee arduino mega 2560 and im not sure how to resolve the issue or if my board is the issue. I rewired it so it was wired according to what the code said for my board but it still wouldn't work... any idea on what's wrong? issue was fixed, no worries. WAIT! one more thing... my pinmode function is making the pins turn on as soon as I start the code, any idea on what function can make the pins an output source without turning them on?
here is exactly what it said: Firmware Version: 0x0 = (unknown)
WARNING: Communication failure, is the MFRC522 properly connected?
Scan PICC to see UID, SAK, type, and data blocks...
What did you do to correct your error?
I have the same problem can you pls say how you fixed it?
It said failure connection maybe mfrc522 is not connected?
You have to wait a bit until the reader gets all data.
Im using a mega 2560 and have wired it for the mega 2560 but when i brought up the serial monitor it said 'connection failure, is the MFRC522 properly connected?' ive waited a half hour (and my pc isnt slow) and ive rewired it but it wont let me
you need to do soldering between breadboard and rfid
with the arduino mega 2060 you need to connect
RST pin 9
SDA pin 53
MOSI pin 51
MISO pin 50
SCK pin 52
How do I put 2 tags in the code?
You could add another array accessUID2 then add it to the if statement
if(.... || use the same comparison but with accessUID2)
> this || means or
HOW CAN I DO MULTI CARD??
Can you please do video for laundry shop please
6:28
where is the code
Ok👍👍
WARNING: Communication failure, is the MFRC522 properly connected? I just keep getting this error
Did you find a way to fix that i'm having the same problem as well...
am having same problem
please help, im having too
@@minhhoangcong9155 change braud bro ı will solved my problem with this
Im having the same problem, were you able to fix it?
Do I need the buzzer
The buzzer isn't essential to the project
Thank you
Thank you
Thank you
Thank you
constexpr float operator "" _deg(unsigned long long d) {
// returns radians
return d*3.1415926535/180; this code should fix the unable to find numeric literal operator 'operator""D' problem !!!!!!!!!!!