| ??? 02/06/03 07:05 Read: times |
#38374 - RE: Wireless Data Transfer Protocol Responding to: ???'s previous message |
In order for the receiver to be able to detect zeroes and ones correctly, you will need to add a clock in the datastream you are sending to produce sufficent H->L / L->H changes in the bitstream. Just connecting the TX output of your UART in most cases therefore produces erroneous output. Do a search on Manchester encoding and you will find the answer to your question. (Don't know why they call in Manchester, maybe someone else can tell us).
Apart from sending the proper bit patterns, you should also add some sort of checksum like for instance a sequential XOR (simple) or a CRC byte or word (better). |



