Hello all,
I’ve just received a GHI RFID module and it works like a charm once connected with a Spider Board
I was wondering if it will be possible to modifiy the reader behaviour so that it sends continuous data when the rfid car is near.
What I would need is the possibility to read the tag whed the rfid card is positioned over the reader and also the possibility to intercept when the card is removed from over the reader.
The driver code is as follows. GHI could easily make the cardID a public property which you could then poll to detect when the card enters & leaves the range. You could do the same in the interim if you wish by downloading their driver code here:
@ ianlee74 - Unfortunately, that will not work as planned. The read thread only begins to build a string when data is received on the serial port. Once a full ID has been read, the event is fired and the string is cleared. Our module will only write to the serial port when a new ID card has been put into its proximity.
@ ianlee: I’ve stepped into the driver code and it blocks until the serial receives data, as Steven says…
@ steven: was wondering if it will be possible to modify the sensor firmware
And then add a public method ReadTags() to the driver that we can poll with a timer.
@ justin: where can we read more infos on your reader?