No video

How to use RFID (RC522) with Arduino - Easy Tutorial

  Рет қаралды 67,605

Enjoy Mechatronics

Enjoy Mechatronics

Күн бұрын

(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.

Пікірлер: 110
@Stevesteacher
@Stevesteacher 6 ай бұрын
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
@oggythepro
@oggythepro 3 ай бұрын
Thanks a lot my guy I was very upset that i couldn't find a tutorial but you made it easy! Keep it going!
@EnjoyMechatronics
@EnjoyMechatronics 3 ай бұрын
Glad I could help
@deepanjalimishraa
@deepanjalimishraa Жыл бұрын
i am in 2nd year doing this project and this worked very well he teaches so good
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Thanks, I am glad it helps.
@J_Creative
@J_Creative Жыл бұрын
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,,,
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
I'm glad to hear that 😊
@kieranhickey5896
@kieranhickey5896 Жыл бұрын
Best video for this build I could find. Typing the code in as you go helps with learning also. Great video
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Thanks for your reply I am glad it was helpful
@nicklane5896
@nicklane5896 3 ай бұрын
Agreed.
@rifloanimations1182
@rifloanimations1182 Жыл бұрын
Nice one,, have looked for this one with a good code explanation,,Iam a Mechatronics engineering student,,and I enjoy Mechatronics
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Thanks 😊
@irzfanfarizan3001
@irzfanfarizan3001 Жыл бұрын
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.
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Really appreciate your interest. Thanks 😊
@muthuchitra6937
@muthuchitra6937 8 күн бұрын
Thank you so much for the wonderful video and nice explanation.
@EnjoyMechatronics
@EnjoyMechatronics 5 күн бұрын
So nice of you
@tylerwatson9937
@tylerwatson9937 Жыл бұрын
Fantastic, thanks for walking through each section, helped a lot!
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
No worries 👍 I am glad you like it 😊
@vendettyron
@vendettyron Жыл бұрын
ty, I finished my project with your video.
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Great 👍
@Dog_Awesome21
@Dog_Awesome21 3 ай бұрын
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
@MagicMotion5498
@MagicMotion5498 Ай бұрын
i'm stil getting the error
@JeremyBindon-NotOurKing
@JeremyBindon-NotOurKing 21 күн бұрын
I'm also getting this error. Changing the voltage doesn't help
@muthuchitra6937
@muthuchitra6937 8 күн бұрын
@@JeremyBindon-NotOurKingincrease the delay after PCD_init() and reset the arduino board and upload again. I also got the same error. It worked
@RblxHorror-vh7ft
@RblxHorror-vh7ft 9 ай бұрын
So cool. Thx bro. Very usefoul for arduino begginers!
@EnjoyMechatronics
@EnjoyMechatronics 9 ай бұрын
Glad it was helpful!
@user-ux4id6zj3t
@user-ux4id6zj3t 7 ай бұрын
Dude was really helpgul for me!! Thanks a lot!!
@EnjoyMechatronics
@EnjoyMechatronics 6 ай бұрын
Glad to hear that!
@STOIC_29
@STOIC_29 9 ай бұрын
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
@Omar_-nz2yj
@Omar_-nz2yj 5 ай бұрын
Thank you very much, I needed this video
@EnjoyMechatronics
@EnjoyMechatronics 5 ай бұрын
Glad it was helpful!
@mcrap4864
@mcrap4864 Ай бұрын
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?
@nicklane5896
@nicklane5896 3 ай бұрын
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?
@kitkirkyen2002
@kitkirkyen2002 2 жыл бұрын
Thank you for the precise explanation sir.
@EnjoyMechatronics
@EnjoyMechatronics 2 жыл бұрын
No worries 👍
@kurtlrnzv_
@kurtlrnzv_ 5 ай бұрын
Hi, do you have project integrating RFID and Facial Recognition Technologies for Security System?
@dailymemes2204
@dailymemes2204 2 ай бұрын
i'm having a problem communicating the RFID to the Aduino, what should i do?
@andreacolombo2495
@andreacolombo2495 8 ай бұрын
Is it possible to connect 15 devices at the same time? Is it possible to specify which reader the reading comes from?
@user-wr3dx8in1h
@user-wr3dx8in1h 9 ай бұрын
how did you connect the leds and buzzer i don't understand!!!!!!!!!!!
@hannah-bw1rx
@hannah-bw1rx 7 ай бұрын
have u figured it out? im having the same problem
@emeraldoantony387
@emeraldoantony387 6 ай бұрын
it gives me error line byte accessUID[4] = {A3, 4F, 4E, F5}; that exponent no digits
@MdAhanafChowdhury
@MdAhanafChowdhury Жыл бұрын
thank you for your precious explaination sir. how do i access card limited time?
@foospoo
@foospoo 9 ай бұрын
there is an error that says unable to find numeric literal operator 'operator""D' how do we fix this problem
@benb-lc8le
@benb-lc8le 5 ай бұрын
I have a problom it works but just 1 time and then it just dosen't read the next card
@marrionbenedictlamayo4909
@marrionbenedictlamayo4909 8 ай бұрын
is this supported to r4 minima?
@narendernautiyal3197
@narendernautiyal3197 2 ай бұрын
thanx a lot dear done👍
@EnjoyMechatronics
@EnjoyMechatronics 2 ай бұрын
Thank you too
@powerupsuri355
@powerupsuri355 8 ай бұрын
very easy and understandable video
@EnjoyMechatronics
@EnjoyMechatronics 8 ай бұрын
Glad to hear that
@grafika2
@grafika2 8 ай бұрын
@EnjoyMechatronics what is name of mechanism locker ?
@arkabanik4039
@arkabanik4039 9 ай бұрын
I cannot scan my card what can i do now?
@GameOver-cp5nt
@GameOver-cp5nt 10 ай бұрын
it says 'mfrc552' was no declared in this scope. What i need to do?
@EnjoyMechatronics
@EnjoyMechatronics 10 ай бұрын
Maybe you haven't installed the library
@tylerwatson9937
@tylerwatson9937 Жыл бұрын
Will this still work standalone, without being attached to a computer?
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Definitely, You could even power it using a phone adapter.
@SahanaC_Sana_
@SahanaC_Sana_ Жыл бұрын
TQSM!!!!!!!!
@tylerwatson9937
@tylerwatson9937 Жыл бұрын
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?
@adityadeodhar8819
@adityadeodhar8819 7 ай бұрын
no
@MohamedibinAhmed
@MohamedibinAhmed Жыл бұрын
It said failure connection maybe mfrc522 is not connected?
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
You have to wait a bit until the reader gets all data.
@mackenziefallon6000
@mackenziefallon6000 Жыл бұрын
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
@mihirhasmukhbhaikubavat2663
@mihirhasmukhbhaikubavat2663 11 ай бұрын
you need to do soldering between breadboard and rfid
@GameOver-cp5nt
@GameOver-cp5nt 10 ай бұрын
with the arduino mega 2060 you need to connect RST pin 9 SDA pin 53 MOSI pin 51 MISO pin 50 SCK pin 52
@FlightOfThePiano
@FlightOfThePiano Жыл бұрын
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...
@joshuapiper3712
@joshuapiper3712 Жыл бұрын
What did you do to correct your error?
@benb-lc8le
@benb-lc8le 5 ай бұрын
I have the same problem can you pls say how you fixed it?
@joaoamaral677
@joaoamaral677 Жыл бұрын
How do I put 2 tags in the code?
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
You could add another array accessUID2 then add it to the if statement if(.... || use the same comparison but with accessUID2) > this || means or
@filipposzisis7148
@filipposzisis7148 Жыл бұрын
where is the code
@ahmadhithem9029
@ahmadhithem9029 Жыл бұрын
HOW CAN I DO MULTI CARD??
@jeanieelorde17
@jeanieelorde17 11 ай бұрын
Can you please do video for laundry shop please 6:28
@holdupmaster
@holdupmaster 8 ай бұрын
WARNING: Communication failure, is the MFRC522 properly connected? I just keep getting this error
@kujtims
@kujtims 8 ай бұрын
Did you find a way to fix that i'm having the same problem as well...
@IHas_
@IHas_ 7 ай бұрын
am having same problem
@minhhoangcong9155
@minhhoangcong9155 5 ай бұрын
please help, im having too
@IHas_
@IHas_ 5 ай бұрын
@@minhhoangcong9155 change braud bro ı will solved my problem with this
@OnlyXaM
@OnlyXaM 4 ай бұрын
Im having the same problem, were you able to fix it?
@user-zv8dt2vn8x
@user-zv8dt2vn8x 9 ай бұрын
Ok👍👍
@Getreadytogame008
@Getreadytogame008 7 ай бұрын
Do I need the buzzer
@EnjoyMechatronics
@EnjoyMechatronics 7 ай бұрын
The buzzer isn't essential to the project
@Getreadytogame008
@Getreadytogame008 7 ай бұрын
Thank you
@Getreadytogame008
@Getreadytogame008 7 ай бұрын
Thank you
@Getreadytogame008
@Getreadytogame008 7 ай бұрын
Thank you
@Getreadytogame008
@Getreadytogame008 7 ай бұрын
Thank you
@foospoo
@foospoo 9 ай бұрын
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 !!!!!!!!!!!
Digital Object Counter using Arduino
9:31
Enjoy Mechatronics
Рет қаралды 20 М.
#223 RFID How-To: Not only for Arduino (only legal Stuff!)
15:45
Andreas Spiess
Рет қаралды 137 М.
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Cool Tool SHORTS Netherlands
Рет қаралды 9 МЛН
Cute kitty gadgets 💛
00:24
TheSoul Music Family
Рет қаралды 17 МЛН
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 23 МЛН
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 23 МЛН
RFID Locks are way too easy to "Hack"! Let me show you!
11:41
GreatScott!
Рет қаралды 1,3 МЛН
Make Dumb Electronics Smart for $3
13:13
I Like To Make Stuff
Рет қаралды 630 М.
Lesson 21 - RC522 RFID Module
35:54
Ricardo Moreno
Рет қаралды 33 М.
Using LCD Displays with Arduino
46:23
DroneBot Workshop
Рет қаралды 1,7 МЛН
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
RFID Roundup!
21:32
Playful Technology
Рет қаралды 66 М.
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Cool Tool SHORTS Netherlands
Рет қаралды 9 МЛН