Shop OBEX P1 Docs P2 Docs Learn Events
RF Transmitter with RFID reader HELP — Parallax Forums

RF Transmitter with RFID reader HELP

SaikouSXSaikouSX Posts: 1
edited 2007-05-10 00:48 in BASIC Stamp
Can anyone help me create a code that will allow me to transmit data that has already been read by the RFID reader from an RFID chip? I already have the code for the reader to read and identify the chips, but i dont know how to send what it reads over to the receiver. If someone can help me it would be greatly appreciated.

Comments

  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2007-05-10 00:48
    SaikouSX

    Here is the pdf file for ......The Parallax 433 MHz RF modules


    http://www.parallax.com/dl/docs/prod/rf/27980-ParallaxRFTransmit-v1.0.pdf


    ©Parallax, Inc. • 433.92 MHz RF Transmitter and Receiver (#27980, #27981) • v1.0 1/06 Page 7 of 8


    TxCode_v_1.0.bs2
    ' TxCode_v_1.0.bs2
    '{$STAMP BS2}
    '{$PBASIC 2.5}
    '
    ·x VAR Word
    y VAR Word
    DO
    PULSOUT 8, 1200 'Sync pulse for the receiver
    SEROUT 8, 16468, [noparse][[/noparse] "!", x.HIGHBYTE, x.LOWBYTE, y.HIGHBYTE, y.LOWBYTE ]
    x = x + 1
    y = y + 1
    PAUSE 10
    LOOP
    RxCode_v_1.0.bs2
    'RxCode_v_1.0.bs2
    '{$STAMP BS2}
    '{$PBASIC 2.5}

    x VAR Word
    y VAR Word


    DO

    LOW 0
    SERIN 7, 16468, [noparse][[/noparse]WAIT("!"), x.HIGHBYTE, x.LOWBYTE, y.HIGHBYTE, y.LOWBYTE]
    HIGH 0
    DEBUG ? x
    DEBUG ? y
    LOOP
    ·
    This is from the card reader demo
    ·Show_Name:
    · DEBUG DEC tagNum, ": "
    · LOOKUP tagNum,
    ········ [noparse][[/noparse]Name0, Name1, Name2, Name3], idx························ ' point to first character
    Now my thinking is that you would have to use·what in red for·what you want send and Receive
    I do not have one of the units to try this out but i would do the demo frist to get the feel of these
    units work

    I hope this will help


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 5/10/2007 1:16:38 AM GMT
Sign In or Register to comment.