- Joined
- Jul 4, 2009
- Messages
- 16,503
- Helped
- 5,157
- Reputation
- 10,347
- Reaction score
- 5,207
- Trophy points
- 1,393
- Location
- Aberdyfi, West Wales, UK
- Activity points
- 139,598
single channel transmitter 434mhz scheme circuit
Sorry to contradict, although all the previous comments are very valid.
It IS possible to reliably send serial data over an FM/FSK radio link directly from a UART without using Manchester encoding. I do it here on commercial products and at a variety of speeds from 2400 bauds up to in excess of 19200 bauds. The key is to understand why if fails when 'normal' data is sent and to condition the data before transmission to prevent it happening. The PDF mentioned earlier explains what goes wrong and why a data slicer has difficulty when averaging a moving target.
The clue to getting it right, without posting my source code, is to ensure that an equal number of ones and zeroes are present in each byte leaving the UART. It can be done and quite easily. Prototype tests here were done over a 40 metre range using 1mW ERP and in a very noisy RF environment, in fact several other radio links at similar frequencies were being developed and tested in the same room as the receiver. We sent over 3 million data packets, each 32 bytes long with zero loss. The system also recovered from transmitter power down and restart in no more than two packets. Each packet contained different data to simulate a real life scenario and it coped perfectly with any combination of bits in the transmitted UART bytes, including long chains of zeroes and ones.
Brian.
Sorry to contradict, although all the previous comments are very valid.
It IS possible to reliably send serial data over an FM/FSK radio link directly from a UART without using Manchester encoding. I do it here on commercial products and at a variety of speeds from 2400 bauds up to in excess of 19200 bauds. The key is to understand why if fails when 'normal' data is sent and to condition the data before transmission to prevent it happening. The PDF mentioned earlier explains what goes wrong and why a data slicer has difficulty when averaging a moving target.
The clue to getting it right, without posting my source code, is to ensure that an equal number of ones and zeroes are present in each byte leaving the UART. It can be done and quite easily. Prototype tests here were done over a 40 metre range using 1mW ERP and in a very noisy RF environment, in fact several other radio links at similar frequencies were being developed and tested in the same room as the receiver. We sent over 3 million data packets, each 32 bytes long with zero loss. The system also recovered from transmitter power down and restart in no more than two packets. Each packet contained different data to simulate a real life scenario and it coped perfectly with any combination of bits in the transmitted UART bytes, including long chains of zeroes and ones.
Brian.