applying RFID in secured system

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.

Moderators: Benj, Mods

Post Reply
User avatar
misoct
Posts: 64
Joined: Sat Sep 04, 2010 11:03 pm
Location: Egypt
Has thanked: 8 times
Been thanked: 17 times
Contact:

applying RFID in secured system

Post by misoct »

applying RFID in secured system

Flow chart and C# description
Flowcode program start with enable the LCD,RFID and USB components .with starting the program and entering a while loop with at the beginning the Check for transponder UID where this macro enable to read the UID of the tags and print this on lcd .after acquire the UID the decision was taken according to the number of UID of each tag an output on A0 from port A of ECIO which related to relay that control the electric locker of a door other that the program flow in the direction of send through the usb a number “123456789” which treated by a C# program until acquiring the UID one of the tags according to one of them the usb components send a string “Ahmed” or” Mamoon” respectively with a conjunction of the C# Program that will open a new window designed to show a data base of collection of person here in our program two client
Software Loader is a private dependant Software that depends on our RFID Hardware. Actually, as an algorithmic description, on software load Functionality the software gets all Available Serial port communication ports and list it in a combox list beside Preparing them for usage which is a click on the name of the port to connect.
The second step in software load process, Software Loader check out a configuration file generated before by the program or will be generated if the Software Loader is running for the first time.
the configuration file mainly Generated to complete preparation process for an efficient executable running; Not to mention the fact, the file contains the Paths for each card Identification. if the software detect that one of the paths is inactive or unreachable, Software Loader will ask user to use Opening File Dialog facilities & Functions to select a new file with new path.
Finally in software Loader load function, the virtual serial port communication waiting Function Runs to accept & receive the sent bytes as string from the hardware.

In the GUI phase, we have a connect Button. this simple button works on two issues, the first one refresh the serial port Available COM ports to make sure if any changes happen in Hardware Plugging, and the second issue is auto search the connection port.
Auto search the connection port is working on a complex loop which uses the waiting function of serial port communication to pass on all available ports then check if this port can open or not & if can open the application do the second event which is an inside checker checks if there is data sent from the focused port; besides, active a time out function, if the time is out and no data received contains the key specified by the hardware the program skips the port and go to the next port & if the key is received, the COM name will appear on the GUI; in addition, the port is defiantly keep opened for a new receiving operation.
finally comes the Card Identification detection Functionality, after selecting the COM port From available COMs via Combo Box or Running auto detection Function via Connect Button, the program start receiving the key from the RFID Hardware, then just On passing the card on the hardware, the hardware send the Identification string;on the other face of the coin, the Software Loader receive a new string differ from the key string, then the Program checks if this ID is Stored at the Configuration File, if found then the green light flashes slowly then the software load the saved path and Invoke the running operation of the File and if the Received Id doesn't match one of the Stored Ids in the Configuration File then the red light in the software flashes frequently to show error ("Unfound").
Image
Image
Image
Image
Image
Image

Finally, Software Loader Closing Functionality is releasing all used resources & Dispose all used Objects in each class.

The video :

http://www.youtube.com/watch?feature=pl ... 7v3-vjYR3s

all related files and video :
http://rapidshare.com/files/448062705/rfid.rar
Attachments
SoftwareLoader.zip
(199.13 KiB) Downloaded 738 times
rfiduid.fcf
(11.5 KiB) Downloaded 622 times

singhdeol
Posts: 30
Joined: Sat Dec 18, 2010 6:07 am
Has thanked: 6 times
Been thanked: 2 times
Contact:

Re: applying RFID in secured system

Post by singhdeol »

thx for the post intresting article

User avatar
misoct
Posts: 64
Joined: Sat Sep 04, 2010 11:03 pm
Location: Egypt
Has thanked: 8 times
Been thanked: 17 times
Contact:

Re: applying RFID in secured system

Post by misoct »

welcome.... :P

User avatar
misoct
Posts: 64
Joined: Sat Sep 04, 2010 11:03 pm
Location: Egypt
Has thanked: 8 times
Been thanked: 17 times
Contact:

Re: applying RFID in secured system

Post by misoct »

Dear all
can some one tell me how to get my free product from matrixmultimedia ?
thanks
Image

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: applying RFID in secured system

Post by JohnCrow »

Hi misoct
Steve sent me an email last Monday asking me to contact sales with a list of the items I would like.
Has Matrix got your current email, if not suggest you PM Steve with you contact details
1 in 10 people understand binary, the other one doesn't !

User avatar
Steve
Matrix Staff
Posts: 3421
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: applying RFID in secured system

Post by Steve »

Yes - I sent the original email to your old address. You should have received it now.

Post Reply