0% found this document useful (0 votes)
18 views

Create Arduino CC Projecthub User8523373 Rfid Based Automati

This document describes an RFID-based automatic door system project that uses an Arduino board. The system allows users to secure their home by implementing a wireless door management system that can be opened with an RFID tag. It lists the components needed, including an Arduino UNO board, RFID RC522 module, LCD display, servo motor, LED, buzzer, and other basic electronic parts. The document also provides code snippets to control the door opening based on RFID tag detection.

Uploaded by

271ciptasusila
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Create Arduino CC Projecthub User8523373 Rfid Based Automati

This document describes an RFID-based automatic door system project that uses an Arduino board. The system allows users to secure their home by implementing a wireless door management system that can be opened with an RFID tag. It lists the components needed, including an Arduino UNO board, RFID RC522 module, LCD display, servo motor, LED, buzzer, and other basic electronic parts. The document also provides code snippets to control the door opening based on RFID tag detection.

Uploaded by

271ciptasusila
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

RFID Based Automatic Door System

© LGPL

Secure your house by implementing this handy automatic door


management system.

home automation home security wireless

95,732 VIEWS 35 COMMENTS 188 RESPECTS

COMPONENTS AND SUPPLIES 

Arduino UNO × 1 

RFID RC522 × 1 

Adafruit Standard LCD - 16x2 White on


Blue × 1 

Servos (Tower Pro MG996R) × 1 

× 1

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
RGB LED

Buzzer × 1 

Resistor 221 ohm × 2 

Breadboard (generic) × 1 

Jumper wires (generic) × 1 

APPS AND ONLINE SERVICES 

Arduino IDE 

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
ABOUT THIS PROJECT 

Ideation
When we see sophisticated door management system(s), the price tag
struck immediately along with the utility of-course. In countries like India,
such automatic systems are not cheap by any yardstick. So, we decided to
test a simple and cheap prototype to see if such a robust system could be
developed using the tool of our choice, Arduino Uno. That's how we got
started to develop this project and are very happy with the way it finally
looks. Of course, there are myriads of future extensions that we are
planning to impose upon this project, but that's a topic for our next post.

Video

CODE 

RFID Based door automatic management system Arduino

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
 

