Quote Originally Posted by jyi1 View Post
I am using the Laipac 315 MHz RF modules and I serout only once and it works with wires 100% of the time. When I try wireless it works once in a while. On the other hand, when I serout 5 times the wireless works most of the time but does not work once in a while. I have added 4 $55s for a preamble and manchester encoded everything.
JYI1:

Firstly, I feel a name is more suited to talking in a forum. Anyway, after seeing your code, I do feel you can look for the 55,aa alone as the marker to your data. You may not see the 4x55s followed by the aa considering that the Laipac receiver module is ASK(correct me if I am wrong).

I have used similar modules with PIC and implemented a wireless joystick which works like you say almost 100% of the time. There is an occasional hiccup due to which I would not get 100%. To achieve this, I know that RF shielding of the receiver is priority #1. I did not Manchester code my data, that could be the reason for the almost 100% accuracy. Also, the modules I have used (Summitek) specify the data rate in the region of almost 1200 baud and not 2400 baud as you use. Perhaps you need to look into this as well.

Jerson