Saving RFID Data


Closed Thread
Results 1 to 27 of 27

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Thank You Mister_e

    The RFID Data will be stored on the 24C and then Send trough GPRS Transmitter to Central Unit.

    If all is ok the data will be Erased.

    And I have again free space for new data.

    Regards Pesti

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Ok

    All work fine now but :-)

    I receive the data from rfid reader in ascii i use to receive data on the pic this:

    Serin2 PortD.0,84,[Wait("E0") ,Daten[6],Daten[5],Daten[4],Daten[3],Daten[2],Daten[1],Daten[0]]

    Daten[7] = $E0

    but when I send to pc and to LCD with this

    HSEROUT [hex2 Daten[7],hex2 Daten[6],hex2 Daten[5],hex2 Daten[4],hex2 Daten[3],hex2 Daten[2],hex2 Daten[1],hex2 Daten[0],13,10]

    Lcdout $fe,$80,hex2 Daten[7],hex2 Daten[6],hex2 Daten[5],hex2 Daten[4],hex2 Daten[3],hex2 Daten[2],hex2 Daten[1],hex2 Daten[0]

    I receive on the PC and on the LCD this : E030343031303030

    I don't have found the way to convert to hex I need Hex on PC and on LCD.

    Thanks

    Regards Pesti

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pesticida View Post
    All work fine now but :-)
    I receive the data from rfid reader in ascii i use to receive data on the pic this:
    Serin2 PortD.0,84,[Wait("E0") ,Daten[6],Daten[5],Daten[4],Daten[3],Daten[2],Daten[1],Daten[0]]
    Daten[7] = $E0
    but when I send to pc and to LCD with this
    HSEROUT [hex2 Daten[7],hex2 Daten[6],hex2 Daten[5],hex2 Daten[4],hex2 Daten[3],hex2 Daten[2],hex2 Daten[1],hex2 Daten[0],13,10]
    Lcdout $fe,$80,hex2 Daten[7],hex2 Daten[6],hex2 Daten[5],hex2 Daten[4],hex2 Daten[3],hex2 Daten[2],hex2 Daten[1],hex2 Daten[0]
    I receive on the PC and on the LCD this : E030343031303030
    I don't have found the way to convert to hex I need Hex on PC and on LCD.
    Thanks
    Regards Pesti
    Have you opened your PicBasicPro manual since you bought PicBasicPro?
    What do you think the HEX2 does FOR you?
    Take the HEX2 out of your HSEROUT and you'll get raw data.
    Last edited by skimask; - 31st January 2008 at 21:15.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Hi

    Yes I read the book and i now that hex is to convert decimal in hex !
    I think i have a serial problem i have read more rfid chips and i receive always the same serial.

    Thank you

    Regards Pesti

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Hi

    Yes I now what is happen the rfid send ascii,the pic receive the ascii and convert all the characters in decimal values 0 is 30 ,4 is 34 and so on.
    Than I have more than 8 bytes I have 16 bytes.
    I must now convert the decimals in hex,while i need hex data.

    I try with hex but dont work!

    Regards Pesti

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pesticida View Post
    Hi
    Yes I now what is happen the rfid send ascii,the pic receive the ascii and convert all the characters in decimal values 0 is 30 ,4 is 34 and so on.
    Than I have more than 8 bytes I have 16 bytes.
    I must now convert the decimals in hex,while i need hex data.
    I try with hex but dont work!
    Regards Pesti
    Re-Read Post #16...then refer to your PBP on the proper use of SERIN/SEROUT/(etc) available modifiers and you WILL have your answer. I understand what you want, but I'm not going to give you the answer you need because you have all of the resources you need to get that answer...and you might learn something.

  7. #7


    Did you find this post helpful? Yes | No

    Default

    Sorry Skimask!

    When I have 30 34 30 31 thats mean i need a modifier with 4 to have 04 and 01.

    Regards Pesti

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 05:47
  2. Read/Write Problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th February 2010, 02:51
  3. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 03:21
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 15:50
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 29th November 2004, 00:56

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