Beau's RF Transciever Program
kt88seamp
Posts: 112
I am trying to set up the demo programs for Beau's RF Transceiver program. They do not seem to be working. I think I did not upload them right. Do you just upload the receiver program to the circuit you want to receive and the transmitter one to the transmitter circuit? There is no readme on how to upload the programs.
Also I am trying to use the serial terminal to monitor the receiver. I only have one prop clip so I cannot monitor and transmit at the same time.
Also I am trying to use the serial terminal to monitor the receiver. I only have one prop clip so I cannot monitor and transmit at the same time.
Comments
This program is designed for the RF Transceiver that Parallax sells. Using two Propeller Demo Boards you will need to use the circuit below on BOTH the transmit and receive Demo Boards. The circuit is also located in the RF_Transceiver.spin file.
If you are using a different transmitter or different receiver, you will want to follow this link
If you have a relatively 'RF clean' test area, you shouldn't have much issue... first load the Transceiver TX DEMO into one Propeller Demo board, and then load the Transceiver RX DEMO into the other Propeller Demo board leaving it connected so that you can use the serial terminal to monitor the receiver. The serial terminal baud setting should be set at 38400 baud.
See this link also for a method to send strings to the transmit and receive packets.
Reference threads:
need object for parallax 433 MHz RF Receiver
Parallax RF Transceiver object using polynomial CRC method to reduce Data Errors
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 4/27/2010 5:03:40 AM GMT
Use the File -> Archive -> Project ... option from the Propeller IDE and post your code please.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
In the RF_Transceiver code, at the very bottom of the PUB commands, remark the dira and the outa commands for both Light_LEDs and Kill_LEDs.
Since this was written for a Propeller DEMO Board, the on-board LED's are used for a visual 'SYNC' detect. These LEDs occupy pins 16 to 23 which encompass the pins you are assigning and causing a conflict.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (kt88seamp) : 4/27/2010 5:39:18 PM GMT
From a software perspective, I tried your code and, it works just fine on my end. Have you double checked the wiring? It should be exactly the same for both ends. Would it be possible to post a clear picture(s) of your physical setup?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Excellent!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
"I want the transmitter to transmit the data and if it goes through, for the transmitter to stop transmitting the data and the receiver to not repeatedly read from the buffer. How can you send multiple packets of data if both programs are in an infinite loop transmitting the same data packet over and over?" - This is just a demo to get you started, there is no handshaking that takes place. In the real world due to environmental RF noise, packets can be sent several times before a valid packet is received.
There is a proposed scheme that would work for handshaking that I posted here...
RF handshaking
... that can be found with some discussion in this thread...
Parallax RF Transceiver object using polynomial CRC method to reduce Data Errors
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
The noise is like a bunch random numbers being generates "gazillion" times a second. It will eventually generate the binary equivalent of an S and trigger (with my modification) a CRC error because no legitimate packet was received.