DIY RFID Door Lock

  Переглядів 111,068

LiveSparks

4 роки тому

Learn how to make a RFID controlled Electronic Door Lock using an Arduino and the RC522 board. We will lock a door using a servo motor that opens only when the right tag is presented.

DOWNLOAD THE LIBRARY: github.com/ljos/MFRC522
DOWNLOAD THE CODE: github.com/LiveSparks/RFID-Do...

Buy the parts:
~~~~US~~~~
Complete Kit: goo.gl/LoeGBh
------OR------
RFID Board: goo.gl/XwGVIn
Arduino: goo.gl/wx34Nz

~~~~INDIA~~~~
RFID Board: amzn.to/2qET6BI
Arduino: amzn.to/2sdocT5

Music: goo.gl/O2ZXDZ

КОМЕНТАРІ
Edward Fontaine
Edward Fontaine 3 роки тому
Great pace! excellent work. Best RC522 video
Best Cola
Best Cola 8 місяців тому
how do u use the master card to open it tho
Brandon Harp
Brandon Harp Рік тому
I know this is an old video, but I'm having an issue compiling the code in the IDE. Continue to get 'Class MFRC522' has no member named 'PCD_Init'. Ideas?
Bhuvan Sharma
Bhuvan Sharma 10 місяців тому
@Brandon Harp Could you contact me on email? I would be able to help you better in that way. "er.bsharma021@gmail.com"
Brandon Harp
Brandon Harp 10 місяців тому
@Bhuvan Sharma Could you please share with me? We have looked at the code, however it seems like it is not writing the UID to EEPROM. Would you be willing to share a working version of the code? I'm unable to make anything work.
Bhuvan Sharma
Bhuvan Sharma 10 місяців тому
Yes
Brandon Harp
Brandon Harp 10 місяців тому
@Bhuvan Sharma Were you able to make this work?
Bhuvan Sharma
Bhuvan Sharma 11 місяців тому
github.com/miguelbalboa/rfid use this for mfrc522 lib
priceandpride
priceandpride Рік тому
what the hell
jawwaad janjua
jawwaad janjua Рік тому
Although the thumbnail of the vid was clickbait😂, this was still really helpful. Instead of a button to unlock the door from the inside, could you use a sencor?
Ben Witkov
Ben Witkov Рік тому
The code isnt in the description
Abid Raihan
Abid Raihan Рік тому
What do you do when power goes out?
LiveSparks
LiveSparks Рік тому
When I was using it, it was hooked to a power line that had UPS backup. But this is always a concern with electronic locking systems. People do actually get locked out of their homes/offices when power goes out and they don't have any backup.
Bejan Arqania
Bejan Arqania Рік тому
Hey. I want to load the vigik system codes on a card or key fob to open the entire vigik system, do you do this and how much is it worth? b.arqania85@gmail.com
Bejan Arqania
Bejan Arqania Рік тому
www.google.com/url?sa=t&source=web&cd=&ved=2ahUKEwjVgPTWpLnrAhX1BGMBHW_kBi0QFjAKegQIBBAC&url=https%3A%2F%2Fbadge-vigik.fr%2Fblog%2Findex.php%2Fle-pass-vigik%2F&usg=AOvVaw2Z0SuRxc3po_T3CwvKEPC7
Bejan Arqania
Bejan Arqania Рік тому
write google and find out
LiveSparks
LiveSparks Рік тому
I am sorry I don't know what that is.
A Guy In A Checkered Shirt
A Guy In A Checkered Shirt Рік тому
Welcome to the SCP Foundation.
Mift-DZ
Mift-DZ Рік тому
Perfect...Next Video Arduino Wait!!!
NILANJAN ROY
NILANJAN ROY Рік тому
How to remove autolocking
Chris Stloukal
Chris Stloukal Рік тому
Will it work with a mag lock
LiveSparks
LiveSparks Рік тому
Yes
Ashish Solanki
Ashish Solanki 2 роки тому
u dont clear the doubts of peoples and after that think peoples like share and subscribe your chenel.sorry for bed english...
Ashish Solanki
Ashish Solanki 2 роки тому
hello ..how can i change the code of servo for solinoid help me....
Rakhi solanki
Rakhi solanki 2 роки тому
u r connect D2 and gnd of push button to unlock manually in nano but in case of uno which pin are use for it..? and can i use solinoid lock as the replacement of servo motor...how..?
Rakhi solanki
Rakhi solanki 2 роки тому
hey i like to use solinoid lock not servo motor so the code will be same or differ...? help me
Rakhi solanki
Rakhi solanki 2 роки тому
u r connect D2 and gnd of push button to unlock manually in nano but in case of uno which pin are use for it..? and also code for solinoid. i am not from this field so dont have exlnt knoledge please provide me code..solanki.rakhi0707@gmailcom
LiveSparks
LiveSparks 2 роки тому
A little different. We just need to replace the servo lines. Just like you may turn a led on or off, you can toggle the solenoid.
Hadi M
Hadi M 2 роки тому
what is source code if we use arduino uno?
Shah kabir
Shah kabir 2 роки тому
I want to use door system for single entry means after single entry door closed like delhi metro...
Manjit Singh
Manjit Singh 2 роки тому
Pc is showing an error in the file
Manjit Singh
Manjit Singh 2 роки тому
What to do with the unzipped file and code? Where is library and arduino folder?
Sayeed Bin Mozahid
Sayeed Bin Mozahid 2 роки тому
I appreciate with your video. I have still a little bit confused. If I have 2 or 3 RFID cards, how to add them with my system?
Cyber tech
Cyber tech 2 роки тому
Will you tell me that how can i use RFid with Ethernet sheild bcz its not doing work?
jamie brook
jamie brook 2 роки тому
@live sparks I can't seem to be able to add another tag, I can get into the program mode it says scan a picc to add or remove to eeprom so I scan a new tag and it recognises it and says its uid but then freezes and doesn't add it, the green led stays a solid green any help would be appreciated!!!!!!
Beyond Gravity
Beyond Gravity 4 місяці тому
@jamie brook can you find the change please?
Brandon Harp
Brandon Harp 11 місяців тому
@jamie brook Don’t suppose it’s likely that you could find the change? It doesn’t seem like it’s exiting a loop like it’s supposed to.
jamie brook
jamie brook 11 місяців тому
@BrandonHarp I managed to do it in the end I think I ended up editing the code but can’t remember was ages ago
Brandon Harp
Brandon Harp 11 місяців тому
@live sparks I'm having the same issue. I've double checked all of my connections, and the blue light is solid upon boot, then takes a master card. After scanning master card, the lights begin to cycle, when scanning an additional card it holds at green, and I'm unable to get out of programming mode. It's like it's just hung.
Brandon Harp
Brandon Harp 11 місяців тому
Did you ever figure this out? Mine is doing the exact same thing.
Rishen John
Rishen John 2 роки тому
Perfect Tutorial! Easy to Understand...
Hubert Chang
Hubert Chang 2 роки тому
edward fontaine gay
Hubert Chang
Hubert Chang 2 роки тому
edward gay
Hubert Chang
Hubert Chang 2 роки тому
gay
Richard Hammond
Richard Hammond 2 роки тому
How would this work with a ups, I know that the ups needs some kind of cooling system but could you program that all on one arduino or would you need 2
Khan Moahammed
Khan Moahammed 2 роки тому
plz snd url
Khan Moahammed
Khan Moahammed 2 роки тому
which motor shall I use for permanent project?
LiveSparks
LiveSparks 2 роки тому
Use a solenoid lock or a linear actuator
Shrey Talati
Shrey Talati 3 роки тому
Umm can it read NFC
Shrey Talati
Shrey Talati 3 роки тому
@LiveSparks could you please make a vedio about that... if possible
LiveSparks
LiveSparks 3 роки тому
I don't think so. As far as I am aware, there are specialized readers for NFC.
Woody Watson
Woody Watson 3 роки тому
How does it work if you leave the rfid key on the sensor? Will it just stay unlocked the entire time? Asking before I start a more complicated project using this video.
LiveSparks
LiveSparks 3 роки тому
In the code you will find that a delay is started as soon as the door opens. After the delay is open, the door closes. Remove those lines and use a variable to store the door state. Open and close the door according to that state.
Woody Watson
Woody Watson 3 роки тому
Live Sparks, could you explain what to change in the code to make it stay open until it is scanned again? Thank you
LiveSparks
LiveSparks 3 роки тому
It won't stay unlocked.
lynash
lynash 3 роки тому
Hello, how I want use RFID card cording. because you use tag
Vinay Kumar Sharma
Vinay Kumar Sharma 3 роки тому
Can you give me a circuit diagram of this project please...
Ishmeet Ahuja
Ishmeet Ahuja 3 роки тому
Can we a phone with NFC?
IRON FILMS PRODUCTION
IRON FILMS PRODUCTION 3 роки тому
After adding mfrc522 in library. Where to put the code door lock ? And then how to upload And when i try to upload it give me error class mfrc522 has no member named PCD_Init please help please help
IRON FILMS PRODUCTION
IRON FILMS PRODUCTION 3 роки тому
Live Sparks sir then please help me or any uther code For rfid reader , servo , leds and arduino uno help
LiveSparks
LiveSparks 3 роки тому
This code seems to no longer be working with the newer IDEs
elijah gallares
elijah gallares 3 роки тому
'class MFRC522' has no member named 'PCD_Init' pls help me fix
DEEPAK KUMAR
DEEPAK KUMAR 2 роки тому
me too also
Aron Cahill
Aron Cahill 3 роки тому
Is it possible to make the lock stay open untill the card is scaned again?
Aron Cahill
Aron Cahill 3 роки тому
How would I learn to modify the code?
LiveSparks
LiveSparks 3 роки тому
Sure, you just need to modify a couple of lines of code.
_ sachu_
_ sachu_ 3 роки тому
Plzzz make a video about how to make RFID door lock using solenoid
Ritvik Singh Rajput
Ritvik Singh Rajput 6 місяців тому
Have you make?
jayant dangui
jayant dangui 3 роки тому
Can you give me code for solenoid electromagnetic lock
TheDeveer
TheDeveer 3 роки тому
That lock ain't gonna stop anyone, otherwise good job.
joy zhang
joy zhang 3 роки тому
XMINNOV locates in Xiamen, which specialized in leading research, production and sales of special spare parts & materials for IOT RFID application. Hundred percent focused on customized security needs developments. Business covers all kinds of RFID tags, RFID readers and application management system.
Game Play
Game Play 3 роки тому
i can't update code to arduino nano
Game Play
Game Play 3 роки тому
you use arduino nano
jayant dangui
jayant dangui 3 роки тому
Why should we download library?
leglessinoz
leglessinoz 3 роки тому
You need it to access the RFID reader. Or write one for yourself if you think you can.
jayant dangui
jayant dangui 3 роки тому
Hii please give me code for rfid magnetic door lock
leglessinoz
leglessinoz 3 роки тому
download it yourself. It's in the links.
Noman saeed
Noman saeed 3 роки тому
I try to upload but facing this error 'class MFRC522' has no member named 'PDC_lnit' Please help me
cipry1010
cipry1010 2 роки тому
this error is because you have more than one library installed
Shubham Maurya
Shubham Maurya 3 роки тому
Can u help with Arduino uno instead of Arduino nano
LiveSparks
LiveSparks 3 роки тому
+Crazy Keeda You can use the Uno without making any changes.
庄rongzhong
庄rongzhong 3 роки тому
XMINNOV - Worldwide RFID Label Manufacturer Patent products: 1.RFID destructive non-transferable anti-tamper electronic tag 2.RFID anti-counterfeiting electronic tag 3.RFID fragile anti-transfer electronic tag etc rfidtagworld.com email benn@rfidtagworld.com
Old channel
Old channel 3 роки тому
I have an error 'class MFRC522' has no member named 'PCD_Init' any solution? pls help
Dhinesh thiru
Dhinesh thiru 3 роки тому
you have two library of RFID remove one
Liyaqatl Nawchoo
Liyaqatl Nawchoo 3 роки тому
how to connect the cables with arduino
ARJUN
ARJUN 3 роки тому
i scanned but not showing anything
ARJUN
ARJUN 3 роки тому
i made one but there is a problem in serial monitor it tells that scan a picc to define a mastercard how can i solve this problem.
LiveSparks
LiveSparks 3 роки тому
+arjun r k rk scan a card
Norez Rodrigo
Norez Rodrigo 3 роки тому
Ur English is shit
LiveSparks
LiveSparks 3 роки тому
+Norez Rodrigo "Your" English...
RAHUL GUPTA
RAHUL GUPTA 3 роки тому
Hey pls make arduino doorkock using rfid and keypad and lcd display with i2c and and servo motor
Dzikriyana Zuhdia Aziz
Dzikriyana Zuhdia Aziz 4 роки тому
this is so nice but whre is Cicuit diagram ? most viewer your video need that.
leglessinoz
leglessinoz 3 роки тому
Why don't you just watch the damned video? It couldn't be simpler. He tells you where each connection is.
Madhusudan kiccha
Madhusudan kiccha 4 роки тому
Cicuit diagram and program explaination needed
Asha Chaplot
Asha Chaplot 4 роки тому
can I open my door with master card
Asha Chaplot
Asha Chaplot 4 роки тому
Live Sparks ok can I attach two switch one for inside and for outside rather than 10sc. Automatic closing????
LiveSparks
LiveSparks 4 роки тому
+technology world inr of the buttons also turns the servo
Asha Chaplot
Asha Chaplot 4 роки тому
Live Sparks servo will rotate only from tags?????
LiveSparks
LiveSparks 4 роки тому
+technology world no
Asha Chaplot
Asha Chaplot 4 роки тому
Can you tell me in brief I can't understand I'm in class 10 I have me 30-40 Arduino project But I can't understand what you are telling Contact me on mail chaplotasha18@gmail.com Please urgent
Asha Chaplot
Asha Chaplot 4 роки тому
Can you please tell me how to add card to this I don't understand this step
LiveSparks
LiveSparks 4 роки тому
+technology world scan Master card followers by the card you want to add.
Asha Chaplot
Asha Chaplot 4 роки тому
Plz send me schematic digram
leglessinoz
leglessinoz 3 роки тому
oh for pity's sake just watch the video. It's all you need.
sid s
sid s 4 роки тому
give me your no. very important
Skrever
Skrever 4 роки тому
What version of software are you using??
Travis McAllister
Travis McAllister 4 роки тому
I downloaded an error for, mfrc522.PCD_Init(); any ideas
Old channel
Old channel 3 роки тому
Live Sparks i have the same error any solution?
Baconstriiper
Baconstriiper 3 роки тому
Have you got a solution?
Travis McAllister
Travis McAllister 4 роки тому
Live Sparks Thank you, more specifically it says, 'class MFRC522' has no member named 'PCD_Init' thank you!
LiveSparks
LiveSparks 4 роки тому
+Travis McAllister I'll check it out.
Travis McAllister
Travis McAllister 4 роки тому
omg, lol. I downloaded it as described and received an error for that saying it doesn't exist
嘿嘿嘿
嘿嘿嘿 4 роки тому
Do you have circuit figure ?
param kashyap
param kashyap 4 роки тому
did you made any modifications on this code or you upload as it is
LiveSparks
LiveSparks 4 роки тому
+tecnical bro It was uploaded as is.
Sahil Bamal
Sahil Bamal 4 роки тому
Very useful trick. Keep it up bro 👍
How To Easily Program The Attiny85
4:24
LiveSparks
Переглядів 55 тис.
RFID Roundup!
21:32
Playful Technology
Переглядів 25 тис.
ВСЕ МЕМЕ 13 КАРТ | original meme сборник
6:14
Феникс Анимация
Переглядів 677 тис.
Холостячка - Сезон 2. Выпуск 1 - СМОТРИТЕ ПРЯМО СЕЙЧАС НА TELEPORTAL.UA
10:59
5 AMAZING Arduino project DIY
36:03
Daniele Tartaglia
Переглядів 1,5 млн
2nd Generation of our hidden RFID cabinet lock with emergency power wire
1:40
Ultimate Security Devices
Переглядів 14 тис.
programming RFID lock
8:28
Stevenorwalk
Переглядів 12 тис.
Build a Raspberry Pi Smart Door Lock Security System for your Smart Home!
19:37
Switched On Network
Переглядів 123 тис.
How to Make a Simple Door Alarm
6:58
DrScrew
Переглядів 15 млн
Quantum Locking Will Blow Your Mind-How Does it Work?
17:24
The Action Lab
Переглядів 4,2 млн
SuperHouseTV #7: Control door locks with RFID and Arduino
28:11
SuperHouseTV
Переглядів 79 тис.
Classic RFID Lock
13:49
Harris Geift
Переглядів 9 тис.
[KeyDuino][TUTO] NFC drawer lock project
9:56
Mr Stein
Переглядів 170 тис.
ВСЕ МЕМЕ 13 КАРТ | original meme сборник
6:14
Феникс Анимация
Переглядів 677 тис.
Холостячка - Сезон 2. Выпуск 1 - СМОТРИТЕ ПРЯМО СЕЙЧАС НА TELEPORTAL.UA
10:59
3 тиждень - Танці з зірками. 8 сезон
3:9:31
Танці з зірками
Переглядів 286 тис.
TamerlanAlena - Детка (Official Video 2021)
3:10
TamerlanAlena
Переглядів 1 млн