Shop OBEX P1 Docs P2 Docs Learn Events
Code for New RF Device — Parallax Forums

Code for New RF Device

edgellmhedgellmh Posts: 85
edited 2009-09-23 07:11 in General Discussion
The documentation of the new Parallax RF device (27982) says: "For error checking examples please see
the code example downloads on the product page of our website, www.parallax.com. You can find this
by typing 27982 into the search box and clicking Go." However, such code is not referenced on the product page. Does this code exist yet?

marshall edgell

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2009-09-23 00:24
    transdot.gif
    edgellmh,

    There are code examples in the PDF document...

    [noparse][[/noparse]url]ww.parallax.com/Portals/0/Downloads/docs/prod/rf/27982-433%20MHzRFTransceiver-v1.0.pdf[noparse][[/noparse]/url]

    ...most of the existing code for the single TX/RX modules should also work, but you need to make sure that the Transciever mode is switched properly when using that code.




    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • edgellmhedgellmh Posts: 85
    edited 2009-09-23 01:02
    Yes I saw that code example but the text suggested there would be error checking code:

    "...To account for this it is recommended that you initiate error checking on your
    microcontroller to be sure the packets are valid. You could even create a simple protocol that could be
    used to verify each transmission arrives at its destination intact. For error checking examples please see
    the code example downloads on the product page of our website, www.parallax.com. You can find this
    by typing 27982 into the search box and clicking Go."

    It was this error checking code I was looking for.

    marshall
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2009-09-23 07:11
    edgellmh,

    It's buried in one of the other RF modules. Could be that since this is a new product, it was just missed in the page update. Here are a few example programs using a simple CRC check with BS2 Code and the older 433MHz RF TX/RX modules ...

    www.parallax.com/Portals/0/Downloads/sw/433RadioCRCV1.0.zip

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
Sign In or Register to comment.