Code for New RF Device
edgellmh
Posts: 85
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
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
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.
"...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
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.