Introduction: Attendance Record System (Arduino + RFID)
In this project, you'll learn to create attendance system using Arduino and RFID. This project is facilitate to minimize the time to take attendance data and identifying who attend and do not attended.
Basic Skills Requirements:
- C Programming
- PHP
- MySQL
Step 1: Let's Get Started!
Hardware Requirements:
1 x Intel Galileo (You also can use Arduino UNO and other compatible board )
1 x RFID RC522
1 x LCD 16x2
1 x Potentiometer (10k)
Wires and cables for connection
Ethernet connection cable to Router
Step 2: Let's Start Wiring
Connection of RFID to pin Intel Galileo:
Reset = Pin 5
SDA = Pin 10
MOSI = Pin 11
MISO = Pin 12
SCK = Pin 13
GND = GROUND
3.3 = 3.3v
Connection of LCD to pin Intel Galileo:
VSS & RW = GND
Vcc = 5v
Vo = Potentiometer (this is the middle pin of the 10k potentiometer)
RS = Pin 9
E = Pin 8
D4 = Pin 7
D5 = Pin 4
D6 = Pin 3
D7 = Pin 2
If not understand not clarify with the connection, please refer the image above.
Step 3: Time for Arduino Code
Download the code below and run. Verify, Compile, and Upload.
If the Arduino is wired and working correctly the LCD will display IP Address that connected to your Internet.
Download Here: bit.ly/1E9kTj5
*Libraries are attached together
Step 4: Time for PHP & Database
PHP Code:
Creating a web PHP for data(time) inserting or updating to database. Here, this code will compare the serial on card and on database.
You need a card or tag to access the attendance system record. When approaching the card / RFID tag for sensor, the serial number of this card / tag is detected and compared with the serial numbers listed on the database. If it is registered serial number, the system will send card series to the database. LCD will display, and success send messages will appear on the LCD display. If not , the system will ignore the user access and data transmission on the LCD will show a warning message card is not recognized.
*Upload the arduino.php file of your web server.
Download PHP: bit.ly/1EQRMjt
Creating Database:
Create a Database on your web hosting server and Table as I shown on the image above.