K33rg4t3
Full Member level 3

Hey
I want to make a simple 433Mhz transmission.
I am using cheap Rf modules from aliexpress.
I have connected the sender module to TX pin of first PIC, and receiver module to RX pin of second PIC.
I have set up a 1200 baud rate UART connection like that:
And I transfer data like that:
The problem is that only 1 / 3 packets are correctly receiver, most of the time I am getting garbage.
When I connect the serial TX with RX by wire and add common GND connection, everything is transferred correctly.
What should I do to improve the radio communication? I only need to send around 10 bytes per second, no more.
Both PICs are using 12MHz crystal.
Any ideas or suggestions?
EDIT: I have tested even baud rate 300 now, and here is the received data:
as you see, the string is received incorrectly very often ...
I want to make a simple 433Mhz transmission.
I am using cheap Rf modules from aliexpress.
I have connected the sender module to TX pin of first PIC, and receiver module to RX pin of second PIC.
I have set up a 1200 baud rate UART connection like that:
Code:
UART1_Init(1200);
And I transfer data like that:
Code:
UART1_Write_Text("Hello Radio!\n");
The problem is that only 1 / 3 packets are correctly receiver, most of the time I am getting garbage.
When I connect the serial TX with RX by wire and add common GND connection, everything is transferred correctly.
What should I do to improve the radio communication? I only need to send around 10 bytes per second, no more.
Both PICs are using 12MHz crystal.
Any ideas or suggestions?
EDIT: I have tested even baud rate 300 now, and here is the received data:
Code:
˙Hello radio!
Z6Ű&#K{¦
Hello radio!
Z6Ű&#K{¦
Z6Ű&#K{¦
Z6Ű&#K{¦
Hello radio!
Z6Ű&#K{¦
Z6Ű&#K{¦
Z6Ű&#K{¦
Z6Ű&#K{¦
€+cc{&#K{¦
Hello radio!
Hello radio!
Hello radio!
Hello radio!
as you see, the string is received incorrectly very often ...
Last edited: