Does it work without the RF modules?
Does it work without the RF modules?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yes, I've done it.
I think your problem may be the noise output from the receiver?
The Rx gives a steady stream of noise and one has to use the SEROUT2 and SERIN2 commands with the WAIT modifier in SERIN2 (As described in page 138 of the PBP handbook.
This SERIN2 scans the stream of noise/signal out of the Rx until the transmitted "Start of Frame" characters arrive.
I know that this approach is rather primative but Iv'e got mine to work over a good range with zero errors - but I do live in the back of beyond in a very quiet electromagnetic environment.
If I'm on the right track I'll post my code?
Regards Bill Legge
I'll second what Bill wrote. Most AM receivers output a constant stream of noise in the absence of a strong signal. Their AGC circuits amplify the low level noise so it tends to be rail-to-rail. You can see some o'scope screenshots here...You must use some sort of STX (start of transmission) marker to distinguish signal from the noise. The simplest approach is to just use a wide pulse as STX. It sets the receiver AGC level so that the noise is suppressed and you can distinguish what immediately follows.
Last edited by dhouston; - 21st May 2009 at 15:41.
Bookmarks