Attendance Record System (Arduino + RFID)

67,242

99

60

Published

Introduction: Attendance Record System (Arduino + RFID)

About: Don't be same, be better!

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.

Share

    Recommendations

    • Casting Contest

      Casting Contest
    • Clocks Contest

      Clocks Contest
    • Oil Contest

      Oil Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    60 Comments

    A very useful project. Thanks for sharing! I hope we see more from you in the future.

    1 reply

    hi bro i am a student i need this project for semester project please gives me complete documentation of project with codes

    Error compiling for board Arduino.

    How can i solve this?

    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?

    hello sir/mam please send me the whole project documentation

    ranabilalshahid228@gmail.com

    plzzzzzzzz

    please send me its complete code and circuit diagram..

    my mail id is fatimanosheen7863@gmail.com

    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.

    Provide link of your instructable please

    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

    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

    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

    hey bro!
    would you like to please send the full code bro.
    gmail-abhinayraj1226@gmail.com

    Please, can u send the schematics and the code. I need it for my final year project. Thanks
    Email: fadugba.iyanu@gmail.com

    Do you mind sharing the code please? As Im using Arduino UNO... is there any different?

    Email: vannsxxeroxoo@gmail.com

    i am using an arduino UNO. are there any changes that i should make to the program?. please help me

    fakhrulhanafi95@gmail.com

    WARNING: Category '' in library SPI is not valid. Setting to 'Uncategorized'

    plz help me gyz its show warning and RFID donot take card input

    nice work. could you please share me the code. Thanks

    hi, I wanna build this with a aurdino mega, im new to this, would you be able to tell me which ports and how to alter code? i have a Rc552- thanks