top of page

RFID tagging system using Arduino

Updated: May 22


In this project we will learn how to use an Arduino to create an RFID tagging system using RC522 module. We will also learn to integrate various other parts such as I2C, LCD, LEDs, Servo motor, Buzzer etc., in order to create an automatic door lock system. We use an SPI (Serial Peripheral Interface) connection. It is a synchronous serial data protocol used by microcontroller for communicating with peripheral devices.


Hardware requirements:


Arduino UNO:


Arduino UNO
Arduino UNO

The Arduino is a programmable #microcontroller, it's an open-source electronics proto-type platform. It interacts with the user by receiving input with the aid of sensors and provides the output employing LED, buzzer, etc.,


In order to know more about the Arduino UNO, refer to this article.


RFID-RC522:

RFID-RC522
RFID-RC522

The RC522 is a 13.56MHz RFID module. The module supports I2C, SPI and UART. The module operates at 3.3V typically and hence it is commonly used in 3.3V designs. It is used in applications involving identification of a person/object with a unique ID. It can both read and write data into the memory elements.


Breadboard:

Breadboard
Breadboard

A breadboard is a flat piece of wood that is provided with holes that allow users to build a circuit including the components and connections without the need for soldering due to which it is reusable and finds its best usage for the students who are new to build circuits. The holes in any horizontal line will be in series whereas the vertical holes remain at an equipotential state. There are different sizes of breadboards available in the market which include "full size", "half size" and, "mini size" breadboards.


Buzzer:

Buzzer
Buzzer

The Buzzer is an audio signaling device, in this case when it detects an object, the buzzer gives a beep sound.


Connecting wires
Connecting wires

Connecting wires are used to establish connections between different components in the circuit.


Resistors:

220 ohm resistors
220 ohm resistors

Resistor as the name signifies, opposes the flow of electrons. The Resistor is a passive element and has two terminals. They are basically used to monitor the current flow and also as voltage dividers. The #resistor that we would use in this circuit is a 220 ohm resistor and the color code for this resistor is Red, Red, Brown & Gold.


Servo motor:

Servo motor
Servo motor

A #servomotor is a rotary or linear actuator that allows for precise control of angular or linear position, velocity, and acceleration. A servomotor is a closed-loop servomechanism that uses position feedback to control its motion and final position.


16*2 LCD:

16*2 LCD
16*2 LCD

LCD- Liquid Crystal Display is an electronic module that uses liquid crystal to produce a visible image. It is the basic module that is generally used in DIY and circuits. The display segments are affordable and simply programmable.


LED's:

LED's
LED's

LED is a semiconductor light source that emits light when a current passes through it. Electrons in the semiconductor combine with holes by passing through the gap which inturns release energy in the form of photons.


Software requirements:


Arduino IDE:

Arduino IDE logo
Arduino IDE logo

The Arduino Integrated Development Environment (IDE) is a cross-platform application (for Windows, macOS, Linux) that is written in functions from C and C++. It is used to write and upload programs to Arduino compatible boards, but also, with the help of third-party cores, other vendor development boards.


Circuit Connection and its Working:



The circuit connection involves the following steps:

  • The ground pin of the Arduino is connected to the ground pin of the RFID-RC522.

  • 3.3V pin of the Arduino is connected to Vcc of the RFID module.

  • The Reset pin goes to digital pin 9 of the Arduino.

  • The MISO pin goes to pin 12 of the Arduino.

  • The MOSI pin goes to pin 11 of the Arduino.

  • The SCK pin goes to pin 13 of the Arduino.

  • The SDA pin goes to pin 10 of the Arduino.

Code :



Learn How to build an RFID Tagging system using an Arduino UNO board and a 16*2 LCD display.


Download Libraries -


Link for MFRC522 library

https://github.com/miguelbalboa/rfid

Link for I2C LCD library


Video By - Aishwarya Balajee and edited by Neha Patil




 

See also:






















Follow us -


Please do follow us i.e #learnelectronicsindia to get daily updates about new blogs, videos, courses, quizzes and contests.



Content Written by-


Name - Kiranmai Chigurupati

Portfolio Link - click here

113 views2 comments

Related Posts

See All
bottom of page