Download Communicating with RFID Reader

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
CaRFID Project
Group 4
Günay Geyik
Aras Yurtman
İlker Fındık
Numan Emre Karagöz
Part 1
OVERALL PROJECT DESCRIPTION
Overall Project – Part 1
Antennas
RFID Reader 1
Server
RFID Reader 2
Overall Project – Part 2
Access Point 1
Server
Access Point 2
Part 2
COMMUNICATING WITH RFID
READER
Communication Methods
• Web interface
• Socket
communication using
– Command/Response
channel (Port 50007)
– Event Channel (Port
50008)
Communicating with RFID Reader
• We used Java driver for event-based
communication with RFID reader
• First initialize the device
• Then the device sends some information when an
event occurs
• Event types used: tag arrival, tag depart
• Each time an event occurs, we insert required
information to our database
– We record when which car enters to or exits from
which slot
Part 3
DATABASE
Database
• We used MySQL
• We constructed the database using SQL
“CREATE TABLE” statements
• We used JDBC to connect to the database
from Java
Database Structure
b_id
b_name
Buildings
priority
p_id
Near
p_name
academi
c
reader_n
o
antenna
_no
Reside
Parks
s_id
Slots
time_ent
ered
time_left
Parked
_Cars
model
d_id
name
surname
b_year
v_id
tag_id
color
make
year
Drivers
Drive
Vehicles
acade
mic_v
Example: Parked_Cars table
Slot ID
Vehicle ID
Arrival Time
Depart Time
1
3
10:00
11:00
1
4
11:05
NULL
2
3
13:30
15:30
2
1
16:30
17:30
Slot 1 is full
Slot 2 is empty
• We can check Depart Time field to understand
whether a slot is currently full or not
• Since we know which car park each slot belongs to
and total number of car slots, we can find out the
number of free slots in a car park.
Work to be done next
• To design a GUI for database operations on
the server
• To design a GUI for PDA application
• To design a protocol between the server and
PDAs