RFID Read/Write Module keys readable by regular RFID
Bobb Fwed
Posts: 1,119
So I see the new RFID Read/Write Module which is cool (and I like the black solder mask)!
I am curious about a couple things. Is the unique ID on the R/W card readable by the standard Read-only RFID Module? What about the writable area on the new card, is there any way the information can be read with the old module?
If either is "No", I would find it quite useful for me and our company to have a read-only module that could read the above information. Also the 9600 baud (or selectively/programmatically faster) is a welcome feature.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!
Some of my objects:
MCP3X0X ADC Driver - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library - Don't allow strings to be the bane of the Propeller, bend them to your will!
Fast Inter-Propeller Comm - Fast communication between two propellers (1.37MB/s @100MHz)!
I am curious about a couple things. Is the unique ID on the R/W card readable by the standard Read-only RFID Module? What about the writable area on the new card, is there any way the information can be read with the old module?
If either is "No", I would find it quite useful for me and our company to have a read-only module that could read the above information. Also the 9600 baud (or selectively/programmatically faster) is a welcome feature.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!
Some of my objects:
MCP3X0X ADC Driver - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library - Don't allow strings to be the bane of the Propeller, bend them to your will!
Fast Inter-Propeller Comm - Fast communication between two propellers (1.37MB/s @100MHz)!
Comments
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Parallax Tech Support·
The RFID Read Only Module cannot read the unique ID (or any other information) from the RFID R/W tags. The information is stored differently on the tag.
However, the new RFID R/W Module CAN read the unique ID from existing RFID Read-Only tags using a legacy command (see the manual for more information).
It sounds like for your application (wanting to read information/data stored on the R/W tag), you might be better off trying the new RFID R/W Module (e.g,. using one unit to program the desired data and then using other units to simply read that information)
Hope that helps!
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
Joe Grand
Grand Idea Studio, Inc.
Designer of the Parallax Emic Text-to-Speech, RFID, and GPS modules
(Just to say I stored it on an RFID card. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Feature Projects: PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
postal code NNNNN-NNNN
the track data off your drivers license (assuming you have a mag card reader handy)
datetime YYYY-MM-DD-HH-MM-SS.sss
an animal's name / license number
drivers license number
a foreign key to a record in another system that has meaning
....all kinds of stuff....
the connection are as follow...
5V to VCC
0V to Ground
Pin7 to SIN
PIN9 to SOUT
............................................
here is the code that i am using to write data on tags.....
#include <SoftwareSerial.h>
#define RFID_WRITE 0x02
#define txPin 7
#define rxPin 9
#define whichSpace 4
#define first 76
#define second 12
#define third 21
#define fourth 23
SoftwareSerial mySerial(rxPin, txPin);
void setup()
{
Serial.begin(9600);
Serial.println("RFID Write Test");
mySerial.begin(9600);
pinMode(txPin, OUTPUT);
pinMode(rxPin, INPUT);
}
void suppressAll() //Keeps error code & the "write confirmation" codes from being printed in the serial monitor
{
if(mySerial.available() > 0)
{ mySerial.read();
suppressAll();
}
}
void loop()
{
int val;
mySerial.print("!RW");
mySerial.write(byte(RFID_WRITE));
mySerial.write(byte(whichSpace));
mySerial.write(byte(first));
mySerial.write(byte(second));
mySerial.write(byte(third));
mySerial.write(byte(fourth));
if(mySerial.available() > 0) {
val = mySerial.read();
Serial.println("the tag is:");
if (val == 1) //If data was written successfully
{ Serial.println("Data written succesfully!");
}
else Serial.println("error"); //If an error occured during writing, discard all data recieved from the RFID writer
}
delay(5000);
}
///////////////////////////////////////////////////////
the output of this code is
RFID Write Test"
the tag is.
error
the tag is.
error
///////////////////////////////////////////////////
i think the val = mySerial.read();is not workin because the output only shows the
Serial.println("the tag is:"); and jumps to Serial.println("error");
seems that the condition
if (val == 1) //If data was written successfully
{ Serial.println("Data written succesfully!");
}
the val value is not equal to 1 so it jumps to the else condition...
can anyone help me to pin point what is wrong with the code or any revision to make it work....? thanks in avdance....................