RFID Read/Write Module - I'll send you hardware; you'll post a Propeller object
Ken Gracey
Posts: 7,392
Hey there,
As hover1 noted we've not released any Propeller code for this key product. Therefore I invite you (err, depend on you?) to provide some assistance in this regard.
Parallax will send out five (5) RFID Read/Write Modules with two (2) tags each to five qualified coders who make the request to me by e-mail kgracey@parallax.com. We will choose one or two of the objects and ask you to post it on the forums.
Some simple guidelines for your object:
1. Incorporate applicable quality objects (with high ratings or universal acceptance, such as FullDuplexSerial) without modifications.
2. Author a very simple object using PST to prove the RFID Read/Write module's basic function and communication with the Propeller. Can it read tags?
3. Provide a more advanced example where you can use PST to write bytes to the RFID card's memory, and show how to write them from the Propeller without PST.
4. PST is required. Video is optional, but would also be nice.
And we'd want to complete this within ten days.
Any takers?
Anybody wish to improve upon the four coding suggestions I made above?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken Gracey
Parallax Inc.
Follow me at http://twitter.com/ParallaxKen for some insider news.
As hover1 noted we've not released any Propeller code for this key product. Therefore I invite you (err, depend on you?) to provide some assistance in this regard.
Parallax will send out five (5) RFID Read/Write Modules with two (2) tags each to five qualified coders who make the request to me by e-mail kgracey@parallax.com. We will choose one or two of the objects and ask you to post it on the forums.
Some simple guidelines for your object:
1. Incorporate applicable quality objects (with high ratings or universal acceptance, such as FullDuplexSerial) without modifications.
2. Author a very simple object using PST to prove the RFID Read/Write module's basic function and communication with the Propeller. Can it read tags?
3. Provide a more advanced example where you can use PST to write bytes to the RFID card's memory, and show how to write them from the Propeller without PST.
4. PST is required. Video is optional, but would also be nice.
And we'd want to complete this within ten days.
Any takers?
Anybody wish to improve upon the four coding suggestions I made above?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken Gracey
Parallax Inc.
Follow me at http://twitter.com/ParallaxKen for some insider news.
Comments
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Feature Projects: PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
I would love to do some code for the new product. I'm traveling and the product would not find me for about a week. [noparse]:)[/noparse]
My first thought was, when I saw there was only BS2 support; this would be a great product to use Bean's PBasic. There may be also be a BS2_Functions.spin conversion. This sounds like a good article. Hmmmm.
Jim
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken Gracey
Parallax Inc.
Follow me at http://twitter.com/ParallaxKen for some insider news.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken Gracey
Parallax Inc.
Follow me at http://twitter.com/ParallaxKen for some insider news.
E-mail sent.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
NEW PropBasic Blog: http://propbasic.blogspot.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
Post Edited (Bean) : 7/15/2010 12:31:23 AM GMT
Thanks to everybody who volunteered to write code for this product.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken Gracey
Parallax Inc.
Follow me at http://twitter.com/ParallaxKen for some insider news.
I sent you a PM. Maybe I made the 5th RFID set!!!!!
Like I said in my PM, The code will be in PropBasic.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
want speed?·want·to use the Propeller?·want to stay with BASIC___www.propbasic.com___
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken Gracey
Parallax Inc.
Follow me at http://twitter.com/ParallaxKen for some insider news.
This is really cool!----I wont let you down.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
want speed?·want·to use the Propeller?·want to stay with BASIC___www.propbasic.com___
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.
·
It scans for a card, displays it's data, then let's you type in a string that gets stored on the RFID card.
Feedback welcomed.
This is just a demo program. I will create a nice RFIDRW.LIB file soon.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
NEW PropBasic Blog: http://propbasic.blogspot.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
Post Edited (Bean) : 7/22/2010 1:59:28 PM GMT
To make life simple, the library reads and writes the whole tag as one operation.
The demo program will read legacy tags too.
Feedback welcome.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
NEW PropBasic Blog: http://propbasic.blogspot.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
http://www.robotshop.ca/apsx-rw-310-rfid-reader-writer-module-ttl-1.html
I got it reading tags which was very easy and but I havent attempted writing to the cards.
Anyone else working on this yet?
Here's some unfinished code to get folks motivated..
Updated: a few more commands seem to work:
Read_Tag, Read_Tag_Legacy_Number, Write_Tag, Read_Entire_Memory_Contents [noparse]:)[/noparse]
Last edit for the night, just a little code cleanup. 11:50pm
These are pretty cool and easy to work with. Thanks Ken.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Feature Projects: PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
Post Edited (Oldbitcollector) : 7/27/2010 4:00:08 AM GMT
@Ken, Have I met qualification yet? [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Feature Projects: PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
(Make sure you re-download it, as I found a serious bug that I think is smashed now.)
We get three more brains on this and we'll have the top object when we are done!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Feature Projects: PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
Both code examples from OBC and Bean appear understandable, too. Thanks to the two of you for doing a fine job!
Please post both of your examples to OBEX so others could access them.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken Gracey
Parallax Inc.
Follow me at http://twitter.com/ParallaxKen for some insider news.
I've started going cross-eyed trying to find the glitch.. Have you had further success with this?
@$WmC%
... crickets chirping ...
@Bean
Before I post something to OBEX can you confirm that my output is correct?
Thanks!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Feature Projects: PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
That being my last major bug, this is is my submission for consideration as an obex object
for the RFID reader/writer.
This "tester" has a "command console" driven by PST I/O (via fullduplex serial)
that accepts command keys from the PST.
Based on the character input, control will be switched to test a specific
function in the driver. The keys that test of these functions is shown in
the list below.
Everything is debugged now and works as defined below.
Each function is tested by entering a specific key on the PST as follows:
Z = test serial number read of legacy card read···················· -- works
S = read new style card serial number······························ -- works
C = try to logon to card
··· (follow the prompts to enter 4 DIGITS password)················ -- works
D = read all card data············································· -- works
W = write data to card············································· -- works
P = change the card password
··· (follow the prompts to enter 4 DIGITS for old and new password) -- works
R = Reset the card················································· -- works
U = Unlock the card················································ -- fails
L = Lock the card·················································· -- fails
·
I don't think I am using the card unlock and lock feature correctly. These are
a pair of simple commands,·and I can see nothing·wrong in the code. I'm wondering
if these have to be sent right along with a card logon command in order to
work properly?
Fun project. Learned more than a few things doing it.
http://obex.parallax.com/search/RFID