1 /*
2 * RFID Module RC522
3 * Simple Project:- Arduino will read RFID Tag and Display
4 *
5 * RFID RC522 and Arduino Uno Pin Configuration
6 *
7 * RFID RC522 Arduino Uno
8 * SS/SDA D10
9 * SCK D13
10 * MOSI D11
11 * MISO D12
12 * IRQ Not Connected
13 * GND GND
14 * RST D9
15 * 3.3V 3.3V
16 *
17 * //Note: We connected LCD to the Analog Pins.
18 * Remember, Analog Pins can be act as a Digital Pins,
19 * But Digital Pins CAN NOT be act as a Analog Pins.

SCHEMATICS 

RFID Based door automatic management system DOWNLOAD

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
COMMENTS 

Please log in or sign up to comment.

Elkin Carmona
6 years ago

Nice project! I'm testing my RFID module with your code, but I can't figure
out where to get the RFID.h library. Could you please let me know?
Thanks.
1 thank

Rufistofeles
6 years ago

Maybe this helps...


https://community.particle.io/t/getting-the-rfid-rc522-to-work-
solved/3571/3

Rufistofeles
6 years ago

Maybe this helps...


https://community.particle.io/t/getting-the-rfid-rc522-to-work-
solved/3571/3
1 thank

Guest
6 years ago

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
What if the card key is lost? and what if the battery ran out of power what
can i do to open the door??? need some answers thanks

8some0ne8
4 years ago

You might have to force your door open.

joemarksp12
6 years ago

Nice project. Can i ask a question? what if the source of the power loose?
how can i get out? and what if i lose my card key for the sensor how can i
still open it?? need some answers thanks.

Gregory Akau
6 years ago

wow, this project is awesome, but i copied the codes and tried verifying,
but is giving me error, "rfid.h is not a directories" and i downloaded and
added the MFRC522 library, and change it to MFRC522.h and i got error on
"pitches.h", what should i do

user6352438
6 years ago

Hi, You will get "pitches.h" from the Arduino examples itself.
Go to Arduino IDE -> File -> Examples -> Digital -> toneMelody

Mike Walker
2 years ago

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
download the library
1 thank

baget_pog
9 months ago

i have the same problem but im on mac so I cant seem to find


anywhere to download the MFRC522. along with this cant seem to
go to Arduino IDE -> File -> Examples -> Digital -> toneMelody

fab_seeker
6 years ago

Hi! Thank you for this interesting project!


I tried to make it and met some obstacles. As I read in other comments, I
replaced rfid.h with MFRC522.h. I kept the name of the object "rfid", and I
used the following functions and structures from the class MFRC522:
RFID rfid(SS_PIN, RST_PIN ); --> MFRC522 rfid(SS_PIN, RST_PIN );
rfid.init(); --------------> rfid.PCD_Init();
rfid.SerNum[i] ----------> rfid.uid.uidByte[i]
rfid.isCard() ------------> rfid.PICC_IsNewCardPresent()
rfid.readCardSerial() ----> rfid.PICC_ReadCardSerial()
rfid.halt(); --------------> rfid.PICC_HaltA();
I also added pitches.h to my project. It is located as wrote user6352438
here :
"Arduino IDE" -> File -> Examples -> Digital -> toneMelody
At the moment, the behavior of the screen, the rfid part (with correct and
incorrect Id) and the motor work. I am still debugging the led and the
sound which do not work.
I will also add a potentiometer to manage the contrast of the lcd screen (by
adjusting the voltage on the Pin V0 of the LCD screen).
Hope it helps. And thanks again!

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Nicefielder
3 years ago

Have you fixed it? I faced the same problem with LED and sound. I'm
also interested in getting a solution to integrate teh potentiometer.
1 thank

wergor
6 years ago

in terms of security, UID checks are pretty much the worst authentication
method. does anyone know libraries and / or hardware that support more
sophisticated methods?

yitno
5 years ago

Hi. I like your project, but where I can download libraries RFID.h and
"pitches.h", help me

Sven Hamelsveld
5 years ago

Hi, project looks great but like some others I can't get it to compile 😦
first it moans about the RFID.h and after that one it goes to the pitches.h
and then to the application.h....
Can you please provide instructions or a zip file with all the code needed to
get this up and running?
Tnx

marvinscott39
4 years ago

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
You can get the RFID.h library by clicking the link someone posted
above. The pitches library is found in your
"file>example>digital>Tonemelody." For you application.h i'm not too
sure but try looking and try to download the zip and include it to you
libraries too.
1 thank

wencybolante
5 years ago

Nice project, I have been looking for these kind of stuffs because I will
make one myself for my Capstone project, but mine is RFID based bus fare
system.

ameerulislam
5 years ago

I'm getting compiling error, I assume I need the library files. where do I get
them?

marvinscott39
4 years ago

I've made all my connections and this code I really just copied and pasted,
and included the RFID.h library. I'm getting an error hinting me about
"application.h" but I cant't find anything on GitHub, any advice here?

mihiruk
4 years ago

hiii ,
can anybody please tell me, how to get 5 digit RFID number. i have only 4

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
digit number, and code requests five digit, please tell me to solve this
problem
1 thank

Milos Rajtarov
4 years ago

where I can put my id card and pendant

antho1998
4 years ago

can any one give me a code for rfid em18 ttl reader module

Afiqro O-o
4 years ago

Help my lcd show weird words

Aqib
4 years ago

Learning from this project, i have created a series of RFID projects. I hope
you guys will like it.
Links to the articles are as follows
1- https://electronicshobbyists.com/rfid-basics-and-rfid-module-
interfacing-with-arduino/
2- https://electronicshobbyists.com/rfid-keypad-based-door-lock-using-
arduino/
3- https://electronicshobbyists.com/rfid-and-keypad-based-door-lock-
and-alert-system-using-arduino/
4- https://electronicshobbyists.com/rfid-based-access-control-system-
using-arduino/

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
5- https://electronicshobbyists.com/rfid-based-access-control-alert-
system-using-arduino/
6- https://electronicshobbyists.com/rfid-and-keypad-based-access-
control-system-using-arduino/
7- https://electronicshobbyists.com/rfid-keypad-based-access-control-
alert-system-using-arduino/

peach1970
4 years ago

i cant not figure out have look at your page you can email me at
[email protected] i am need help with it

sk010130
3 years ago

can i use 9v of battery to support in a month???? which power supply shall


i required to use for this system??

peterchiu2006
3 years ago

where can i get the library of this project?

3DNERDS
3 years ago

This project requires a ton of debugging so be prepared to spend some


time tweaking this

Isaac_

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
2 years ago

Can u post the fixed code?

supamegadude
2 years ago

I have some kind of error: exit status 1


error can you help?
1 thank

bijoenk
2 years ago

How is code to set that card only can be used for once in a day?

Perison
2 years ago

Thanks for this project.

ytgtft
2 years ago

i have error msg showing :


sketch_dec16a:64:10: fatal error: pitches.h: No such file or directory
#include "pitches.h"
^~~~~~~~~~~
compilation terminated.
exit status 1
pitches.h: No such file or directory
what should i do?

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
jaferalyasery
a year ago

good work , I like this

Antonio Musarra
6 months ago

Nice Project!
I recently accomplished something similar but using a Raspberry Pi and a
USB Smart Card Reader. You can see the source code on the GitHub
repository Smart Card Contactless Raspberry Pi -
https://github.com/amusarra/smartcard-contactless-raspberry-pi

AUTHOR

Robodia Technology 
2 PROJECTS 63 FOLLOWERS

FOLLOW

ADDITIONAL CONTRIBUTORS

Trouble shoot and testing the code by Tanay Rami

PUBLISHED ON

October 12, 2016

 RESPECT PROJECT

 WRITE A COMMENT

 Share

MEMBERS WHO RESPECT THIS PROJECT

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
and 180 others

SIMILAR PROJECTS YOU MIGHT LIKE

Security Access Using RFID Reader


by Aritro Mukherjee

472,840 VIEWS 71 COMMENTS 499 RESPECTS

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
RFID and Keypad Door lock and Alert System Using...
by Aqib

51,336 VIEWS 31 COMMENTS 122 RESPECTS

Android App-Based Home Automation System Using...


Project tutorial by Team Autoshack

74,384 VIEWS 23 COMMENTS 174 RESPECTS

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
74,384 VIEWS 23 COMMENTS 174 RESPECTS

RFID and Keypad Based Door Lock Using Arduino


by Aqib

39,471 VIEWS 24 COMMENTS 89 RESPECTS

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Ultrasonic Security System
Project tutorial by Ivan

84,118 VIEWS 52 COMMENTS 170 RESPECTS

Intelligent Door Lock


Project in progress by Md. Khairul Alam

37,531 VIEWS 27 COMMENTS 140 RESPECTS

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Powered by

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com

You might also like