Working with the Parallax RFID read/write module
4x5n
Posts: 745
I bought a RFID read/write module a while ago and managed to forget to buy any cards to use with it. Now I got some cards and am trying to make sense out of how to work with it. I've read the documentation for it online and have tried to make sense out of the programs for using them in the docs, the forum and obex.
What's got me stuck is my understanding of how the reads and writes work. For example if I send a command to read the card will it cause to "activate" the module and then wait for a card to brought near to read or does it try to read and then return a status code right away?
I think I need to spend a lot of time playing with it and put it through it's paces. :-)
What's got me stuck is my understanding of how the reads and writes work. For example if I send a command to read the card will it cause to "activate" the module and then wait for a card to brought near to read or does it try to read and then return a status code right away?
I think I need to spend a lot of time playing with it and put it through it's paces. :-)
Comments
According to the manual.
Although my ultimate goal is to use it with a custom (to be tried later) PC with an SX28. I do have PPDB, a basic stamp and free time coming up with a couple of days off for Christmas. I'll try the code for the basic stamp with debug code added to let me know what's going on with the read loop. If there's interest I'll post the results here. Was hoping that others here with experience with the RFID module would be able to help.
See the demo source code.
http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/rfid/List/0/SortField/4/ProductID/688/Default.aspx
I was feeling to lazy to enter the entire program included with the PDF for the module. As it turns out the module doesn't wait at all and if a card isn't nearby to read it returns the return code of 0x02 (ERR_LIW).