Hello there , i started a project which includes side units that collect data and sebd it to the main unit , i use mega32A 16Mhz external crystal with 2 simple RF module HC-11 trancievers .
I made a simple code to send a string if a button is pushed , from the 1st MCU .
The 2nd MCU recieve the string ( hello world ) , if it matches a LED toggle .
I'm certain about my UART function because this code works perfectly when the TX->RX connected by wires and it displays the string on LCD and the LED toggle . (Wired)
The problem arise when i put the HC11 module , the LED doesn't toggle and LCD displays (hello ) only or sometimes displays ( hello WorLD ) , this means the data is incorrect .
I tried to access the AT commands but with no response .
According to AT commands , there should be an "OK" message reply by the module .
Also i made sure that the SET pin is pulled down to access the AT command mode .
Any help would be great