how synchronize with rfid reader


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    5

    Default how synchronize with rfid reader

    i have rfid reader module sending serial data 8n1 9600 baud at TTL format
    and transmits 7 byte with one second cycle
    i used serin2 and serin commads and received data and displayed them on display without synchronization data is changing and floats even it reads same tag
    at proteus a make coomunication by simulating rfid reader as a pic628 sending 7 byte data like reader and
    i will use hserin command
    how can i synchronize pic877a with rfid reader which command must be used
    at this kind of communication

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    I must be silly, sort of, but I read your post again and again, I try to understand, I just can't

    We will need more information, Is this more a ISIS problem or Code problem here?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Apr 2009
    Posts
    5

    Default

    not isis problem
    it is code problem
    how can i communicate pic16f877 with rfid reader module which sending data 8n1 9600 baud at ttl format

    which command of picbasic must be used to receive this kind of data ?

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    For the receiver
    SERIN/DEBUGIN/SERIN2/HSERIN would work. Also possible and recommended to use USART interrupt to allow to do something else while there's no incoming data.

    For the transmitter
    SEROUT/DEBUG/SEROUT2/HSEROUT
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Apr 2009
    Posts
    5

    Default

    i can receive data and show them on display
    but i cant receive correct data
    (i must receive $00,$05,$01,$1A,$01,$2F,$55)
    and codes on the display changing and floating even i read same rfid tag
    i know these serial commands i use them but i dont know how to organize them to receive bytes 8n1 9600 at ttl format

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    HSERIN [HEX2 VAR1, HEX2 VAR2, and so on]
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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. Replies: 3
    Last Post: - 12th March 2008, 05:33
  3. parallax rfid reader module interface with PC
    By jonil22 in forum Off Topic
    Replies: 2
    Last Post: - 3rd February 2008, 06:54
  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