DIY RFID Door Lock

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • 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/ljo...
    DOWNLOAD THE CODE: github.com/Liv...
    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

Комментарии • 106

  • @rocklobster207
    @rocklobster207 6 лет назад +7

    Great pace! excellent work. Best RC522 video

  • @rishenjohn2041
    @rishenjohn2041 5 лет назад +4

    Perfect Tutorial!
    Easy to Understand...

  • @_sachu_5900
    @_sachu_5900 6 лет назад +5

    Plzzz make a video about how to make RFID door lock using solenoid

  • @jawwaadjanjua2716
    @jawwaadjanjua2716 4 года назад

    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?

  • @richardhammond6468
    @richardhammond6468 5 лет назад +1

    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

  • @sahilbamal2449
    @sahilbamal2449 7 лет назад +8

    Very useful trick. Keep it up bro 👍

  • @earthcola4356
    @earthcola4356 3 года назад

    how do u use the master card to open it tho

  • @rakhisolanki1840
    @rakhisolanki1840 5 лет назад

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

  • @altoid322
    @altoid322 4 года назад

    The code isnt in the description

  • @mift-dz4962
    @mift-dz4962 4 года назад

    Perfect...Next Video Arduino Wait!!!

  • @ManjitSingh-jh2tq
    @ManjitSingh-jh2tq 5 лет назад

    What to do with the unzipped file and code? Where is library and arduino folder?

  • @ashishsolanki9173
    @ashishsolanki9173 5 лет назад

    hello ..how can i change the code of servo for solinoid help me....

  • @binMozahid
    @binMozahid 5 лет назад

    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?

  • @Cybertech02
    @Cybertech02 5 лет назад

    Will you tell me that how can i use RFid with Ethernet sheild bcz its not doing work?

  • @shahalam8827
    @shahalam8827 5 лет назад

    I want to use door system for single entry means after single entry door closed like delhi metro...

  • @joyzhang5893
    @joyzhang5893 6 лет назад

    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.

  • @oldchannel8385
    @oldchannel8385 6 лет назад +1

    I have an error 'class MFRC522' has no member named 'PCD_Init' any solution? pls help

    • @dhinesh1518
      @dhinesh1518 6 лет назад

      you have two library of RFID remove one

  • @user-gt3cr1hy2r
    @user-gt3cr1hy2r 7 лет назад +1

    Do you have circuit figure ?

  • @rakhisolanki1840
    @rakhisolanki1840 5 лет назад

    hey i like to use solinoid lock not servo motor so the code will be same or differ...? help me

    • @LiveSparks
      @LiveSparks  5 лет назад

      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.

    • @rakhisolanki1840
      @rakhisolanki1840 5 лет назад

      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

  • @woody10lsbg
    @woody10lsbg 6 лет назад

    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  6 лет назад

      It won't stay unlocked.

    • @woody10lsbg
      @woody10lsbg 6 лет назад

      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  6 лет назад

      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.

  • @McFunctional
    @McFunctional 4 года назад

    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?

    • @bhuvansharma2364
      @bhuvansharma2364 3 года назад +1

      github.com/miguelbalboa/rfid
      use this for mfrc522 lib

    • @McFunctional
      @McFunctional 3 года назад

      @@bhuvansharma2364 Were you able to make this work?

    • @bhuvansharma2364
      @bhuvansharma2364 3 года назад

      Yes

    • @McFunctional
      @McFunctional 3 года назад

      @@bhuvansharma2364 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.

    • @bhuvansharma2364
      @bhuvansharma2364 3 года назад +1

      @@McFunctional Could you contact me on email? I would be able to help you better in that way. "er.bsharma021@gmail.com"

  • @ashachaplot576
    @ashachaplot576 7 лет назад +1

    Can you please tell me how to add card to this
    I don't understand this step

    • @LiveSparks
      @LiveSparks  7 лет назад

      +technology world scan Master card followers by the card you want to add.

  • @sanu7210
    @sanu7210 4 года назад

    How to remove autolocking

  • @vinaykumarsharma3872
    @vinaykumarsharma3872 6 лет назад

    Can you give me a circuit diagram of this project please...

  • @elijahgallares5113
    @elijahgallares5113 6 лет назад

    'class MFRC522' has no member named 'PCD_Init'
    pls help me fix

  • @ManjitSingh-jh2tq
    @ManjitSingh-jh2tq 5 лет назад

    Pc is showing an error in the file

  • @arjunrk9154
    @arjunrk9154 6 лет назад

    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.

  • @RAHULGUPTA-dt6yd
    @RAHULGUPTA-dt6yd 6 лет назад

    Hey pls make arduino doorkock using rfid and keypad and lcd display with i2c and and servo motor

  • @liyaqatlnawchoo5588
    @liyaqatlnawchoo5588 6 лет назад

    how to connect the cables with arduino

  • @skrever1252
    @skrever1252 7 лет назад

    What version of software are you using??

  • @ishmeetahuja6169
    @ishmeetahuja6169 6 лет назад

    Can we a phone with NFC?

  • @user-fo9ce3hr5h
    @user-fo9ce3hr5h 5 лет назад

    what is source code if we use arduino uno?

  • @asimcent
    @asimcent 6 лет назад

    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

    • @LiveSparks
      @LiveSparks  6 лет назад

      This code seems to no longer be working with the newer IDEs

    • @asimcent
      @asimcent 6 лет назад

      Live Sparks sir then please help me or any uther code
      For rfid reader , servo , leds and arduino uno help

  • @aroncahill2219
    @aroncahill2219 6 лет назад

    Is it possible to make the lock stay open untill the card is scaned again?

    • @LiveSparks
      @LiveSparks  6 лет назад +1

      Sure, you just need to modify a couple of lines of code.

    • @aroncahill2219
      @aroncahill2219 6 лет назад

      How would I learn to modify the code?

  • @jayantdangui8383
    @jayantdangui8383 6 лет назад

    Can you give me code for solenoid electromagnetic lock

  • @arjunrk9154
    @arjunrk9154 6 лет назад

    i scanned but not showing anything

  • @bunheng6290
    @bunheng6290 6 лет назад

    you use arduino nano

  • @travismcallister417
    @travismcallister417 7 лет назад +1

    I downloaded an error for, mfrc522.PCD_Init(); any ideas

    • @travismcallister417
      @travismcallister417 7 лет назад +1

      omg, lol. I downloaded it as described and received an error for that saying it doesn't exist

    • @LiveSparks
      @LiveSparks  7 лет назад

      +Travis McAllister I'll check it out.

    • @travismcallister417
      @travismcallister417 7 лет назад

      Live Sparks Thank you, more specifically it says, 'class MFRC522' has no member named 'PCD_Init'
      thank you!

    • @baconstriiper7337
      @baconstriiper7337 6 лет назад +2

      Have you got a solution?

    • @oldchannel8385
      @oldchannel8385 6 лет назад

      Live Sparks i have the same error any solution?

  • @MrBOOSed
    @MrBOOSed 4 года назад

    Will it work with a mag lock

  • @madhusudantalavar7702
    @madhusudantalavar7702 7 лет назад

    Cicuit diagram and program explaination needed

  • @bunheng6290
    @bunheng6290 6 лет назад

    i can't update code to arduino nano

  • @dzikriyanazuhdiaaziz7738
    @dzikriyanazuhdiaaziz7738 7 лет назад

    this is so nice but whre is Cicuit diagram ? most viewer your video need that.

    • @leglessinoz
      @leglessinoz 6 лет назад

      Why don't you just watch the damned video? It couldn't be simpler. He tells you where each connection is.

  • @jamiebrook1125
    @jamiebrook1125 5 лет назад

    @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!!!!!!

    • @McFunctional
      @McFunctional 3 года назад

      Did you ever figure this out? Mine is doing the exact same thing.

    • @McFunctional
      @McFunctional 3 года назад

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

    • @jamiebrook1125
      @jamiebrook1125 3 года назад

      @BrandonHarp I managed to do it in the end I think I ended up editing the code but can’t remember was ages ago

    • @McFunctional
      @McFunctional 3 года назад

      @@jamiebrook1125 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.

    • @beyondgravity9739
      @beyondgravity9739 3 года назад

      @@jamiebrook1125 can you find the change please?

  • @paramkashyap7955
    @paramkashyap7955 7 лет назад

    did you made any modifications on this code or you upload as it is

    • @LiveSparks
      @LiveSparks  7 лет назад

      +tecnical bro It was uploaded as is.

  • @khanmohammed7609
    @khanmohammed7609 5 лет назад

    which motor shall I use for permanent project?

    • @LiveSparks
      @LiveSparks  5 лет назад

      Use a solenoid lock or a linear actuator

  • @jayantdangui8383
    @jayantdangui8383 6 лет назад

    Why should we download library?

    • @leglessinoz
      @leglessinoz 6 лет назад

      You need it to access the RFID reader. Or write one for yourself if you think you can.

  • @shubhammaurya5945
    @shubhammaurya5945 6 лет назад

    Can u help with Arduino uno instead of Arduino nano

    • @LiveSparks
      @LiveSparks  6 лет назад

      +Crazy Keeda You can use the Uno without making any changes.

  • @jayantdangui8383
    @jayantdangui8383 6 лет назад

    Hii please give me code for rfid magnetic door lock

    • @leglessinoz
      @leglessinoz 6 лет назад +1

      download it yourself. It's in the links.

  • @shreytalati7365
    @shreytalati7365 6 лет назад

    Umm can it read NFC

    • @LiveSparks
      @LiveSparks  6 лет назад

      I don't think so. As far as I am aware, there are specialized readers for NFC.

    • @shreytalati7365
      @shreytalati7365 6 лет назад

      @@LiveSparks could you please make a vedio about that... if possible

  • @TheDeveer
    @TheDeveer 6 лет назад +1

    That lock ain't gonna stop anyone, otherwise good job.

  • @khanmohammed7609
    @khanmohammed7609 5 лет назад

    plz snd url

  • @ashachaplot576
    @ashachaplot576 7 лет назад +1

    Plz send me schematic digram

    • @leglessinoz
      @leglessinoz 6 лет назад

      oh for pity's sake just watch the video. It's all you need.

  • @ashishsolanki9173
    @ashishsolanki9173 5 лет назад

    u dont clear the doubts of peoples and after that think peoples like share and subscribe your chenel.sorry for bed english...

  • @ashachaplot576
    @ashachaplot576 7 лет назад

    can I open my door with master card

    • @LiveSparks
      @LiveSparks  7 лет назад

      +technology world no

    • @ashachaplot576
      @ashachaplot576 7 лет назад

      Live Sparks servo will rotate only from tags?????

    • @LiveSparks
      @LiveSparks  7 лет назад

      +technology world inr of the buttons also turns the servo

    • @ashachaplot576
      @ashachaplot576 7 лет назад

      Live Sparks ok can I attach two switch one for inside and for outside rather than 10sc. Automatic closing????

  • @priceandpride
    @priceandpride 4 года назад

    what the hell

  • @lynash99
    @lynash99 6 лет назад

    Hello, how I want use RFID card cording. because you use tag

  • @nomansaeed4511
    @nomansaeed4511 6 лет назад

    I try to upload but facing this error
    'class MFRC522' has no member named 'PDC_lnit'
    Please help me

    • @cipry1010
      @cipry1010 5 лет назад

      this error is because you have more than one library installed