Rfid Reader


Closed Thread
Results 1 to 6 of 6

Thread: Rfid Reader

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382

    Thumbs up

    The BS1 code:
    SERIN Rx, T2400,($0A)
    SERIN Rx, T2400, tag0, tag1, tag2, tag3, tag4
    SERIN RX, T2400, tag5, tag6, tag7, tag8, tag9

    I read through the datasheet and here is how I would do it in PICBasic:

    tag var BYTE[10] ' Creates a byte array of 10 bytes

    SERIN Rx, N2400,[WAIT ($0A),STR tag\10\$0D]

    The above will wait for $0A then recieve either 10 bytes of data or stop once it recieves $0D, which ever comes first.

    This should work great and same you tons of code space. Enjoy.
    Last edited by DynamoBen; - 9th March 2006 at 00:50.

Similar Threads

  1. Parallax RFID Reader code example
    By dan-tron in forum Code Examples
    Replies: 4
    Last Post: - 19th April 2013, 22:16
  2. how synchronize with rfid reader
    By karellen in forum Serial
    Replies: 9
    Last Post: - 6th December 2009, 15:13
  3. Replies: 3
    Last Post: - 12th March 2008, 05:33
  4. Parallx rfid reader module interface with PC
    By jonil22 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st January 2008, 08:50
  5. Serial interface with RFID reader
    By brid0030 in forum Serial
    Replies: 8
    Last Post: - 23rd January 2007, 06:23

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts