Hitag 2 RFID help
Posted: Sat Jun 25, 2011 8:03 am
Hi everyone...
Im struggling with the rfid a little and was hoping someone could give me some guidance...
The module I am using is : http://docs-europe.electrocomponents.co ... 813104.pdf
Pic16F877A
I've gone through the examples and cant seem to make heads or tails out of it as i cant get it to work with my module...
I want to bit bang and not use the UART Rx and Tx as it is already being used for PC communications...
Could someone show me how to do it please and explain how and why is was done so I can understand it and be able to apply it to future projects?
Also, where would I find the information on what each command under rfid does?
Read UID
Read block
read buffer
Write etc...
Not sure what each one is doing exactly...
Using Hitag 2 in password mode, Please tell me if this is correct?
I must read buffer to get tag password
write buffer to reply with reader password
read block to see data on card?
Also, I was able to make a small program to read a 4001 tag with just it's ID using read buffer and then display it on a screen...
The problem is that when I put another tag over reader it still shows me the original tags ID? I must reprogram the system and shut it down to get it to read each new tag ID?
I assume this is due to the module reading the tag and keeping that data in it' own buffer and I simply read it over and over, how would I clear the modules buffer so it can pick up the new tags ID?
If someone could explain how flowcode is communicating with the chip, then I might be able to understand what is going on...
Thanks
Clauds
Im struggling with the rfid a little and was hoping someone could give me some guidance...
The module I am using is : http://docs-europe.electrocomponents.co ... 813104.pdf
Pic16F877A
I've gone through the examples and cant seem to make heads or tails out of it as i cant get it to work with my module...
I want to bit bang and not use the UART Rx and Tx as it is already being used for PC communications...
Could someone show me how to do it please and explain how and why is was done so I can understand it and be able to apply it to future projects?
Also, where would I find the information on what each command under rfid does?
Read UID
Read block
read buffer
Write etc...
Not sure what each one is doing exactly...
Using Hitag 2 in password mode, Please tell me if this is correct?
I must read buffer to get tag password
write buffer to reply with reader password
read block to see data on card?
Also, I was able to make a small program to read a 4001 tag with just it's ID using read buffer and then display it on a screen...
The problem is that when I put another tag over reader it still shows me the original tags ID? I must reprogram the system and shut it down to get it to read each new tag ID?
I assume this is due to the module reading the tag and keeping that data in it' own buffer and I simply read it over and over, how would I clear the modules buffer so it can pick up the new tags ID?
If someone could explain how flowcode is communicating with the chip, then I might be able to understand what is going on...
Thanks
Clauds