RFID Based Door Lock System Using Raspberry PI

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so before start the actual project explanation I request you please subscribe my channel so you can see on the screen up till now I have uploaded more than 66 video on Raspberry Pi the Raspberry Pi with iot that is all this video then Al also iot with ardino all these video are 26 and recently we started the new series on the pck My Controller before that I also cover the project on the python web application so if you want to Learn Python iot Raspberry Pi ardino pck from the scratch and from freely then please subscribe my Channel please support me and the most important part is whatever the code I have explained whatever the project I have created on this YouTube channel all this project are freely available you no need to pay anything for this project so just if only point is you should watch complete video and you should follow my process so if you want to learn something from the scratch and freely then support me and please subscri my channel and please click on like button hello friend in today's video we will learn how we can interface the RFID RC 52 with the Raspberry Pi by using this RF id we can validate it is correct user or it is unauthorized user so if it authorized user then get will be open if it unauthorized user then get will not open also on the LCD we will display the message get open GL close and authorize and unauthorized user so this is the complete idea behind this project okay so before start the next part I would like to tell you what I will cover in this video so I will cover the complete Hardware connection of this project then I will show I will cover uh the explanation of programming part so that if you follow my each and every step from this video then then you can easily develop and design this project by [Music] yourself okay so before start the next part first we will see the Practical demonstration of this project so that you will get idea about complete project okay so I will run the project now so once I run the project you can see project name will be present on the screen and then and then it is asking scan your card so I will run the project RFID based door lock system that is Project name it shows now it is showing scan your card now once I give this valid tag then get will be open and all the LCD it will show get open you can see authorize get open you can see get open now if I give unauthorized tag it it it will not open the gate again if I give the authorized tag they get open and get close so this is the complete idea behind this project I hope you understand the complete idea now we will see the hardware connection of this project and then we will see the program part of this project okay let's see the hardware connection so first you can see I already connected i2c display with Raspberry Pi because in my previous video I already explained each and everything about this it display with Raspberry Pi and how to connect this display so please watch that video and try to connect this display and then come to this part again okay I hope you watch that video and you are able to connect the i2c display with Raspberry Pi okay now the next part is you have to connect this RFID module so you can see when you purchase any RFID module this one RC 52 on this RFID module you can see there are pins you can see these pins and each pin having name in front of them so we have to just connect this name and the Raspberry p pin which Rasberry P pin I will tell you there is no issue so first I will just place this s module here and you can focus on the raspberry pip pin number what I told you can also see the pin connection on the screen that pin connection you can follow so first 3.3 pin from this RFID moduel so 3.3 pin pin from this RFID moduel it should be connected to pin number one of Raspberry Pi okay so this 3.3 voltage from this RFID moduel it should connect to Raspberry Pi first number pin so first number pin is here okay that is connected now the next part is uh the rst pin of this RFID model that should be connected to 22 number of raspberry pipin so rst pin second is rst pin that should be connected to 22 number of Raspberry [Music] Pi okay then after that ground pin so this is the ground pin that should be connected to 39 number pin of Raspberry Pi so this is 39 number pin so this is the 39 number pin of Raspberry p disconnected here the ground pin then after that misop pin one pin uh there is a misop pin you can see misop pin so this is the misop pin that should be connected to 21 number pin of Raspberry Pi so 21 number pin is [Music] here then Mossy pin so mosy pin from this RFID model that should be connected to 19 number pin of raspberry by so this is the 19 number pin so I'm just following the same pin connection as it is then SC s pin this is the pin that should be connected to 23 number pin of Raspberry [Music] Pi and then SDA pin that should be connected to 24 number pin of Raspberry Pi [Music] so in this way this connection is completed of Raspberry Pi and RFID model it is very simple you have to just follow that uh connection whatever given on the screen and just plug that pin on the Raspberry Pi as per that name okay so this is done now next part is S motor S motor with very simple connection there are only three three pin one is black black is nothing but ground red is nothing but the VCC and uh this orange is nothing but your data pin so just connect three pins the connection you can see on the screen again so red pin so this is the red pin so this is the red pin of this R motor that should be connected to two number pin of Raspberry Pi so it is connected here on two number pin then black pin so this is the black pin this black pin should be connected to nine number pin of Raspberry [Music] Pi and this is the orange pin orange pin should be connected to data 11 number pin of Raspberry Pi okay so connection is done now I will run the project once again just check whether connection is working or not so I have run the project now you can see LC is working perfectly there is no issue on the LCD you can see LCD working and S motor also working you can see S motor also working perfectly so that means our connection is okay you can follow this connection as it is and definitely you can able to connect this uh different types of Hardware with Rasberry Pi now we will see the program programming part of this [Music] project okay let's start the program installation very important part you should download this my folder Raspberry Pi with RFID folder from my web page link the web page link you in the description so from that folder from that download link you will get one Z file you have to unzip that file and then you will get this two files okay another important part is you you should first watch my LCD video because in that LCD video I have enabled the i2c communication if if you don't enable the ITC communication then this project will not work okay after that what you have to do first go to the Raspberry Pi configuration then preferences then Raspberry Pi configuration here then go to the interface and then enable the SPI click on enable I already enabl that's why it's showing here and then click on okay after that you on your SP communication will work why we require SPI communication because because rc2 RFID model work on the SPI so that's why we have to enable that SPI communication so this is another that one you have to open this command file once you open this command file copy this command so once you copy this command go to the black terminal from Raspberry p you you can see this black terminal here should be Raspberry Pi name should be comes there like this Raspberry Pi or your uh raspber P name then right click and paste and this press enter so once you press enter this model will get installed in your raspberry pile this is very important and basic step that you have to follow so that your project will run successfully I already installed that model so that it is giving me the model or that package is already installed on my raspberry file but in your case that package will be installed automatically make sure your Internet connection should be connected to Raspberry Pi that's why it will download from the internet this package okay once you download all the package from the internet next part is you have to just double click on this file RFID Rasberry p.p so once you double click it will open in Tony browser here you can see like this then the basic con I have already explained here what connection you have to follow like this I2 LCD then RFID model then Ser motor so this basic connection you can follow while doing Hardware connection then after that we will see the programing part so first is I2 LCD package we imported and time package we imported gpio then our RFID package we imported and we are setting the GP board as board then warning to the false then S motor pin we connected to number that's why we Define here then Ser motor pin act as output pin that's why we Define that pin as output then we Define one object to access the functionality of RFID moduel then we create one object which access the functionality of i2c model the address is 27 because my i2c model address is 27 at your case this address will be different so how to find the address that I already explained in my i2c LCD video so please watch that video then here we Define some pwm frequency for is S motor the initial value of S motor that is the angle of S motor we Define as the three angle then LCD clear then we are printing on the LCD RFID based door lock system by using this four lines then our main part will be started here so after while one this is the main logic of our project we are printing on the LCD scan your card by using this four lines then after that we are reading the RFID number and we are printing that number why I'm printing that number in your case your RFID number number will be different so how to identify that RFI number first you run the program so after you run the program just tag your RFI in card on the RFI reader then here on the display you will find one number just copy that number and paste here so once you paste here your valid number gets identify here so just replace my number with your RFID number okay if the tag ID is equal to this number then we have to print on the LCD authorize get open then after some cycle we are opening the gate from three angle then nine and then again three so it will open the gate then again if here if our number is not equal to our card that is another card it will show on the LCD unauthorize gate close so this is very simple project and simple program that you can identify so you can see once I clear this screen and once I run the project if there is no issue then it will show like this and then after that if I tag my RFID on my here then you can see this number so this number you have to replace here so that your RF id will validate as a user authenticate user only so this step you have to follow and this step you have to change in your in your program so I hope you understand the program you understand the hardware connection and you you understand the complete project if you like my content please click on like button please subscribe my channel and please support me thanks for watching this video
Info
Channel: Rahul Jadhav
Views: 1,271
Rating: undefined out of 5
Keywords: rfid door lock access control system, arduino rfid with lcd, arduino rfid door lock, arduino rfid door lock servo, arduino rfid door lock system with lcd display, arduino rfid tutorial, arduino rfid master card door lock system, rfid based door lock system using arduino uno, rfid based security system using arduino, rfid based projects, rfid based access control system using arduino, rfid based door lock system using raspberry pi, rfid and password based door lock system
Id: XSw1-rVNT6U
Channel Id: undefined
Length: 13min 24sec (804 seconds)
Published: Mon Dec 11 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.