Smart Attendance System using fingerprint sensor| Send message to parent | 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 P 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 session we will learn how we can design and develop a smart attendance monitoring system project by using fingerprint sensor and Raspberry Pi so you can see on the screen we have the fingerprint sensor we have the GSA model then we have the LCD buzzer and Raspberry Pi so before start the next part I would like to tell you uh in this video we will cover the complete idea about this project we will cover I will cover how to connect all this Hardware with Raspberry Pi I will give you the program completely free no need to pay anything for that program just download from my website and after that program how to install that library in your Raspberry Pi so that you can design and develop this project by yourself okay so before start the next part I would like to tell you what will be the flow of this project so you can see on the screen we have the many Hardware we have the Raspberry Pi 3B you can use Raspberry Pi 4 also or any Raspberry Pi there is no issue but I have Raspberry Pi 3 so that I have used Ras Raspberry Pi 3B then after that we have the same 9900a model then we have the fingerprint sensor model then we have the buzzer and then we have the LCD it Toc LCD model so the flow of this project is like that if let's say if we give the power and we start the program then on the LCD it will show smart attendance system project name then after that it will show please give the lecture name so that whatever the attendance taken for that student that will be register for this lecture in the Excel seet so in the background we have the ex sheet so in the background we have the Excel sheet which which store the attendance of the student for that date for that lecture okay so it will ask for the lecture name so from the keyboard you can type the lecture name then after that it will show the lecture name on the LCD okay then after that it will ask please scan your finger then scan your finger means student can scan uh his finger so let's say so let's say if the first student come and he scan his finger so let's say he scan his thumb finger then automatically it will show on the screen thank you the student name and your attendance taken then after that buzzer will turn on and then after that the particular student parents the message will be sent to the particular student parent so immediately once the student scan his finger then immediately Raspberry Pi sent the message to the parent that your student is attending this lecture at this time okay okay so this is the complete idea behind this project now before start the next part first we will see the Practical demonstration of this project and then we will see the hardware connection and then we will see the [Music] program okay so once I run the project it will first show The Project name then it will ask the lecture name so I will run the project now so you can see smart attendance system please enter the lecture name now it is asking enter the lecture name also same message you can see on the Raspberry Pi screen I will show you the Raspberry Pi screen now so you can see on the Rasberry screen also it is showing please give the current subject lecture name so I will uh enter the subject lecture name you can see this is the keyboard I have attached to my Raspberry Pi on the USB side so I will type math here and then press enter so once I type the math and press enter Then here you can see uh it it shows the lecture name and then now it is asking for please scan your finger so now scan your finger so first student finger is this one thumb then this is the second student finger and this is the third because I am alone in the room so you can consider three student for the three finger you can register different student for thumb finger only but for this practice demonstration I will consider as a three three student for the three finger okay now I will scan my thumb here now before that you can see I have the three mobile for the three student so each mobile consider for the each parent so first what I will do I will scan my thumb finger so you can see I am scanning my thumb finger so your attendance taken rul buzzer on then message send to the LCD it is all message display on the LCD now wait for some second you can see on this mobile number it will give the message so wait for you can see message rece just now you can see your son or daughter Rahul attended today's m class and current date also you can see today only it will send that message you can see the DAT time all these things okay now second student scan is finger your attendance taken shubam you can see on the LCD then wait for sham yeah so this is the this is the again second mobile number for the Sham you can see your son daughter sham attending today's math class at this time okay now the third student again my third mobile I will this is my third mobile so again I will scan the third finger your attendance taken Vite message send to the parent so this is the V parent you can see just now I receive the message and you can see your son daughter V attended today's math class so in this way uh this project is working now we will see the Excel seet how it is uh how this attendance you can record on the Excel sheet so once the attendance taken you can open the Excel sheet from the Raspberry Pi here is the Excel sheet you can see math and name student name present today's date [Music] so this is the complete idea behind this project I hope you understand the project idea now you if you are asking the second lecture so again you have to run the project for the second lecture you can stop the project and again we can do for the second lecture and we can see the second lecture attendance also okay now quickly I will again run the project for the second lecture so that you can see same process again so let's say uh I run the project Sy project name on the LCD then please enter the lecture name now I will give lecture name as English and then press English and then press enter so once I press enter you can see lecture name uh it show on the LC now it is asking for the scan your finger now I will again scan one by one finger for the student your attendance taken Rahul message send to the parent okay open the message you can see your son or daughter Rahul attended today's English lecture now same second finger quickly I will do your attendance taken shubam message sent to the parent sham mobile this one your son or daughter sham attended today's English lecture English class at this time then third student your attendance taken vayak and then here you can see live you will get the message yeah so here you can get the message your son or daughter even attended today's English class so in this way this is the complete idea this is the complete practical demonstration of this project I hope you understand the Practical demonstration of this project now we will see the adware connection of this project and then we will see the program part now before that first we check the uh two attendance lecture uh like attendance for two lecture so again I will open the Raspberry Pi screen so here I will open the I will close this program first okay then after that you can see attendance Excel shet I will open this so two lecture we have recorded So first lecture is math and second lecture is English so you can see English attendance also there math attendance also there so in this way this complete idea behind this project I hope you understand the Practical demonstration of this project now we will see the program part of this project and then we will see the uh now we will see the hardware connection of this project then we will see the program part and definitely you can design and develop this project by [Music] yourself okay now one by one we connect all the hardware so first so first we can connect Raspberry Pi so you can see this is Rasberry Pi 3B you can use any Raspberry Pi each Raspberry Pi having this pin same connection pin you can see so this is the odd number pin this is the even number pin already I have uh pasted the paper on this pin so that I easily I easily identify the pin number power supply you can give from the here for this Rasberry P 3B you can easily purchase this Raspberry Pi on the Amazon I already purchased two Raspberry Pi last week so you can easily purchase this Raspberry Pi also if you want same Raspberry Pi okay so once I place Raspberry Pi here then first we connect uh first we give the power supply to Raspberry Pi so this is the power supply to Raspberry Pi you can give from here and then this HDMI so I will give the power supply and then HDMI port so and already I have flash the Raspberry Pi OS into this memory card so it will you can see this is the memory card here okay then if you want to identify the pin number for that Raspberry Pi just go to the uh serial terminal on Raspberry Pi and type here gpio read all command GP iio read all GP IO GP iio and space read all read all so this command you can type sorry once again JP iio read all one second I will type the command GP iio space read all okay so once you type the command GP iio read all you can see on the screen then we have the rasb P so we are using the physical pin so so you can see two number pin 5 like this 10 number pin like this RX then eight number pin like this TX so like this we will use this pin connection okay now first we will connect first we will connect this i2c display so you can purchase this i2c display again from the Amazon or from the flip card I purchase from Amazon so already there is a detailed video on this i2c display if you want that detail video please watch that detail video you can see thumbnail on the screen here I will just connect the connection quickly so this it2 display having the four pin at the background SDA SCA then ground and VCC we have to connect all this pin quickly so first I connect the ground pin so ground pin is nothing but Raspberry Pi 6 number pin is ground pin so Raspberry Pi 6 number pin is ground pin that I will connect from here then after that then after that power pin that is the 5 Vol pin that is the VCC pin from this uh uh i2c display that is connected to four number pin so power is given to R LCD now then after that SD and so from the GPI read all we got to know uh the three number pin act as a SDA pin so this SDA pin from this sensor nothing but this orange color pin that is connected to three number pin and five number pin is nothing but the pin and this is the five number pin of B P so this is very simple and easy connection quick I have connected if you want detail video please watch that video but here I just connected four pin SC sdl and VCC ground that's it only okay okay now next part is we have to connect this uh uh fingerprint sensor model again I will quickly go through this model uh already there is a separate video you can see on the screen there is thumbnail please watch that video for detail understanding same connection we are using using in this video also so generally we have the four pin VCC ground rxtx pin from that sensor you can see uh the pin number also there 1 and six so we will use 1 2 3 4 pin one number pin act as VCC second number Pi act as a ground third number pin act as a TX and fourth number pin act as RX so we have to connect this four pin so this TX pin from this sensor should be connected to Raspberry Pi RX that is the 10 number pin and the this RX pin from this sensor should be connected to Raspberry Pi TX pin detail video already there please watch that video if you want detail understanding I will not cover this part is here because that again take long time so first I will cover the so first I will connect the VCC so first I will connect the VCC pin so VCC pin nothing but the first number pin so this is my the first number pin from this sensor okay so first number pin P connected to two number of Raspberry Pi okay because two number act as a 5 Vol okay then after that ground so ground pin from this sensor is connected to n number pin so n number is going act as a ground so that's why I connected to nine number from where I getting this information n and this GP read all all these are info from there only okay then after that the next pin uh the Third number pin that is the TX pin of this sensor so third number pin is [Music] here okay so this is the third number pin from this sensor that is the TX pin that should be connected connected to Raspberry p RX that is the 10 number pin okay fourth number pin that is the RX pin from the sensor should be connected to Rasberry p Ts that is the 10 number pin of Raspberry Pi sorry eight number pin of Raspberry Pi so quickly I go through this uh one if you want detail again I repeat please watch that video you will get deta understanding of this sensor okay now next part is buzzer you can see this is the buzzer buzzer I simple connection two pins are there one VCC one ground the ground pin should be connected to Raspberry p ground it is very simple just place the buzzer here and ground pin from that GP read all you will get idea where is the ground pin of this Raspberry Pi so uh here you can see 14 number pin act as a ground so this is the ground pin from this buzzer should be connected to 14 number pin of Raspberry Pi so this is 14 number pin and then buzzer positive pin should be connected to seven number pin of Raspberry Pi seven number pin of Raspberry Pi so this should be connected to seven [Music] number okay so this is very simple connection for this buzzer okay so last Model remaining this GSM model so B for the GSA model you should purchase this USB to serial terminal converter why Raspberry Pi only having one uh Ur port at this pin we require another Ur Port because one U Port already uh connected with this finger sensor model so for second Ur Port you should purchase this USB to serial converter so this USB to serial connector you can see at the back end there is already pin number is given uh ground TX RX 3.3 5 we just need the ground pin and we just need the TX wiin from this uart so TX pin of this uart should be connected to Ras uh should be connected to uh GSM model RX pin and ground pin from this you what this is the ground pin you can see ground pin from this U should be connected to ground pin of this Sim 9900a model so it is very simple con only two wire you require TX pin from this uart should be connected to uh GSM RX pin and ground pin to ground pin and just connect and just place this uh here USB to serial conter and this GSM model you can place like this it is very simple condition then after that you should give the power to the GSM model with adapter external adapter so which adapter I will show you okay so this adapter again you can purchase from the Amazon 12 volt 1 aamp adapter you require for the GSM model and where you should connect the adapter the adapter power wire you can see this is the adapter power wire you should connect here 12 vol 1 aamp once you place like this and then give the power supply to from this adapter then GSM start start working so this is the very basic and easy connection of this project I hope you understand the project connection now we will see the program part of this project okay after you do the all the connection make sure that you should put your GSM SIM card here like I can see you can see GSM SIM card I have put here and once you put the GSM SIM card here so once you give the power supply to the GSM model this led start blinking you can see this is blinking green LED after sometime it will stop blink so it will stop blink means uh the GSM model has captured the range and SIM card is working if it's complet if it's continuously blinking then that means GSM is not working if it's blinking after 1 second then it is work working okay now you can see I have done the connection in front of you and all all Hardware is working now I have run the project and given the uh name also lecture name I'm just scanning my finger to see whether it's working or not so you can see it is working and also here I getting the message that means all connection whatever I told it is completely correct and it is working fine now we will see the programing part of this project make sure you should place your sim card here uh then only it will work if there is no SIM card then it will not [Music] work okay now let's see the program part so very important party you should download my this folder you should download my this folder from my Google web page link the web page link you in the description so once you download download this folder open this command and till line number uh till command number six you should uh install one by one command so like likewise let's say I open the serial terminal from here copy the command one by one command like this so basically this command is used for fingerprint sensor Library so copy this paste here copy this paste again here again copy the third command paste then copy the fourth command and paste and then copy the fifth common and then paste so likewise you can install one to fifth command then close this terminal again open the new terminal and from the new terminal again follow the same process try try to install from 6 to 11 so likewise you can install this command then after that you can go to the Raspberry Pi then go to the preferences then go to the Raspberry p configuration then from interface you can uh enable SPI i2c serial communication Port you can see enable and then click on okay then after that your Hardware already connected so if you want to see the address of i2c then copy this command open the serial terminal and paste here press enter so you can see my i2c address is 27 your address may be uh different but if it's same then there is no issue then if you want to check the available serial Port you can copy this command and again open serial terminal and paste and press enter so you can see currently only one serial Port is available now once I connected my USB terminal you can see once I connected my USB to serial communication terminal here and then after that again if I run the same command if I run the same command from here and press enter so you can see now there are two serial terminal available for the use so likewise you can verify your USB to serial communication terminal also so these are some basic setting you have to do so these are some basic setting you have to do to check which serial termin available which ITC Port available and then after that we can move to the program part okay so once you install all the command now we will see the programing part so I will add one fingerprint uh live in front of you so that you can understand the program so basically this uh search finger enroll finger then uh Delete finger then download this image from the finger so this program I have already explained in my previous video please watch my fingerprint sensor with Raspberry Pi video to get more idea now I will enroll a new finger in front of you so that how to add new finger in the code you you will understand so first open this code in the python 2 okay so once you open this in Python 2 if you don't have the python 2 here also python 2 you don't find the option python 2 then also okay just open this in anything like any editor text editor anywhere you can open so once you open then here you can see I have given the student name here so let's say if I want to add the new student or new fingerprint so what I will do first I open the python code which one enroll this one so how to run this code open in Python 2 from here if you don't find the pon 2 option here that also no issue just go to the serial terminal okay then type CD and then copy this path and then paste press enter then after that from here type python okay and then program name so rename click on rename copy this program name and then from this window paste and press enter so from here also it will work if you don't find the option and directly from here also it will work so there is two option so I will open from the shortcut python 2 I will open from here or you can see python 2 also available here so these are the some shortcuts so enroll finger I will open from python 2 then I click on run button and run model then after that I'm enrolling my next finger so any finger I will enroll in front of you okay so new finger enroll with ID3 so whenever you enroll any finger that having the ID once you enroll the finger open the another program that is exam example enroll this close this program and open the take attend program so here you can give the comma at this line and press enter so once you press enter at this line database just give the number that is the ID of that finger three number is the ID okay then same you can copy this copy this and paste and paste here you can give the three number that fingerprint ID then name of that student let's say I will give name of student is Ganesh and mobile number you can give whatever you want here 10 digit of mobile number so that is the parent mobile number and then no comma here at the end okay likewise you can add as many as student so this is the way to add the student into database okay so this is the one part now the next part is I will explain another how importance of each and every line from the code so if you want to delete the finger you can open delete and you can delete the finger so this program you can watch the other video to understand the program so now current program is this one so take attendance program so from this program uh these are some library that we use for this project then simple we put the Raspberry Pi into board mode then War to the false buzzer we connected to seven number then buzzer pin at as output that's why we give one here as a output as a buzzer pin then here you can see this is the ID of my i2c display this that is 27 if if you have another ID you can replace this ID by your ID then after it will print on the LCD smart the system then it will print on the LCD please enter the lecture name then once the lecture name is enter from here it will store into lecture name and then uh in the Excel sheet you can see in the Excel sheet here it will create the blank lecture name like this name and date at this line you can see lecture name name and date so like this till this we understand like how this uh lecture sheet is created and how this name uh name and date and date is pred on this sheet okay till this line then after that uh lecture name will be print on the LCD then it is some database of the student and the parent okay so here what happened you have the database here okay once you have the database we have the student name parent name all these things are here then message send function it is basically function which is used to send the message to the uh parent so we are using TT usb0 serial code for the GSM model so that's why here I have Define USB zero then all these are 0 commands you can see 80 commands I sending from the serial terminal okay then after that our main function will start where it will find First please scan your finger that is printing on the LCD at this line if here the fingerprint sensor not found then you will get the message on the terminal on Raspberry Pi your sensor does not found so if your sensor is not working then you will get this message or if your hard connection is wrong then also you will get this message your program will not run then after that it is asking for the scan finger it is printing on the LCD then our whatever the image load on this like uh we already store the data into our fingerprint sensor model so once you scan the finger it will search for that data once you search then result is found and we got the position of that result position mean the the number of that finger so if the number is minus one that mean your finger is not there so it will print on the serial terminal no match M if the match found then it will come here so once once it come here then what will happen it is write writing into sheet row and zero So currently we have the zero row zero column you can see first row and the zero column so first row nothing but this one zero column nothing but this so I will highlight this so that you can understand yeah first row and zero column nothing but this so at this location first row zero column at this location you can see from the database is position zero so whatever the position of that fingerprint number with zero so from the database it will uh it will uh calculate the name so who like student finger it is calculating the name of that finger from this line and it will put here okay in this Excel then after that our column will be uh + one so column M to this location this location and then it will print it will store here present so this is the logic behind this Excel again our for the next student here it will come so that's why here you can see our row will be increased and column will be zero so likewise it will continue for infinite number of time then after the data store it will save that Excel so once the data is store then our message function will call and particular particular student number you can see here one one means from the database one this number this number get extracted at here and this is the parent number this is the student name this is the lecture name so this message will be sent from here to the particular parent by sending the it comma then after that message sent you have to print on the LCD your attendance taken and the student name then after that our buzzer will turn on buzzer will turn off and message send will be print on the LCD so this is the logic behind this code I hope you understand the logic how to run the code it is very simple just click on run and run model if you don't have this python just go to the here just type CD and then move to your directory copy this and move to your directory paste here press enter so once you press enter then just type Python and then code project name so I will close this and then you can right click rename copy the code and then paste here so this is also one way to run your project if you don't if you already have the python you can just go to the run and run moduel this is also another way to run your project so I hope you understand the complete idea behind this project complete idea behind the code uh if you have any doubt Reach Out me my WhatsApp number is below in the description you can contact me anytime if you like the content if you like my video then please click on like button please subscribe my Channel please support me thanks for watching this video
Info
Channel: Rahul Jadhav
Views: 713
Rating: undefined out of 5
Keywords: 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 system using deep learning, smart attendance using face recognition, smart attendance system in school, smart attendance system using arduino
Id: w5WCN4OMToM
Channel Id: undefined
Length: 35min 5sec (2105 seconds)
Published: Sat Feb 10 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.