Iam using RF transmitter TXM-418-LR and RF receiver RXM-418-LR from LINX TECHNOLOGIES both modules are connected with the mcu PIC18F452
Modules have seperate antennas.I am using them as half duplex tranceiver
transmitters datain pin is connected to TX of USART and recivers dataout pin is cnnnected to the RX of USART in mcu.supply votage of both modules is also controlled by mcu such that at a given time only one of them is working
I have tested the RF modules seperately.I gave a square wave at the input of the transmiiters datain pin and then checked the output on receivers dataout pin by an oscilloscope.Igot the same signal back which means that my RFmodules are working fine.
Now i connected the transmitter to mcu#! and reciver to mcu#2.
mcu#1 is transmitting a counter serially and mcu#2 is supposed to receive that counter.
Now the problem is that i am getting data in mcu#2 but its not correct some values are correct some are false.
can anybody tell me what is the problem when my transmitter and reciever and also microcontrollers are working fine individually the what is the problem when they are integrated
I think that the problem is in the synchroni9zation aof serial data when it is transmitted wirelessly
aNY SOLUTION TO THIS PROBLEM
Modules have seperate antennas.I am using them as half duplex tranceiver
transmitters datain pin is connected to TX of USART and recivers dataout pin is cnnnected to the RX of USART in mcu.supply votage of both modules is also controlled by mcu such that at a given time only one of them is working
I have tested the RF modules seperately.I gave a square wave at the input of the transmiiters datain pin and then checked the output on receivers dataout pin by an oscilloscope.Igot the same signal back which means that my RFmodules are working fine.
Now i connected the transmitter to mcu#! and reciver to mcu#2.
mcu#1 is transmitting a counter serially and mcu#2 is supposed to receive that counter.
Now the problem is that i am getting data in mcu#2 but its not correct some values are correct some are false.
can anybody tell me what is the problem when my transmitter and reciever and also microcontrollers are working fine individually the what is the problem when they are integrated
I think that the problem is in the synchroni9zation aof serial data when it is transmitted wirelessly
aNY SOLUTION TO THIS PROBLEM