Attendance Record System (Arduino + RFID)

72,186

102

63

About: Don't be same, be better!

Intro: 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.

Share

    Recommendations

    • Metalworking Contest

      Metalworking Contest
    • Tiny Home Contest

      Tiny Home Contest
    • Furniture Contest 2018

      Furniture Contest 2018

    63 Discussions

    0
    None
    tahiraishaamberrayh

    Reply 1 year ago

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

    0
    None
    nyowinh

    Question 6 days ago on Step 3

    please, would you send source code ,i want source code.

    0
    None
    tintin1

    Question 8 weeks ago

    how to insert scanned details from rfid into mysql

    0
    None
    dee910620

    5 months ago

    Error compiling for board Arduino.

    How can i solve this?

    0
    None
    dee910620

    6 months 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?

    0
    None
    bilal shahid 228

    10 months ago

    hello sir/mam please send me the whole project documentation

    ranabilalshahid228@gmail.com

    plzzzzzzzz

    0
    None
    Nosheen Fatima

    10 months ago

    please send me its complete code and circuit diagram..

    my mail id is fatimanosheen7863@gmail.com

    0
    None
    Saifiiz artWorkJosogeorge

    Reply 1 year 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.

    0
    None
    SitiB3Saifiiz artWork

    Reply 1 year 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

    0
    None
    BeansinghSaifiiz artWork

    Reply 1 year 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

    0
    None
    tahiraishaSaifiiz artWork

    Reply 1 year 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

    0
    None
    AbhinayR

    11 months ago

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

    0
    None
    Iyanuoluwa

    1 year ago

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

    0
    None
    VannesaI

    1 year ago

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

    Email: vannsxxeroxoo@gmail.com

    0
    None
    fakhrulhanafi95

    1 year ago

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

    fakhrulhanafi95@gmail.com