I am using PIC to PIC communication with the help wireless module TLP/RLP 434A pair from laipac.com. I verified my output from serial transmition from PIC on the oscilloscope using this code.
' TX code
' OSC 4M
TRISB=%10000000
While portb.7 =1
Serout2 0,16780,($55,$55,"A",170)
wend
End
..
My RF component can be viewed using spectrum analyzer and I realize that my transmitter block including PIC and TLP 434A working fine. But in the receiver (RLP 434A) digital and analog output I got garbage.
So Finally, I decided not to overrun the receiver so I didn't use while in the following code:
' TX code
' OSC 4M
TRISB=%10000000
Serout2 0, 16780, [$55,$55,"A",170]
End
..
But also it is not succeeded !!!!!!!!
Here my code for RX
' TX code
' OSC 4M
TRISA=0
Mydata var byte
PORTA=0
Pause 1000
Serin2 0, 16780, [wait ("A"),Mydata ]
PORTA = Mydata
Pause 2000
End
I appreciate any kind of help .
Bookmarks