There's a long long long way in between, i think you could try the Inverted mode first and then slow the baudrate, say 300bauds.
You should have a decent distance between the transmitter and receiver ... i think over 3 feets could be enough. Now , i don't know the RF receiver you have, but it's possible that it's output is an open-collector type. I would suggest you to add a 10K pull-up resistor between Vcc and RA.0 to see if it works better.
If you have any Scope, in the transmitter code, do a loop with SEROUT TransmitterPIN,N2400,[Synk] monitor the RF module output to see how good, bad the signal is.
On the transmitter AND the receiver module, use a 10-22uF tantalum+0.1uF as close as possible of your rf module. Same thing for your PICs. Try to sit your RF module away of your PICs.
You can also try to add 1-2 more Synk character at the begining of your transmission. For 1-2 bytes of data you shouldn't need any encoding/decoding even if.
Begin with it and see what happen. Without any spec of your module, it's a bit hard. Hope you have a scope 
<hr>
For the compilation error, i used MPASM config fuse syntax, PM will use the following.
Code:
@ device HS_OSC, LVP_OFF
Last edited by mister_e; - 3rd April 2008 at 16:08.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks