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.
65 Comments
8 years ago on Introduction
A very useful project. Thanks for sharing! I hope we see more from you in the future.
Reply 6 years ago
hi bro i am a student i need this project for semester project please gives me complete documentation of project with codes
4 years ago
Dear author, could you email me the codes you used in makin the system, just gonna use it and add new things for our research.
Email: ja.yrastorza@gmail.com
Question 4 years ago on Step 4
How can i modify this project to be examination attendanc for my project
Question 5 years ago on Step 3
please, would you send source code ,i want source code.
Question 5 years ago
how to insert scanned details from rfid into mysql
Question 5 years ago on Step 4
how to create web php you mentioned???
5 years ago
Error compiling for board Arduino.
How can i solve this?
5 years ago
Can anyone help me with RDM6300.
reply me on faizan6603@gmail.com
5 years ago
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\User\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\User\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\User\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\User\AppData\Local\Temp\arduino_build_841079 -warnings=none -build-cache C:\Users\User\AppData\Local\Temp\arduino_cache_980846 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.avr-gcc.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -verbose C:\Users\User\Downloads\Coding\Coding.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\User\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\User\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\User\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\User\AppData\Local\Temp\arduino_build_841079 -warnings=none -build-cache C:\Users\User\AppData\Local\Temp\arduino_cache_980846 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.avr-gcc.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -verbose C:\Users\User\Downloads\Coding\Coding.ino
Using board 'uno' from platform in folder: C:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21
Using core 'arduino' from platform in folder: C:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21
Detecting libraries used...
"C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\standard" "C:\Users\User\AppData\Local\Temp\arduino_build_841079\sketch\Coding.ino.cpp" -o "nul"
"C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\standard" "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SPI\src" "C:\Users\User\AppData\Local\Temp\arduino_build_841079\sketch\Coding.ino.cpp" -o "nul"
"C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\standard" "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SPI\src" "-IC:\Users\User\Documents\Arduino\libraries\rfid-master\src" "C:\Users\User\AppData\Local\Temp\arduino_build_841079\sketch\Coding.ino.cpp" -o "nul"
"C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\standard" "-IC:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SPI\src" "-IC:\Users\User\Documents\Arduino\libraries\rfid-master\src" "C:\Users\User\AppData\Local\Temp\arduino_build_841079\sketch\Coding.ino.cpp" -o "C:\Users\User\AppData\Local\Temp\arduino_build_841079\preproc\ctags_target_for_gcc_minus_e.cpp"
C:\Users\User\Downloads\Coding\Coding.ino:21:21: fatal error: pitches.h: No such file or directory
#include "pitches.h"
^
compilation terminated.
Using library SPI at version 1.0 in folder: C:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SPI
Using library rfid-master at version 1.3.6 in folder: C:\Users\User\Documents\Arduino\libraries\rfid-master
exit status 1
Error compiling for board Arduino/Genuino Uno.
How can i solve this?
6 years ago
hello sir/mam please send me the whole project documentation
ranabilalshahid228@gmail.com
plzzzzzzzz
6 years ago
please send me its complete code and circuit diagram..
my mail id is fatimanosheen7863@gmail.com
7 years ago
I want the code
Reply 7 years ago
i figured it out how to work with UNO.. it needs lots of changes. i got the PHP and Mysql working and Cards are working smoothly. I will do my instructable on it.
Reply 6 years ago
Provide link of your instructable please
Reply 6 years ago
hi, can you please send the schematic and code to me too? it would be really helpful thank you in advance may god bless you :)
email: syirah_2010@hotmail.com
Reply 6 years ago
hey can u send me the schematic and the code...i want to make a similar project. i want to make a databse of 60 students and store there daily attendance.
my email id- say2deepaksingh@gmail.com
thank you
Reply 6 years ago
hi bro please help me in that i want to complete my final year samester project plz gives me documentation and code
tahirmuhdiuldin64@gmail.com
6 years ago
hey bro!
would you like to please send the full code bro.
gmail-abhinayraj1226@gmail.com
6 years ago
Please, can u send the schematics and the code. I need it for my final year project. Thanks
Email: fadugba.iyanu@gmail.com