I need to transmit data over the line with some noise. Each transmission packet is only one byte (8 bits). I need that the receiver will be able to catch errors (and optionally correct some of them - but it is not essential as I can repeat the transmission in case of error).
Now I know two options:
- Hamming code (8 data bits out of 12 transmitted). Very good performing (single correction and double detection) but hard to implement (or this is not so hard but I don't really understand the idea of the code) and 33% less speed (50% redundancy).
- Parity control. Very easy to implement. However not very reliable: only one error will be detected (no corrections, double error will result in failed data transmission).
So may be there is any intermediate coding algorithm more reliable than parity control but easy than Hamming code?