Manual RFID FastTagReader
Manual RFID FastTagReader
A . Aim
B. Concept
C. Components
D. Connections
Build a RFID Fast Tag Reader that registers RFID card data, processes
it, create actions, publishes the data to an online dashboard.
B. CONCEPT
In this project, we mimic the working of a fast tag reader which reads
RFID card data and operates the boom barrier in toll gates. Here we
read RFID cards , verifies it with the registry in the memory,
open/closes the gate and finally sent the data to online dashboard.
The RFID card data is read by ‘RFID card reader’, the data is stored in
the ‘flash memory’ of dexter board since it needs to be accessed later.
‘LCD display’ is used to display status of each steps in the process. The
data regarding the number of cards, entries permitted/ not permitted is
sent to an online dashboard with the help of a ‘GSM SIM
module’. ‘thingspeak’ is the web dashboard we use here for the
purpose.
1. Dexter board
2. RFID Card Reader
3. GSM Module
4. Servo Motor
5. 16*2 LCD Display
6. Jumper wires
7. USB cables
8. USB to TTL converter (Component to execute extra activities
in the project. Procure externally if not available in the kit,
CP2102(6-pin) USB 2.0 to TTL UART serial converter )
Circuit Diagram
Step 1
Take 3 female-to-male jumper wires and connect the pins of the RFID
card reader as shown:
Step 3
Step 4
Take 2 male to male jumper wires and connect the register button as
shown below :
• One terminal of register button to blue line of the
breadboard.
• Second terminal to the PA0 of the dexter board.
Take 2 more male to male jumper wires and connect the erase button
as shown below :
• One terminal of the erase button to the blue line of the
breadboard.
• Second terminal to the PA4 of the dexter board
Take 1 male to male jumper wires and connect the V0 of LCD display
and GND of dexter boards as below :
• V0 (contrast control) to the blue line of the breadboard
LCD (Liquid Crystal Display) is a type of flat panel display which uses
liquid crystals for displaying information. It consists an array of small
segments called pixels, which can be manipulated for displaying status
or parameters.
A 16*2 LCD display can display 16 characters or numbers in column
wise and 2 in row wise.
1. GND (VSS)
Connect the ground pin of the power supply to this pin.
2. VCC (VDD)
Connect this pin to 5v
3. Contrast (VEE)(V0)
This pin is used to adjust the contrast of Display.
Connect a potentiometer (POT) to this pin. Rotate the
knob of the POT to adjust the contrast.
4. RS
RS pin means Register select pin. Selects command
register when the pin is LOW. Selects data register when
this pin is HIGH. Command register and data registers
are used to send LCD command and data to LCD
5. RW
It represents the Read Write pin. When this pin is LOW, the
MCU write to register. And when the pin is HIGH, MCU
Note:
There are two different modes of operation of LCD which can be
controlled by our Control Pins.
The LCD can work in two different modes, namely the 4-bit mode and
the 8-bit mode. In 4 bit mode we send the data nibble by nibble, first
upper nibble and then lower nibble. (nibble is a group of four bits), so
the lower four bits (D0-D3) of a byte form the lower nibble while the
upper four bits (D4-D7) of a byte form the higher nibble. This will help
us to send 8 bit data.
Whereas in 8 bit mode we can send the 8-bit data directly in one
stroke since we use all the 8 data lines.
8-bit mode is faster than 4-bit mode of data transfer. But we will run
out of I/O pins on our MCU, so 4-bit mode is widely used
For example:
lcd_put_cur(1, 15);
This function puts the character at 2nd row and 16 column of the
lcd display, after which we can write the character in that
position
5. HAL_Delay(50)
Creates a delay in milliseconds
Activities
1.Write ‘IIT MRP’ on 1st row and ‘Build Club’ on 2nd row
2. Write a text to display your name in first row, college name in
second row. Clear the display after a delay. Again write ‘IIT MRP’ and
‘Build Club’. Write these texts in a loop so that it displays
continuously.
1. set_servo_angle()
This model of DC servo SG90 can rotate from 0 –180
degrees. The command rotates the servo the particular angle.
For example:
set_servo_angle(x)
;for x degrees of rotation
Activities
For example)
Type ATD9976390289
This ‘9976390289’ will be the phone number
Note : Use SIM that supports GSM network with messaging balance
NOTE: Before getting into the software for the project please go
through the Concept section at the start of the manual, where we
explain how this project works.
The flowchart diagram represents the flow of the RFID Reader project.
Along with the flowchart the program part can be easily
implemented.
1. lcd_initialise()
4. check_entry()
5. regis_flag
This is a flag register that checks and tells whether a new card
needs to be registered to the memory. It is connected to a push
button to receive user input to add a new RFID card
6. erase_flag
7. register_newcard()
8. erase_cardmem()
Erases the complete card data stored in the flash memory.
The status is shown in the LCD Display
while(1)
{
// Rest of code
}
Configuration steps
4. Name the channel as you may prefer like RFID. Tick the
fields Field1,Field2,Field3,Field4 since we intent to fill the
fields with following data
Field1=No of ID’s registered
Field2= Total no. of times card entries
Field3 = Total no. of access granted
Field4 = Total no. of access denied
Task