How to make RFID Door Lock using Arduino | Indian LifeHacker

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • Here we will make a Smart RFID Door lock by using arduino and ultrasonic sensor.
    I hope you guys enjoy learning this project.
    Arduino Codes and library: drive.google.c...
    Buy Stuff here:
    Arduino Uno : buy.flyrobo.in/...
    RFID Combo : buy.flyrobo.in/...
    Servo : buy.flyrobo.in/...
    Male to male jumper wire : buy.flyrobo.in/m2m
    Male to female jumper wire : buy.flyrobo.in/m2f
    Music by: / ikson

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

  • @IndianLifeHacker
    @IndianLifeHacker  5 лет назад +24

    I hope you guys like this video.
    Arduino Codes and library: drive.google.com/open?id=1V_U...
    Buy Stuff here:
    Arduino Uno : buy.flyrobo.in/unosmd
    RFID Combo : buy.flyrobo.in/rfidc
    Servo : buy.flyrobo.in/sg90
    Male to male jumper wire : buy.flyrobo.in/m2m
    Male to female jumper wire : buy.flyrobo.in/m2f

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

      Sir I want to your phone number because main Mere Channel ka add aapke channel main Dena Chahta Hoon.

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

      I want to your mobile number please help me

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

      sir app hamsha ardino ka code description me de da karo hme asani hoti hai

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

      Super project

    • @pugboy1086
      @pugboy1086 5 лет назад +5

      Not in detecting my tag please help

  • @sharathkumarhk4260
    @sharathkumarhk4260 5 лет назад +22

    Well its good one!! But what if he forget RFID in his room and door automatically gets lock!! & may be will get another episode of Mr. Bean to watch 😂😂😂 #mrbean

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

      lol bro then we will have to make a project to hack RFID door lock or maybe we could just break a window or might gain access through vents

    • @skierabocomputer3789
      @skierabocomputer3789 12 дней назад

      😂

  • @ferdm9646
    @ferdm9646 3 года назад +4

    Everything is fine! Except if someone needs to hold the door for more than 7seconds then it'll cause trouble. You can solve this issue by using a door sensor.

    • @ballayballay7458
      @ballayballay7458 2 года назад

      You can increase the time by increasing delay value
      i. e. delay(15000) rather than dely(7500)

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

    Thank you Brother 🔥🔥🔥👍

  • @untilgaming6864
    @untilgaming6864 5 лет назад +11

    Hi Mr Indian
    I have a problem
    You put to codes in the discretion
    With I will use 1 or 2

  • @adityarathi7971
    @adityarathi7971 3 года назад +72

    Hey everyone, if it isn't working, the problem is with the diagram. The cyan (the rightmost wire) needs to go to 10 not GND. Hope that helps!

  • @SULTAN-rl6rj
    @SULTAN-rl6rj 5 лет назад

    Awesome bhai aap log or jada video laiye aplogo ka video muje bahot acha lagta hai

  • @aadityashah3358
    @aadityashah3358 4 года назад +9

    To everyone who asks how to add RFID tags:
    In the place where you change the UID put || to signify or and paste your other UID. Hope this helps! :)

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

      1:08 what software is used for setting the rfid?

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

      @@dafyourbae Arduino Software

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

      @@dafyourbae Arduino IDE

  • @ArinMankala
    @ArinMankala 4 года назад +5

    sir can you please help me i am having trouble in getting the uid tag and the rfid sensor is not detecting the uid tag please help me

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

    Please make more videos on this same rfid sensor

  • @kavyathammaiahthelapanda2764
    @kavyathammaiahthelapanda2764 8 месяцев назад +1

    It's not showing the uid tag in serial monitor.

    • @ANRN8
      @ANRN8 6 месяцев назад

      found any solutions? I am facing the same issue currently

  • @omprakashlaha3127
    @omprakashlaha3127 Год назад +5

    pro tip: don't use 9V battery rather use 4x AA 1.5V battery buy a 4x battery holder and connect it to dc barrel jack adapter they easily run servo motor and lasts long. btw mine i first bought 9v battery it didn't run servo motor.

  • @KrishnaKumar-kt5qz
    @KrishnaKumar-kt5qz 5 лет назад +8

    Hii bro one question is there ? if battery is fully discharged and door is locked then how we will open the door.

    • @prashantmishra2179
      @prashantmishra2179 5 лет назад +2

      well just supply 5V from outside to the RFID.. and then it'll work again and open the door

    • @rishigamepley8407
      @rishigamepley8407 5 лет назад +2

      Bhai simple darwaja tod dena 😢😎😎😎😎😎😄😆😆😆😆

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

      Brack the door

  • @bengalrailwaygamingandvlog4880
    @bengalrailwaygamingandvlog4880 Год назад +1

    As soon as I click on upload code it says MFRC522.h: no such file or directory please help me as I need to submit this as my project

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

    Sir make a separate video to program the board

  • @fakhri_bosca
    @fakhri_bosca 4 года назад +3

    Hi Mr Indian.
    I have tried your project, but it did not run smoothly, and finally I saw an error, the program code did not match the diagram you presented. the pin 10 should be plugged in, but your diagram isn't plugged in. that's the problem.

    • @shuttyskenzin9237
      @shuttyskenzin9237 2 года назад

      Sir where is the SS_pin that is defined as pin 10?
      Is SS_pin in the card sensor or servo?

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

    bhai yeh erorr a rahi he Arduino: 1.8.13 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    code:2:10: fatal error: MFRC522.h: No such file or directory
    #include
    ^~~~~~~~~~~
    compilation terminated.
    exit status 1
    MFRC522.h: No such file or directory
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  • @wolfkapi69
    @wolfkapi69 4 года назад +1

    Arduino:1.8.10 (Windows 10), Płytka:"Arduino/Genuino Uno"
    sketch_feb02c:5:10: error: MFRC522.h: No such file or directory
    #include
    ^~~~~~~~~~~
    compilation terminated.
    exit status 1
    MFRC522.h: No such file or directory
    Ten raport powinien zawierać więcej informacji jeśli w
    File -> Preferencje zostanie włączona opcja "Pokaż
    szczegółowe informacje podczas kompilacji"
    how to fix it

  • @astitvakanchan
    @astitvakanchan 4 года назад +1

    The given diagram is wrong...connect SDA pin of rfid module to pin 10 of Arduino Board and not to the GND
    दिया गया diagram गलत है ... RFID module के SDA पिन को Arduino बोर्ड के 10 पिन पर कनेक्ट करें और GND पर नहीं

  • @sonalikhemani7840
    @sonalikhemani7840 4 года назад +2

    bro i am not getting my rfid number pls help

  • @RizwanAhmed-vj5xe
    @RizwanAhmed-vj5xe 3 года назад +2

    1st Step: Install Arduino Software in your PC
    2nd Step: Make connections Ard, RFID and Servo motor According to Vedio not from circuit diagram.
    3rd Step: Download Liberary of Servo Motor and RC522 from description link and Add it into Ard software.
    4th Step: Copy Program Code from Link and past it into your Ard software compile than upload.
    5th Step: Open serial Monitor copy Rfid chip code and past it into your program.
    Again upload.
    Then your Project defiantly work...
    Any Query regarding this I am here for you!
    Thank You Bhai Allah Hafiz!

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

      Hello bhai ek help chahiye thi

    • @RizwanAhmed-vj5xe
      @RizwanAhmed-vj5xe 3 года назад

      @@Abdul6_9 Han btaye

    • @tejasvp3749
      @tejasvp3749 2 года назад

      I made the same circuit connection and copy paste the code but it showing error. Why

    • @yashsharma4248
      @yashsharma4248 2 года назад

      Bhai I need help

    • @RizwanAhmed-vj5xe
      @RizwanAhmed-vj5xe 2 года назад

      @@yashsharma4248 Yes Bro Tell me how may I help you!

  • @anandjasal
    @anandjasal 5 лет назад +9

    Bhai MFRC522.h: me error aa raha h

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

      Did you find a solution for this problem ??

    • @-Rishad
      @-Rishad 4 года назад

      vo ek liobrary hai install it from libraray manager

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

      i know how to fix it. It was for me as well

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

      @@ahmedgenius9208 how?

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

    Super. It is very useful

  • @aryanjadhav6163
    @aryanjadhav6163 5 лет назад +2

    plz help me sir

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

    Hii i am suvendu this project is very helpful and I am made this project for school

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

    What if battery dies in the locked position? How can we add a failsafe.

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

    Firmware Version: 0x0 = (unknown)
    WARNING: Communication failure, is the MFRC522 properly connected?
    Scan PICC to see UID, SAK, type, and data blocks...
    i am getting the above problem can u solve it?plss!

  • @suryachitturi
    @suryachitturi 4 года назад +1

    MFRC522 is Not Working Bro : No such File or Directory . What Should We Do?

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

      download the dictartory file from github of mfrc522 and add zip library in ardiuno IDE and then check

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

    Okay what if the battery goes out what will you do ???? Congratulations you just locked yourself 😂

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

      Haa bhai baat to barabar hai

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

    you use angle 180 degree or 360 degree?

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

    Mine was not reading the cards dont know which one has the defect. sad

  • @gameplusoneaa
    @gameplusoneaa Год назад +1

    Men will open with hand

  • @extremestudios9355
    @extremestudios9355 4 года назад +1

    For some reason when i scan the card nothing happens but when i use another code to test if it is faulty or not, everything works perfectly. can you please recheck the code and update it for 2020, i have all the libraries installed but still no fix

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

      me too same

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

      Hello I’ve been having trouble too can you please send me the code you made??

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

    If I push the reset button , then the door open but the RFID will working stop
    I have to send the code again??????
    Plz

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

    Other purchased cards are not support or shows by rfid sensor. It only shows the value of particular card and key ring .
    What to do???

  • @chacejuden6251
    @chacejuden6251 4 года назад +1

    it won't read my card help I need it asap thanks

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

    how to use or open arduino seirial monitor.please fully boolna

  • @mohitdhenge
    @mohitdhenge 3 месяца назад

    Bro SDA should be connected to Digital 10 pin. I wasted my 1hrs in debugging. Thanks!

  • @madhukartemba2987
    @madhukartemba2987 5 лет назад +2

    Alert!
    0:45
    Wrong Diagram!
    See carefully in the video.

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

    When i put my id it did not show anything in serial monitor

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

    Bhai ultrasonic Pathfinder with servo motor robot k upar vedio banaiye next topic par please

  • @harpreetroy3941
    @harpreetroy3941 4 года назад +3

    Bhai MFRC522 mai error aa raha hai. Ur not replying to anyone plz reply is if u know the solution 🤨

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

      Go to Sketch - Include libraries - Library Manager and find MRFC522 and install it

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

      @@sameerkengg its not MRFC522 its MFRC522

  • @manuvaid4540
    @manuvaid4540 Год назад

    What if , someone takes the wire out from the RFID scanner.?

  • @divyanshjinger1587
    @divyanshjinger1587 4 года назад +1

    can you please tell me what to do when my rfid is not reading my card

  • @ankitnandy986
    @ankitnandy986 Год назад

    my one doesnt work even if I connect the right wire to d10. i have checked all the wirings but idk why it doesnt works. plz help me

  • @poojaenterprises9876
    @poojaenterprises9876 Год назад

    Bhai meri serial monitor use nahi ho rahi ha

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

    can it be connected to database in simulation part? please help me sir

  • @aryanjadhav6163
    @aryanjadhav6163 5 лет назад +3

    it is not showing uid code

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

    Please make a video using raspberry Pi 3

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

    I MADE THE PROJECT BY FOLLOWING ALL YOUR STEPS AND UPLOADED THE CODE SUCCESSFULLY BUT I DONT KNOW WHY MY RFID IS NOT READING MY CODE .PLEASE HELP ME WITH IT

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

    not working with 9 volt battery but works with cable. please help!

  • @unaiperea1219
    @unaiperea1219 4 года назад +2

    where could I buy the same rfid in europe?

  • @Xpluse_rider_
    @Xpluse_rider_ 2 года назад +1

    Please give Sir Ardino app.

  • @shonen_sasukep
    @shonen_sasukep Год назад

    Sir,when i connect it to my computer it works properly but when i connect it with battery it dosent work properly it doesnt scan the card plz plz help me sir because science exibition is in 3 days plz help me out

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

    I try this at school, but doesnt work...
    I open the serial monitor, When i stick the tag to the rfid, but doesnt appear.. please help me, this project doesnt working

  • @gsshaykot3824
    @gsshaykot3824 5 лет назад +2

    Super you guys are amazing.Hey one request as a subscriber,please make a video, how to increase range of a rc transmiter(flysky i6/Radiolink AT-10) with rc signal booster...please please make a video on in his topic...soon please

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

    Sir g mera tag hi scan nhi ho pa raha hai PL help?

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

    Circuit diagram is wrong.
    SDA pin -> arduino pin 10

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

    Cool job 🙈

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

    sir aap jis website ka link dete hai ky wo
    trustable hai ky hum waha se manga sakte hai kuch bhi

  • @Anynomus1802
    @Anynomus1802 5 лет назад +2

    Bro can u please make video about how can we add 3 or 4 RFID tags and if we goes out by opening door through reset switch nd if door not fully close and Adriano can't lock the door then what happened?

  • @ManishYadav-df4sn
    @ManishYadav-df4sn 5 лет назад +1

    Sir yek video mini CNC machine ka bhi upload kr do please sir

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

    Card asses nahi hoo raha

  • @Minecraftwithtarun770
    @Minecraftwithtarun770 Год назад

    The software which is used in RFID coding is thonny pig

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

    Bruh this isn't good, you cant even get the uid if u place the chip next to the scanner

  • @hardik_sethi
    @hardik_sethi 4 года назад +5

    Hello sir thanks for this great video, it is very informative.👍
    But like if the RFID module is located outside the door then there is a chance that koi usee hi le jye or hum bhi bahar hi fus jyen 😆. Then I researched a lot and I come to know that a module pn532 can work from 7 to 8 cm distance also, it is a RFID and NFC enabled module for Arduino.
    By using it we can place it on other side of the door and it can also unlock by mobile it it is a NFC enabled one.
    But I don't know how to use it please make a video on it 🙏

  • @jamtm2024
    @jamtm2024 6 месяцев назад

    can i have the source code? cause your google drive is 404 error

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

    What if battery dies

  • @prendroid
    @prendroid 9 месяцев назад

    The cyan wire should be connected to 10 not gnd

  • @amansharma4381
    @amansharma4381 8 месяцев назад

    my all connections are ok but reader is not reading tag!!!

  • @pramodkumarsahoo111
    @pramodkumarsahoo111 4 года назад +3

    Dhruv, can you please tell how can it be improvised so that together with a door lock it can be used as something else

  • @unaiperea1219
    @unaiperea1219 4 года назад +1

    what happens if the battery loses its energy? door stuck?

    • @ibra.h
      @ibra.h 4 года назад

      yes. thats why you need adapter

  • @varshakhabiya4161
    @varshakhabiya4161 Год назад

    Wow I will make this stick it my door varsha khabiya beta

  • @shreychaurasia8502
    @shreychaurasia8502 4 года назад +1

    Sir my RFID is not detect the card

  • @thanmayeemk2406
    @thanmayeemk2406 2 года назад +1

    Sir how to add more than one rfid tag?
    Like the same rfid combo but more rfid tags ? Requesting you to help me

    • @antonramesh
      @antonramesh 2 года назад

      i also need same answer. if we are using this at office. how to add many UID Codes

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

    Everything is good but autolocking after 7 second this ia not neaserry

  • @sarveshpatil_7
    @sarveshpatil_7 2 месяца назад

    Hii can you send proper diagram please

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

    Nice 👍

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

    Sir ...Maine apke pixhawk dekh kar same drone banaya hai...plz PR jab. Mai use uda raga hu...vo stable bilkul nai hai....aur...properly ud nai raha...tho mai kya karu

  • @rajurai1620
    @rajurai1620 5 лет назад +3

    Sir do we have to add the board ,or any library in that program .

    • @thannoliv9178
      @thannoliv9178 5 лет назад +2

      yes click ctrl+shift+l then type or search mfrc522 then click install .that is it the work is done

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

      @@thannoliv9178 do we need not need to install Arduino Uno

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

      @@thannoliv9178 you saved me thank you soooooo much

  • @parveshkaushik8265
    @parveshkaushik8265 5 лет назад +2

    Please tell that how can we send an email alert when the door is unlocked in the same project

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

    Very good 👍

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

    seen after a long time

  • @pawaninduwara7512
    @pawaninduwara7512 4 года назад +1

    Please Can you show me the code

  • @jaso5007
    @jaso5007 2 года назад

    how to make it non clonable?

  • @annoynmousbrmusic
    @annoynmousbrmusic Год назад

    i put all corrctly but my RFID lock just work one time

  • @ashutosshguptaa6697
    @ashutosshguptaa6697 5 лет назад +2

    Bhai agar mrreko aur RFID code add karne hoga to code mai changes kya hoga 🙂

    • @IndianLifeHacker
      @IndianLifeHacker  5 лет назад +2

      You can use "||" function between two code. "UID1" || "UID2" where || is stands for OR function.

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

      Thank you bhai 🥰😘

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

      @@IndianLifeHacker CHIP ALAG SE MIL JAEGA

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

      @@IndianLifeHacker ?

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

      @@ashutosshguptaa6697
      Aap ka code kaam kar raha h kaya ??

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

    Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Arduino Uno"
    sketch_oct30a:2:10: fatal error: MFRC522.h: No such file or directory
    #include
    ^~~~~~~~~~~
    compilation terminated.
    exit status 1
    MFRC522.h: No such file or directory
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    can you help me it is showing this ,when i click upload

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

    its not reading the cards

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

    bro how to add a uid tag pls answer

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

    sir kitne log is m regestor ho saktay han
    or agar m is relay 12 volt lugani o to m kasaise connect krun

  • @surekhanimase1265
    @surekhanimase1265 Год назад

    Sir it is not showing password after taking near the sensor. It is not showing anything

  • @Knowhow420
    @Knowhow420 2 года назад

    I did everything u did an downloaded everything an still it does nothing at all it just blinks at me an won’t upload how do I fix the error code for the mfrc522.> it’s not orange like orthers to

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

    There is nothing problem in scan but problem while uploading in ardino
    Give me some suggestions 🙏🙏🙏🙏

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

    sir make writting machine

  • @skshahed5572
    @skshahed5572 5 лет назад +2

    how can i use many cards for once door
    plz ...help

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

      Yes bro

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

      same here

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

      not familiar with this programing language but most probably put all the codes in an array and search it

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

    brother please make a bi copter

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

    There is problem in coding

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

    sir mare programing hogi ha par serial moniter ma rfid moudul decting nahi ho rae

  • @ashishdhruv
    @ashishdhruv 4 года назад +2

    Bhai, I made the RFID door lock. Even after the code has uploaded successfully, the RFID module doesn't show the UID tag even after bringing the card close to the module. Please can you help me.

    • @it_knowledge_seeker3864
      @it_knowledge_seeker3864 4 года назад +1

      I've also faced this problem. serial monitor is not showing any UID tag number even after bringing the card closer to the module....

    • @it_knowledge_seeker3864
      @it_knowledge_seeker3864 4 года назад +4

      after some tries i have solved this problem. just connect the sda pin of RFID to the pin number 10 of arduino. thats all

    • @ashishdhruv
      @ashishdhruv 4 года назад +1

      Badrul Amin, could you please help me. It is still not generating the RFID number.

    • @it_knowledge_seeker3864
      @it_knowledge_seeker3864 4 года назад +1

      @@ashishdhruv i think you didn't properly connect all the pins.. please connect all pins correctly...

    • @ashishdhruv
      @ashishdhruv 4 года назад +1

      Bro I ain't a noob and plus I crosschecked all the connections .