How RFID Works and How To Make an Arduino based RFID Door Lock

  Переглядів 516,771

How To Mechatronics

How To Mechatronics

7 років тому

howtomechatronics.com/tutoria... ► Find more details, circuit schematics and source codes on my official website.
Collection of Arduino Projects: howtomechatronics.com/arduino...
In this tutorial we will learn what RFID is, how it works and how to make an Arduino based RFID door lock. RFID stands for Radio Frequency IDentification and it’s a non-contact technology that’s broadly used in many industries for tasks such as personnel tracking, access control, supply chain management, books tracking in libraries, tollgate systems and so on.
Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos:
► howtomechatronics.com/
Like my page on Facebook:
► / howtomechatronics
Add me on Google+:
►plus.google.com/+Howtomechatr...

КОМЕНТАРІ: 145
@nikolalpc2148
@nikolalpc2148 7 років тому
svaka cast, sve pohvale, tutorijali su odlicni
@samanthaseetaram1516
@samanthaseetaram1516 7 місяців тому
Hello, what software did you use to do the component and electrical schematic?
@assignmentable
@assignmentable 6 років тому
Hello, great video just a quick question about trying to make a relay stay on as long as the RFID card is present. So I want to make it so that I don't need to set a specific time duration the relay is on for. Is this possible with the RFID? just each time I leave the card next to the reader, it only reads it once, but I am unsure on if this is because of the code or hardware.
@rangaswamy8604
@rangaswamy8604 6 років тому
Thank you, solved.
@accordfreak1
@accordfreak1 6 років тому
Do you need the whole coil on rfid card for the chip to work? I want to put the chip inside my car keyfob
@amjadali7691
@amjadali7691 6 років тому
thanks for this video may i ask if could i store data and read it from RFID Card ? using arduino ? please
@1akkaoui
@1akkaoui 7 років тому
Thank you for all your efforts, because of i inderstand well arduino programming, i have a project which i should use a door, can you help me by giving the dimension of the door that you used ? and thank you a lot
@qps9380
@qps9380 6 років тому
You are SO GOOD....... I wish I could code like you. Amazing vid!
@maxwellshingleton-smith7607
@maxwellshingleton-smith7607 4 роки тому
half of the code is not by him
@francoiskariko5179
@francoiskariko5179 6 років тому
Very nice compiled video. I need to read a tag from about 2 m. Please advise
@IDMIPoseidon
@IDMIPoseidon 5 років тому
Hello. I'm going to use simple MRFC22 RFID sensor inside a backpack, specifically on the backpack surface/layer. Is it possible to operate the RFID that way? Can the RFID sensor read the RFID tag through fabric? Thanks!
@brynjamesgonzales286
@brynjamesgonzales286 6 років тому
What is the app you used to make schematic diagrams?
@partscience
@partscience 7 років тому
Very good tutorial also give more tutorials on many other things
@dr.x5964
@dr.x5964 7 років тому
Great video tutorial, how it's made your presentation ?
@MArifinDobson
@MArifinDobson 6 років тому
Thankyou! you are really great!
@andrewschiller6133
@andrewschiller6133 6 років тому
What is that box containing the scanner and lcd panel? I didn’t hear him mention it.
@hossammoghrabi1021
@hossammoghrabi1021 7 років тому
what software u use for shapes and animation?
@pratibhakarpe6307
@pratibhakarpe6307 4 роки тому
How the helmet detection on clg gate implemented using RFID?
@krishnamoorthykrish6546
@krishnamoorthykrish6546 4 роки тому
Is it possible to connect more number of rfid tag to the common rfid reader?
@sanjaysinghs
@sanjaysinghs 7 років тому
very good video .. i also want to make this at home.
@dzikriyanazuhdiaaziz7738
@dzikriyanazuhdiaaziz7738 6 років тому
hello sir, do you have button code for open servo inside ? so i mean if use that rfid lock door at room outside use rfid and inside room can use button for open the servo do you have code like tht ? please share. thnks
@ariebakker64
@ariebakker64 6 років тому
Can you make video how to connect the ESP8266MOD which you can buy on ebay, with a pre-soldered board with 4 pins. I only see vids online how to connect that board with 8 pins.
@learnthebasicchannel8394
@learnthebasicchannel8394 5 років тому
no eeprom? i think sava data will be lost if the system restarted or off .BTW great project and nice tutorial .
@syaduinotech3681
@syaduinotech3681 3 роки тому
Thanks for the video I got question. How to implement in real situation, in order for us to come out from the room. Do you mind to share maybe some trick or reset button.. This method seems good for entering the room, but I am stuck when how the mechanism when we want to go out. Should we install both rfid sensor inside and outside the room? Tq sir
@atulhawale8961
@atulhawale8961 6 років тому
Best sir...really good explanation
@mihailosimeunovic5712
@mihailosimeunovic5712 6 років тому
Can i use arduino nano v3 or i must use mfrc522?
@metzgaming1650
@metzgaming1650 5 років тому
Hey bro can you send me a picture of the breadboard already connected? and from behind the door
@mytopgear8334
@mytopgear8334 3 роки тому
Can you make this project that data stored on the EEPROM?
@arunacharya2644
@arunacharya2644 5 років тому
thanks ! this works really well and kudos to your code's explanation.
@HowToMechatronics
@HowToMechatronics 5 років тому
Thanks!
@arjuneaswaran2930
@arjuneaswaran2930 5 років тому
@@HowToMechatronics Can you please update the code with EEPROM
@chess1011
@chess1011 Рік тому
How do you create beautiful diagrams? I mean specific software or websites you use for creating such diagrams. When it comes to ThinkerCad I can't find all the components, can you give some directions on this?
@yasserouhamiche4418
@yasserouhamiche4418 3 роки тому
Thanks for this amazing vidéo , how WE Can write in thé card? Plz
@electronica853
@electronica853 7 років тому
thank you .
@user-ld4bc3xs1h
@user-ld4bc3xs1h Рік тому
How do you get a Rfid sensor and key fob into Tinkercad or is there a substitute of these components that can be added into Tinkercad circuits?
@aliabdollahian1465
@aliabdollahian1465 4 роки тому
Hi it was perfect I want to do different work I want open a lock with card But if i turn off the Arduino lock automatically open Actually i want a code that when Arduino is on lock should be lock and when put the card on scanner lock should open And when arduino is off lock should be open
@ashagriemelesse1977
@ashagriemelesse1977 6 років тому
good explanation sir
@geniebevelaranio7895
@geniebevelaranio7895 6 років тому
i just want to ask if you have any tutorial on how to connect Lisd0702 rfid to arduino. my project is RFID-based book monitoring
@pedromaione6461
@pedromaione6461 6 років тому
Nicely done
@wiedhathecrafter7508
@wiedhathecrafter7508 5 років тому
God. Seeing someone explain what RFID is is amazing. Like, not so many people know what it is, and being a door lock server installer for Assa Abloy it hurts when people go, “oh, can I put that near my phone? It will still work right?” And I just want to look at them and go, “no, this can’t go near any electronics at all. If it does, the world ends.”
@Jonasmelonas
@Jonasmelonas 2 роки тому
Superior door lock installer right here
@UndernetSystems
@UndernetSystems 7 років тому
Great explanation, thank you.
@cucximi4290
@cucximi4290 6 років тому
amazing !!!
@campanariodiademaadbsetor2607
@campanariodiademaadbsetor2607 5 років тому
Congratulations, excellent class, very considerate you for the explanation, deserves 500.00 likes.
@HowToMechatronics
@HowToMechatronics 5 років тому
Thanks!
@SumitKumar-fc4bq
@SumitKumar-fc4bq 7 років тому
Any new project is coming up ?
@kelvinmwaniki3889
@kelvinmwaniki3889 6 років тому
thank you sir!!!
@kenyaexplorer
@kenyaexplorer 4 роки тому
Call me 0757386001
@kennylinda7303
@kennylinda7303 5 років тому
Such good instruction. I like the design's Molilock's rfid door lock
@juancarlosabad3298
@juancarlosabad3298 5 років тому
Error in description at 5:10, to remove a tag the tag must be KNOWN before, not unknown as explained...
@schancruz
@schancruz 5 років тому
Hi! Can it be possible for a bag to be locked with an RFID tag? I'm planning to use it on our prototype making project. Hope you'll help! Thank you!
@juancarlosabad3298
@juancarlosabad3298 5 років тому
what do you mean "bag locked"...RFID tags are available in multiple shapes and forms, one of them is as label that you can stick to your product which could also be a bag....you can even inject a glass capsule containing an RFID tag into your cat or dog , in some countries that is even mandatory..
@AkshanshShrivastava
@AkshanshShrivastava 6 років тому
what should I do if I want to open the door from the opposite side ?
@athuldevadaz1494
@athuldevadaz1494 5 років тому
Wil you please upload a video which shows how we can stack books in a library and how we can identify them using a robotic arm
@juancarlosabad3298
@juancarlosabad3298 5 років тому
you dont need to use a robotic arm to "identify" the books....if your RFID transponder (host side) antenna is big enough you can scan RFID within 8-15 m and that in batches of 300-400 RFID tags per batch, if you have more then sequentially without the need to be near nor point to the objects/tages...there are industrial handheld terminals or tablets which such integrated RFID large antenna...
@Kyle-ye4nj
@Kyle-ye4nj 7 років тому
Nice!! :D
@jumbo999614
@jumbo999614 4 роки тому
What kind of card does this module support? I use my apartment keycard which is thicker and cannot be bent. Doesn't read. It reads only white card that comes with the package. And the blue thing with keyring only read for few lines then it shows this "PCD_Authenticate() failed: Timeout in communication".
@johannesnotheis7323
@johannesnotheis7323 6 років тому
is it possible to change the Code of a RFID card with a app ?
@swayamraut119
@swayamraut119 5 років тому
I want to make a similar project for my school science fair. Where do we have to place the proximity sensor, and do we have to keep it in contact with door when we close it? How did you hide all the wires you used? And did you place the arduino nano on the breadboard? Please do reply, your reply means a lot to me!
@HowToMechatronics
@HowToMechatronics 5 років тому
The proximity sensor is placed so that can detect when the door is closed. It doesn't have to be the particular model of proximity sensor, you could also use an HC-SR04 ultrasonic sensor for that purpose. All the wires are just wrapped with an insulating tape. And if you have the proper jump wires you don't have to use a breadboard, I didn't used. Have fun building your project!
@swayamraut119
@swayamraut119 5 років тому
@@HowToMechatronics Thanks a lot for your advice, I owe you one for this project idea. Is it possible to make this using an infra-red Proximity sensor? If so, will the same code you included work?
@Siddulamanojkumar
@Siddulamanojkumar 6 років тому
how to add master tag
@doggotv7633
@doggotv7633 6 років тому
do you have a programm to use the rfid in 2 ways? thnx and i hope to hear from you ;)
@goldenamar6921
@goldenamar6921 2 роки тому
Damn 3 years and he didn’t answer
@doggotv7633
@doggotv7633 2 роки тому
@@goldenamar6921 still waiting for dat answer bro
@malefemale1275
@malefemale1275 5 років тому
how bout rfid long rang uhf?
@AhmadFauzi-pd2tb
@AhmadFauzi-pd2tb 6 років тому
So the master card cannot be used to open the door.. am I right?? How to unregister the master card? Will double tapping the master card will unregister it?? Please answer... :)
@maheshjayakumar1767
@maheshjayakumar1767 7 років тому
how do you make your videos?
@brytokumei3766
@brytokumei3766 6 років тому
I want to make like that for my project please teach me more. anyway what is behind the MFRC522?
@brytokumei3766
@brytokumei3766 6 років тому
ATmega328P CH340G UNO R3 Board is compatible for MFRC522??
@murentaotie4781
@murentaotie4781 4 роки тому
hi, in your code ,if we add 100 cards, even if we delete all cards, tagsCount will not decrease, then we can't add any other card?
@kushagarwal3564
@kushagarwal3564 7 років тому
Nice Video, but is the data stored on the EEPROM? What if I power down the system, will it still have the data?
@julianp.2233
@julianp.2233 5 років тому
There ar some systems that when the power goes off it will open.so if you are not home and a thief just closes the main citrcuit breaker the dor will be unlocked 😁
@nikhilwaddar17
@nikhilwaddar17 3 роки тому
@@julianp.2233 😂 Lmao
@Egon1982
@Egon1982 3 роки тому
@@julianp.2233 i havent hear about any security systems without back up power source
@kingcreatez4827
@kingcreatez4827 2 роки тому
hi how can i make the door lock without the proximity sensor? i want to use a button instead
@varshithgowda4050
@varshithgowda4050 4 роки тому
good project but i am not getting the exact code for this awesome project
@prathamva7392
@prathamva7392 7 років тому
Yipee...Thankyou
@hw827
@hw827 7 років тому
@Dejan You Rock
@shabanbaligh7019
@shabanbaligh7019 5 років тому
This very nice
@aqmalzenetic
@aqmalzenetic 4 роки тому
Is the proximity sensor is optional or a must item?
@HowToMechatronics
@HowToMechatronics 4 роки тому
It's just optional in my example.
@shubhamprinte455
@shubhamprinte455 4 роки тому
how to download the mfrc522 library ?
@boiii9793
@boiii9793 6 років тому
will the new added card still get access even when the arduino reboots ?
@arinjayjain327
@arinjayjain327 5 років тому
No
@arjuneaswaran2930
@arjuneaswaran2930 5 років тому
@@arinjayjain327 Do u have the updated EEPROM CODE
@juancarlosabad3298
@juancarlosabad3298 5 років тому
Error in the descriptin of RFID tag memory at minute 4:02 ....it says that the tag memory contains 16 sectors of 4 blocks each, so far so good, but then that each block stores TWO bytes of data when he obviously highlight two sub-blocks of 8 bytes each, so the the right interpretation is that each block contains 2x8=16 bytes ....so total amount of memory is 16x4x16bytes=1024bytes=1KB
@metzgaming1650
@metzgaming1650 5 років тому
Bro tengo un problema con la pantalla lcd me ayudas?
@marianionescu4931
@marianionescu4931 4 роки тому
the mark of the beast
@iidioii8088
@iidioii8088 3 роки тому
Anyone know the specific materials in this video?
@ericliu1558
@ericliu1558 6 років тому
How much is each tag and each RFID? Is that possible to give different level security to each tag?
@justsomedude4660
@justsomedude4660 5 років тому
learn how it works!STOP ASKING
@kushpatel2119
@kushpatel2119 4 роки тому
Which language is used for coding
@washingtonoliveira3523
@washingtonoliveira3523 6 років тому
Hello, it's okay, my name is Washington Oliveira. I'm a student of electrical engineering and I'd like to know if you know how I can develop a rfid module that has a distance of 1 meter. thank you!
@tken93
@tken93 6 років тому
I am NOT trying to be rube but if you are in electrical engineering, you should know the very obvious answer to that question. Again I am not trying to be rude, but this is an extremely silly question and can easily be answered with a very simple google search.
@kartikeyayadav5284
@kartikeyayadav5284 4 роки тому
can i get this code for stm32?
@abdullahsharnoubi5764
@abdullahsharnoubi5764 Рік тому
where should i put the proximity sensor
@furqanali590
@furqanali590 5 років тому
sir want to replace srevo and connect relay in circuit how cna i conenct ?
@varshithgowda4050
@varshithgowda4050 4 роки тому
you should be very careful while using relay because of high voltage you have seperate code
@ziye6781
@ziye6781 3 роки тому
Nice!
@toyodathon08
@toyodathon08 7 років тому
Cool!
@mallikatripathi4747
@mallikatripathi4747 4 роки тому
How do you automatically close the door?
@steamfox
@steamfox 6 років тому
What about RFID chip security? So many videos about RFID access control, yet so few mention anything about security.
@AhmadFauzi-pd2tb
@AhmadFauzi-pd2tb 6 років тому
SteamFox ,, from my understanding , there's no need for RFID security, because the mifare itself has a pre - implemented security system inside.. The cheapest mifare classic type has a crypto encryption inside, .. So unless you know keyA or keyB inside it .. you'll never get the access to modify each bit/byte of the data.. Cmiiw.. :)
@ryani6079
@ryani6079 Рік тому
Rfid doesn't send out a signal. Your initial screen shows it communicating by sending out a wave
@bant923
@bant923 5 років тому
Kan u give me skamatics for Arduino uno
@pratapg3133
@pratapg3133 5 років тому
Is it necessary to use proximity sensor
@HowToMechatronics
@HowToMechatronics 5 років тому
No, you don't have to use that sensor, but you will have to also modify the code a little bit.
@mohammedabdullahkhan4264
@mohammedabdullahkhan4264 4 роки тому
MAKE VEDIO ON HID CARD READER, HOW TO TROUBLESHOOT THIS READER
@akvijayan4327
@akvijayan4327 6 років тому
is this work with aurdino Uno r3
@adarshkeshri9888
@adarshkeshri9888 6 років тому
yup
@ThatsAllStuff
@ThatsAllStuff 7 років тому
Hey, Can You make a Video to arduino Webserver based on html Websites from a sd-Card. Thx
@darkwhiteartz8429
@darkwhiteartz8429 3 роки тому
How many cards can be read by the reader
@maheshms5932
@maheshms5932 4 роки тому
Nice
@popop266
@popop266 6 років тому
How to open the door without the button, how to join the open button
@rangaswamy8604
@rangaswamy8604 6 років тому
I get compiler C++11 required error though I use Arduino IDE 1.8.4
@chamalkalasanthi
@chamalkalasanthi 5 років тому
Please, can you help me to find the name of the RFID tag card which was used in this video?
@nunop4is
@nunop4is 3 роки тому
Some one knows how to make the transfer function of this system?
@skshahed5572
@skshahed5572 5 років тому
when i am inside how can i unlock the door......please help
@DreZz004
@DreZz004 2 роки тому
where I need paste UID card...
@tawanimjit4901
@tawanimjit4901 3 роки тому
Where to put the card code
@fullthrottle392
@fullthrottle392 6 років тому
How to save master tag details in the code?
@diyhub2986
@diyhub2986 6 років тому
where can i find the components use in this project
@devpratapsingh9811
@devpratapsingh9811 4 роки тому
can you solve my problem when i am uploading the code then it is showing that MFRC522 header file missing
@sinadeesanthushyagamage7558
@sinadeesanthushyagamage7558 4 роки тому
mmm... if i were you, I'd probably try to re-download the ZIP file and re-import the library (ZIP file) through the *sketch* tab. And when you open the *file* tab, following with the *examples* tab, scroll down to find *MFRC522* under *custom libraries*
@ImreNyujto
@ImreNyujto 6 років тому
Sorry I have two noob questions. Is there any way (programming) to operate the lock as a simple lock, so disabling the "auto-lock" feature? I mean 1 card read operation to open the lock and one card read operation to close it. Because at home environment it would be a much more convenient way of operation. When I'm home I unlock the locks and when I leave I close them. And is there a way to control more lock from one "control box"? For example a house with 4 door. I would like to read my tag and unlock all the doors. Thanks!
@ImreNyujto
@ImreNyujto 6 років тому
Dejan Nedelkovski ... Thanks for the fast answer!
@gggr8028
@gggr8028 2 роки тому
Yeah
@muhammadanas2651
@muhammadanas2651 5 років тому
In this project we use arduino uno
@HowToMechatronics
@HowToMechatronics 5 років тому
Sure, you can use any Arduino board.
@GiancarloCasalini
@GiancarloCasalini 5 років тому
Where is the proximity sensor?
RFID Locks are way too easy to "Hack"! Let me show you!
11:41
GreatScott!
Переглядів 1,3 млн
How RFID Works? and How to Design RFID Chips?
9:07
easyELAB
Переглядів 214 тис.
🐩🐕
00:25
Янчик
Переглядів 2,4 млн
I PUT MY ARMOR ON (Creeper) (PG Version)
00:19
Sam Green
Переглядів 5 млн
How to use RFID  (RC522) with Arduino - Easy Tutorial
13:38
Enjoy Mechatronics
Переглядів 54 тис.
RFID as Fast As Possible
5:52
Techquickie
Переглядів 455 тис.
Arduino Garden Controller - Automatic Watering and Data Logging
9:13
Practical Engineering
Переглядів 3,1 млн
Understanding MAGLOCKS
19:02
Playful Technology
Переглядів 125 тис.
What is the Difference between RFID and NFC?
6:32
Blue Bite
Переглядів 220 тис.
inventor aw - This Device is very helpful ,, you can make at home
6:47
How to Make Fingerprint Door Lock | Arduino Project
4:22
Creativity Buzz
Переглядів 19 млн