Biometric Student Attendance System with Database using VB.net & Arduino

(Last Updated On: June 26, 2020)

Biometric Student Attendance System with Database

Introduction:

Biometric Student Attendance System with Database- In this tutorial, you will learn how to make a Biometric Student Attendance system and save the records in a database whether a particular student is Present, Late, or absent. This is a completely wireless system the transmitter and receiver have no physical connection. The computer application is designed in visual basic 2010 express edition. In this project two Arduino’s are used, one as the Transmitter which is connected with the Fingerprint module and the other one as the receiver which is connected with the Laptop.


In part1 of the biometric student attendance system, I explained how to make a very basic GUI application; in this episode, I explained how to add text boxes, labels, and timers, etc.

In this episode, I will not explain the things which I have already explained in my previous tutorials. I highly recommend first watch my previous tutorials based on the fingerprint module and then you can resume from here.

In this project, I will explain

  1. Complete circuit diagram explanation.
  2. GUI attendance application
  3. How to install a Xampp Server.
  4. How to create a database.
  5. How to connect a database with the GUI Attendance application

The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

433Mhz Radio Frequency Transmitter and Receiver modules:
Fingerprint Module:
Arduino Uno:
Mega 2560:

DISCLAIMER:

Please Note: these are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

 



Biometric Student Attendance System Transmitter Circuit Diagram:

Biometric Student Attendance System with Database

This is the Transmitter side circuit diagram. As you can see 433Mhz RF transmitter data pin is connected with the Arduino’s pin number 12. The 5 volt and GND pins of the Transmitter module are connected with the Arduino’s 5v and GND.

The 5 volt and GND pins of the fingerprint module are connected with the Arduino’s 5v and ground. The TX pin of the fingerprint module is connected with the Arduino’s pin number 4 while the RX of the fingerprint module is connected with the Arduino’s pin number5.


Biometric Student Attendance System Receiver Circuit Diagram:

Biometric Student Attendance System with Database

The 5v and GND pins of the 433Mhz receiver module are connected with the Arduino’s 5v and GND. While the data pin of the receiver module is connected with the Arduino’s pin number 11. This Arduino will be connected with the Laptop.

Biometric student attendance application:

Biometric Student Attendance System with Database

This is a GUI application designed for the Biometric student attendance system. As you can see this form has a total of  10 textboxes, 5 buttons, and a data grid.   The names of the textboxes are txt_search, txt_roll, txt_name, txt_class, txt_present, txt_late, txt_absent, TextBox1, txt_mins, and txt_timer.

The button names are btn_search, btn_save, btn_update, btn_delete, and Button1.while the name of the data grid is DataGridView1.

For the Automatic attendance, I have added some timers and for the Serial communication, I added one Serial Port.


Biometric student attendance system application programming:


Xampp Server Installation and Basic Setup:

After you are done with the basic GUI form designing and programming then the next step is to download and install the Xampp Server. For the step by step installation, and database connectivity watch the video tutorial given at the end of this Article.

Biometric Student Attendance System Arduino Programming:

In this project two programs are used, one program is written for the Transmitter side Arduino and the other program is written for the receiver side, Arduino. Let’s first start with the transmitter programming.

Fingerprint Biometric student attendance TX side Arduino Programming:



Transmitter side Arduino program explanation:

Before you start the programming, first of all, make sure that you download all these libraries. As you can see this is the same exact program used in my previous fingerprint based student attendance system. In this program, I made only one change which is I defined a pin for the transmitter. While the rest of the program is exactly the same. Now let’s have a look at the receiver side programming.

Fingerprint Biometric student attendance RX side Arduino Programming:


Receiver Side Arduino Program Explanation:

I started off by defining a pin for the 433Mhz Radio Frequency module data pin.

In the void setup function, I activated the serial communication and selected 9600 as the baud rate. Make sure you use the same baud rate in the computer GUI application. The virtual wire set rx pin function takes only one argument as the input which is the receiver data pin. Then I activated the virtual wire and selected 2000 as the communication speed.

Then starts the void loop function.

We simply read the message, in my case I am sending only one character from the transmitter. This character when received by the receiver is stored in the variable c. then using the if conditions we check whether the received character is a or b. if the received character is a then send a roll number 1001 to the computer application and if the received character is b then send a roll number 1002 to the computer application.


Watch Video Tutorial:

 

 

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Leave a Reply