RFID Based Attendance System Using Raspberry Pi | Send Alert Message to Parent.

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 P from the scratch and from freely then pleasee 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 session we will learn how we can design and develop a smart attendance monitoring system project by using Raspberry Pi NRF ID model so before start this video I would like to tell you the same project I have designed and developed by using fingerprint sensor so if you want to design develop that project bying fingerprint sensor then thumbnail you can see on the screen please watch that video and you can try design develop same same project using fingerprint sensor okay on that fingerprint sensor project video I got a request from my one of subscriber like sir fingerprint sensor is costly so can you design and develop this project using RFID model so I accepted his request and today I have designed and developed same project by using RFID model so before start this project I would like tell you what I will cover in this video so I will cover how to connect all this Hardware with Raspberry Pi I will also give the program program of this project and I will also explain the program so that you can design and develop this project by yourself okay before start this project I would like I would like to tell you what will the flow of this project so you can see on the screen we have i2c display then we have the buzzer then RFID moduel and we have the GSM 900a model so you can easily purchase all this model uh through the Amazon Amazon link I will provide in the description okay okay so uh flow of this project is like that when the student first when when we start the project then on the LCD it will show the project name then it will show please enter the lecture name so by using keyboard like you can see the USB keyboard attached to rasb so this is the my keyboard so this is the my keyboard and we can easily attach the keyboard to the Raspberry p by using this USB port so just connect your keyboard here so here on the LCD it is asking SC enter the lecture name so uh the lecture name we have to enter by using keyboard okay once we enter the lecture name then on the LC it will show the lecture name and whatever the lecture name you have enter so it will give idea which lecture is started after after that it will scan your card so card means this RFID Card the card means this RFID Card or this RFID C card so a student having its own RF id card so one student can his RFID Card then immediately it will show on the LCD your attendance taken and student name and immediately GSM model send the message to his parent so a student having his parent name in our database so once he scan his card then immediate the GSM model will send the message to the parent uh this project will work so let's say if the first student can scan his card for this lecture and again same for this lecture if the student try to scan his card then it will show on the LCD already attendance taken so duplicate attendance problem also avoid here okay another Pro another point is this buzzer so once the attendance taken first time then buzzer will turn on on the second time if the student try to give the attendance for the same lecture then buzzer will turn not turn on that means his attendance not taken and he is doing the duplicate attendance so this is like flow of this project now I hope you understand the flow of this project now what we will do uh I will show you the Practical demonstration of this project then we will see the hardware connection and then we will see the program [Music] part okay now we will see the Practical de demonstration of this project so you can see on the screen uh once I run the project then it will show the project name first then enter the lecture name so again I run the project so you can see RFID attendance system then please enter the lecture name now I will PR uh give the lecture name you can also see uh the the same message and please give the current lecture name uh on the ri screen so I will type physics okay once I type physics then I press enter so I type physics by using my keyboard so lecture name also display here then after that it display scan your card so you can see I have the two card right now with me this two card and each card nothing but one student and I have the two mobile so once I scan my first card uh the attendance should be taken for the first student and the parent uh get notification so once I scan this card you can see your attendance taken Rahul message sent to the parent now we will check we will check the Rahul parent mobile so you can see I will open message you can see your son daughter Rahul attended today's physics class so this is the Rahul parent now again if rul want to give the attendance again for the same lecture so you can see attendance already taken buzzer not turn so because already attendance take is not taking the attendance of the r and also there is no message sent you can see only one message now let's say another student scan his card so card scan your attendance Tak on shubam message send to the parent so again we will open the shubam parent mobile okay now you can see I have received the message your son daughter sham attended today's physic class so this is the idea behind this project now once you taken the attendance now where you will verify uh the student attendance so on Raspberry Pi there is one folder inside that folder there is Excel sheet I will show you that one so I will open the Raspberry Pi screen so you can see uh there is one Excel sheet into this folder so once you open the attendance Excel [Music] seet so once you open this attendant Excel sheet from here then you can see there is a physics lecture and Rahul sham present to is dat so this is the complete idea behind this project so this is the complete idea behind this project I hope you understand the project flow now we will see the hardware connection and then we will see the program part of this project okay now we will see the hardware connection so basically you can see I I use the Raspberry Pi 3B you can see I use the Raspberry Pi 3B version it is mentioned here you can purchase same Rasberry B on the Amazon uh if you want Amazon link of all all the hardware I will provide in the description of this YouTube channel so you can purchase this Raspberry Pi from the Amazon also you require the 32GB memory card and you can use the Raspberry Pi latest OS or NOS 3.8.1 oos you can easily download from the Raspberry Pi website okay so this is basically Raspberry Pi and you can see on the RAS p uh you will get like this you can design this paper by yourself so that you can easily identify the Raspberry Pi PIN number so Raspberry Pi one number start from here then odd number at this side and even number at this side so 1 2 3 4 5 6 7 8 9 10 like this so if you want to understand the importance of each pin uh you have to open the Rasberry P terminal black window in the black window you can type GP read all command and once you type GP read all command you will find the importance of each and every pin so one pin uh correspond to the 3.3 Vol through two pin correspond to 5 Vol you can identify from the G rol common so I'm using that same common to identify the pin number uses okay so then after that you record the HDMI port that connected to my TV you can use uh your any screen which having the HDMI port so once I connect that HDM Port here so like this this is the basic connection of Raspberry p then uh once you connect that Raspberry p then you can provide the power supply to the Rasberry P from here which is uh uh 5 2 aamp our adapter mobile adapter any mobile charger you can use you can use Rasberry 54 also there is no issue R 3 also there is no issue R 0 also there is no issue only you have to follow the same Hardware connection as mentioned in this video okay so after that uh we will connect this i2c uh board so this i2c LCD uh we will connect so basically this i2c LCD having four pins you can see easily uh ground VCC and SDA and so this four pin you have to connect with raspberry by so how to connect I will show you so first ground pin you have to connect with the ground in the program also I have given the number pin where you have to connect so ground pin is my black black color pin so ground pin is my black color pin which is connected to six number pin of Raspberry Pi which is a ground so where I got this information from the GPI read all command so six number is ground then four number is 5 Vol so I will connect like this then after that I have to connect SC SDA pin uh of this i2c LCD with the Raspberry Pi SDA pin and pin of this i2c display with the Raspberry Pi SC pin so this pin number you will again find from GP read all command Okay so SDA pin I have to connect to three number pin of Raspberry Pi so SDA pin of this i2c display it is nothing but my orange pin that should be connected to 3 number pin of Raspberry Pi okay then SCA pin should be connected to five number pin of Raspberry Pi so all this pin number I already provide in the program so you can open the program and just see the pin number and connect according to that one so this part is done uh LCD with Raspberry Pi now we will connect the buzzer with Raspberry Pi so again buzzer so buzzer is very simple you can see buzzer having only two pin one is positive one is negative so negative pin you have to connect to ground so any ground pin you have to select from the Raspberry Pi so let's say negative pin is 14 number so I will connect that buzzer so this buzzer I will connect to 14 number pin of Raspberry Pi so 14 number pin is here so that is the ground pin okay then positive pin of this buzzer should be connected to seven number uh pin of Raspberry Pi so I will connect to the seven number pin of Raspberry Pi from here so this LCD with buzzer connection is done now next is our uh next is our GSM model so GSM model again very simple connection you require GSM 9900a model and in the 9900a model you can see uh there are pins number uh given here so you have to use the ground and rxd pin only from this GSM model so just connect the ground pin first place the GSA moduel like here okay so you have to just connect the ground and 9 number pin so first I connect the ground pin of the GSA module so ground pin I will take from here so this is the ground pin of GSM model and uh that ground pin should be connected to 9 number pin of Raspberry Pi so ground pin is connected to 9 number pin of Raspberry Pi okay then after that the uh rxd pin of this GSM module rxd pin of the GSA model should be connected to 8 number pin of Raspberry Pi because Raspberry Pi 8 number pin act as a TX so RX from the GSA model should be connected to 8 number pin of Raspberry Pi so like this connected to 8 number pin of Raspberry Pi so very simple connection we have done up till now I will again explain uh we just connected buzzer i2c display and the GSM moduel up till now now uh next our last Hardware is this one uh RFID model RFID model you can see all the pin connection name given on the model itself you have to just connect that pin connection according to the Raspberry Pi moduel so Raspberry Pi program uh pin number already given in the program uh where you have to connect so let's say RFID 3.3 voltage so I will place plus RF id here okay so I will place RF id here then RFID 3.3 voltage so this is RFID 3.3 voltage pin so RFID 3.3 voltage pin should be connected to Raspberry Pi 1 number pin so Raspberry Pi 1 number pin I will connect here okay it is very simple then after that uh RSD pin so RSD pin from this RFID model this is the rst PIN of this RFID model that should be connected to 22 number pin of Raspberry Pi so that to 22 number pin of raspberry pie okay then after that uh then after that ground pin so this is the sorry uh this is my RSD pin sorry RSD pin RSD pin should be ConEd 22 number of Raspberry Pi so 22 number is here it is connected here okay 22 number of Raspberry Pi then after that ground pin ground pin is this one so this is my ground pin I just follow the pin number which is given here and pin number I have given in the program so you you should follow the same step so pin should be connected to 39 number pin of Raspberry Pi so ground pin connected 39 number pin then after that miso pin from this uh this one sensor so this is the uh misop pin so this is the misop PIN from this sensor that should be connected to 21 number pin of Raspberry Pi I connected to 21 number pin of Raspberry Pi then uh moso pin uh should be connected to 19 number pin of Raspberry p connected to 19 number pin of Raspberry Pi okay then after that uh s pin from this sensor RFID model should be connected to uh 23 number pan of Raspberry Pi so that is connected to 23 number pan of Raspberry Pi and SDA pin should be connected to 24 number pin of Raspberry Pi okay so then after that you required one power supply extra power supply for the GS model 12v 1 aamp power supply you have to connect here inside at this plug okay 12v 1 aamp power okay once you connect all the hardware next part is you have to put your sim card into this GSM model so SIM card you have to put here inside this GSM model okay then after that you have to give the power supply external power supply 12 volt 1 a 12 volt 1 aamp adapter you require for the GSM model so you can connect your 12 vol 1 aamp adapter here okay then after that you can give the power supply from here so once you give power supply make sure your LED should stop blinking this signal LED stop blinking for some time okay it stop now you can give the call on this mobile number on this phone number you can give the call and it should be ring if if it's not ring that mean your GSM moduel is not working okay so this basic step you have to follow now we have connected all the hardware just we will verify our Hardware is working or not so you can see LCD is working RF id uh please enter the lecture name also display on the LCD that means our connection is working now I will type the quickly lecture name to check all the hardware is working or not so random name I type here let's say English okay I type the English now it is asking scan my card your attendance taken so everything is working perfectly uh that means our whatever Hardware we have connected is working perfectly okay so simple connection you have to follow like this and you can design and develop this project by yourself now we will see the program part of this project then we will see the hardware uh then we we will see how to run this project if you feel like your GSM model is not sending the message even if if even your connection is okay and your GSM model getting hit so what you have to do in that case you can first plug out your PIN whatever pin connection you you have given to the this GSM model okay then after wait for some second to to cool down this GSM model okay so once it cool down first you can give the power supply to the GSA model okay first we you you can give external power supply to the GSM model then after that what you can do you can first connect the ground pin from the Raspberry Pi to this GSA model ground pin that we have connected 9 number okay then after that you can give txd pin that is Raspberry p 8 number pin should be connected to GSM model RSD pin okay then again wait for some second check whether G your GSM model is getting hit or not now this time my GSM model is not getting hit so this is one uh my observation I found while working with this GSM model and this can solve your problem now we can again try to send the message lecture name present now we can again scan my card so just see whether we are getting the message or not for two student Marti so the with this you can uh if there is a error like if there is a issue on The Mod you can follow this step and again you can run the project you will definitely project will run so I hope you understand the complete Hardware connection of this project now we will see the program part of this [Music] project okay now we will see the programing part so very important part is you should download Rasberry Pi 64bit recommended OS in your Raspberry Pi if it that not work then you should download Rasberry P noobs o 3.8.1 you can download that noobs Os from my telegram channel the telegram Channel given in the description also how to install that noobo into Raspberry Pi that I have already explained in my first video so that video thumbnail you can see on the screen you can watch that video and try to install that noobs OS if you don't have in your Raspberry Pi then after that once you install the OS into Raspberry Pi the second part you should download my this folder so RFID based attendance system by using Raspberry Pi you can see this folder you have to download So once you download that folder may be in the zip file you have to unzip that one then you will get all this three all these three files which are program and command and your Excel file so these are some basic step you have to do then after that once you download this folder double click on this command file so once the command file will open then you have to install all this command one by one into Raspberry Pi so how to install this command you have to open the r terminal window this terminal window you have to open and once you open raspberry terminal window you can see Raspberry Pi there and then you have to copy this one by one count let's say copy this command from this file and paste here and then press enter so once you press enter then uh respective package get install in your Raspberry Pi so likewise you have to install all the package in your Raspberry Pi uh with this command Okay likewise you can install all the package so pipe 3 means uh Python 3 package Pipe 2 means python 2 package if python 2 get installed in your Raspberry p you can also try with pipe 3 package if you want to use the pipe 3 of Raspberry Pi so how to install Raspberry Pi pipe 3 the same command I copy here and just replace this pipe two with the pipe 3 so likewise all the Comm will be get installed for rber p python 2 also and Python 3 also so like likewise you can copy all this command and try to install all this respective package in your Rasberry Pi okay so once you install all the package uh you should enable the serial Port of Raspberry Pi so how to enable serial Port just go to the Raspberry Pi then preferences then Raspberry Pi configuration so here you should get interface and then you should enable the serial Port like here enable click on enable click on okay and then reboot your system it will ask for Reboot system click on reboot then rber P restart again then after that you can verify your Port by using this last command copy this last command again open the Raspberry p terminal and check whether you will get serial port or not like here you can see I'm getting serial Port this one if you're not getting this one that means your serial is not enabl and your Raspberry Pi uh GSA model will not work so you have to configure the serial Port then also you have to configure the SPI i2c Port uh because your LCD work on the i2c uh your LCD work on the uh i2c model then your RFID work on the SPI model so you have to enable SPI i2c and serial port and click on okay so likewise you can verify your Port okay okay so once you install all the command once you verify ITC I recommended you you should watch my i2c display code also video also that video th thumbnail you can see on the screen also you can watch my RFID U uh video also that video thumbnail you can see on the screen if you want to detail explanation of all these comments and uh some it Toc uh model explanation and RFID module explanation that I already covered in my past video so I will not cover in this video again okay so once you install all the hardware uh then this is the main program that we we need you can double click on this program either you can open with python 2 Python 3 or double click on this program it will open in Python three automatically in Tony browser [Music] okay so once you open you can see uh it will open in Tony browser uh if you are getting any package error then you can try to open with python 2 from here uh or Python 3 from here so likewise you can try with different different step if you are getting any package eror okay so in Tony browser you can see at the starting of the program I already explained RFID connection then also I explain the i2c connection then also I explain the GSA model connection and buzzer so which pin you have to connect where that already explained in this program so you can refer that program and try to install that connection okay uh so here you can see all the packages whatever we install that all the package are imported here uh then after that we are using buzzer that seven number then it's output then we are U I am creating the RFID one object RFID object to access the RFID functionality then LCD object to access the LCD functionality then my card number is this first card number is this one second card number is this one in your case the card number will be different so how to identify card number I will tell you later uh then what once you identify card number you have to replace that card number here then here some database so here you can see rul is my first student Shan is my second student ra parents number Shan parents number so you have to replace this name with your database like let's say your name is u s then you can replace here s then s parent number also you can replace and card number which is attached to the s or uh name number here so you can uh edit these three part as per your preference uh then here our uh LCD will print RFID attendance system by using this four line by using this four line okay so first it will print RFID system on LCD by using this four lines line number 82 to 86 then after that it will print enter your lecture name on the line on LCD Again by using this 88 291 line number then in the Excel you can see before run the program what you have to do we have to open the Excel okay and once you open you have to delete uh the sheets from that Excel which are already present except tempt so all the sheet you have to delete first otherwise it will give the error while uh running the programs the sheet already present into your attend Excel sheet so this steps you have to do temp sheet you should not delete only other sheet okay then here it will ask for the Excel open then whatever the lecture name it will ask for the lecture name then once you enter the lecture name uh then it will uh store the lecture name into this lecture name variable then uh in the sheet you can see WT add sheet so in the Excel sheet it will add that lecture name sheet new there and name and data will be uh print so like so like you can see in this Excel uh name and date this column this data will be uh this name and data will be right here on this excel at this pixel like uh on this box okay with this line till this line then after that uh today's date uh will be right here you can see today's date will be right here at this box by using this line okay by using this line so so we have to print the basic thing here like we up now what we have done we have created one tab one Exel new Excel here then we printed name and date up now okay then after that uh lecture name will be print on the LCD by using this three line then it is asking scan your card so once you scan the card by using this function the card number database ID you can see ID is nothing but the card number this card number so you what you can do you can first print this line you can add print statement and ID so initially when you run the program if you want to identify your card number once you scan the card then it will print that card number here I will show you how okay then after that it will compare whether my already ATT from the database you can see already attendance is there so once the rul scan the card then already attendance uh dat for that rul gets one value so here it is checking whether that value is zero or one so if it's one then it is showing here already attendance taken if it's zero here that means rul uh R did not rul uh haven't given attendance it okay so that value 0 and one is used for that one okay uh so uh at the first when rul try to give the attendance then that value is zero then LCD right it will print your attendance taken Rahul database ID Z so you can see database id0 means this one 0 1 2 3 so database ID Z is nothing but rul database ID one is nothing but the mobile number so likewise 0 1 2 3 so database ID Zer it will print on the LCD your attendance take on rul then buzzer will turn on and some after sometime it will off then it will print on the LCD message sent to the parent then message function will be called uh this function will be called mend function some command will be right the board rate will be set and our USB port will be used and then on particular user mobile number the student data you can see from here it is extracting all the data student name then lecture name uh then number from here it is extracting the data and on here it will send the message to that number from this database okay then after that uh R attendance taken then column and row will be increased so here it will write as a rul then again for the next iteration it will come here our pointer in the Excel so for that column and row will be increased and our uh Excel sheet will be save so likewise it will happen for multiple number of times for the student so this is the idea now you can see I have added the ID here so that once I run the code okay so again I run the code so you can see once I give the lecture name name and once I scan my card this card you can see the lecture uh your ID is there so you can copy that ID you can paste here likewise you can identify your ID number so that code you can change by yourself okay you have one uh question in your mind if you want to add the third student so what you can do you can copy this line you can copy this card number paste here can paste here give the card number three sorry not here here you can give card number three again you can copy this line complete line you can copy this line and enter and paste and just replace card number two by card three and you can replace the name of student you can give XY Z right now then mobile number and that's it only okay likewise you can add as many as student as many as card into your database so I hope you understand the complete flow complete code and uh complete project uh if you like my content please click on like button please subscribe my Please Subscribe my Channel please support me
Info
Channel: Rahul Jadhav
Views: 928
Rating: undefined out of 5
Keywords: rfid based attendance system using arduino, rfid based attendance system, smart attendance system, smart attendance system using face recognition, smart attendance system project, smart attendance system using qr code, smart attendance system using face recognition in python, smart attendance system using python, smart attendance system using face recognition project, smart attendance using face recognition, smart attendance system in school, smart attendance system using arduino
Id: bRbTDlA8M-k
Channel Id: undefined
Length: 31min 26sec (1886 seconds)
Published: Sat Mar 30 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.