Shop OBEX P1 Docs P2 Docs Learn Events
RFID Read/Write Module - I'll send you hardware; you'll post a Propeller object — Parallax Forums

RFID Read/Write Module - I'll send you hardware; you'll post a Propeller object

Ken GraceyKen Gracey Posts: 7,392
edited 2014-01-19 11:07 in Propeller 1
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.

Comments

  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-07-14 23:28
    I'll step up to this challenge.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Feature Projects: PropellerPowered.com
    Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
  • TinkersALotTinkersALot Posts: 535
    edited 2010-07-14 23:41
    I'll give that a whirl. This little baby looks like it will go right along with the system I am working on centered around rfid. Plus I have an rfid project wired up on my PPDB already...
  • hover1hover1 Posts: 1,929
    edited 2010-07-14 23:42
    Ken, just wanted to nudge, not knock at the bee's nest [noparse]:)[/noparse]

    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 GraceyKen Gracey Posts: 7,392
    edited 2010-07-14 23:43
    Okay guys! Please confirm your request by e-mail to kgracey@parallax.com. I realize I already have your addresses, but the e-mail with your name will be the queue for Jim Carey's team to do their job.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ken Gracey
    Parallax Inc.

    Follow me at http://twitter.com/ParallaxKen for some insider news.
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2010-07-14 23:45
    @hover1. I agree and will send a unit to Bean since you're on the road somewhere. We have neglected to recognize PropBASIC and it's an important tool for all of us.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ken Gracey
    Parallax Inc.

    Follow me at http://twitter.com/ParallaxKen for some insider news.
  • BeanBean Posts: 8,129
    edited 2010-07-15 00:01
    Thanks Ken.
    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
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2010-07-15 20:55
    Hello everybody, just a quick note to let you know I've got four (4) forum members working on this request, so we shall have several source code examples to choose from very soon. We'll be sure to see that the favorite one is posted.

    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.
  • $WMc%$WMc% Posts: 1,884
    edited 2010-07-17 03:30
    Ken Gracey

    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 GraceyKen Gracey Posts: 7,392
    edited 2010-07-17 04:01
    Yep Walter - you are the fifth coder.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ken Gracey
    Parallax Inc.

    Follow me at http://twitter.com/ParallaxKen for some insider news.
  • $WMc%$WMc% Posts: 1,884
    edited 2010-07-17 05:02
    Ken Gracey

    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.

    ·
  • BeanBean Posts: 8,129
    edited 2010-07-22 13:49
    Here is my PropBasic demo.

    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
  • BeanBean Posts: 8,129
    edited 2010-07-23 12:33
    Okay, Here is a nice PropBasic library for the RFID module. And a demo program that uses it.

    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]
  • p00ndawgp00ndawg Posts: 70
    edited 2010-07-23 16:51
    This is interesting. I recently interfaced this RFID reader with the prop chip:

    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.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-07-27 02:29
    This is mostly posted to bump this thread since several of these were sent out...

    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
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-07-27 04:00
    I *think* I've got the bugs worked out of my basic spin demo.

    @Ken, Have I met qualification yet? [noparse]:)[/noparse]

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Feature Projects: PropellerPowered.com
    Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
  • TinkersALotTinkersALot Posts: 535
    edited 2010-07-27 04:20
    Hey, OBC. Thank you! I see something in your contribution that may get me over a hump I've had in my progress. I'll integrate some of your ideas into the one I've been working on.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-07-27 05:04
    Collaborative project! Yea!

    (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.
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2010-07-27 13:51
    Wow - Bean and OBC have followed up on their promise, and I suspect that TinkersALot and $WmC% are not too far behind.

    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.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-08-04 14:58
    @Tinkers

    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.
  • TinkersALotTinkersALot Posts: 535
    edited 2010-08-06 00:57
    Found and squished a hard to locate bug (that was in the card write data driver function).
    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.
  • TinkersALotTinkersALot Posts: 535
    edited 2010-08-06 16:18
    My driver/sample has been posted to OBEX
  • NWCCTVNWCCTV Posts: 3,629
    edited 2014-01-18 22:26
    Am I missing something somewhere? I only see one file in the OBEX for the RFID Reader/Writer. It looks like more were being worked on but were they all combined or what?
  • TinkersALotTinkersALot Posts: 535
    edited 2014-01-19 10:22
    It looks like there may be more there. Try this :

    http://obex.parallax.com/search/RFID
  • NWCCTVNWCCTV Posts: 3,629
    edited 2014-01-19 11:07
    Yes, I did that. I am trying the Read/Write that you posted but it is not working. Full explanation on Wireless thread. I was hoping to find more R/W instead of just Read.
Sign In or Register to comment.