Primitive IR Sender Receiver Protocol |
Sender State Diagram |
Receiver State Diagram |
This extraordinarily simple protocol filters out
a good percentage of IR noise. It relies on a sender emitting a series
of start flags followed by a data packet of lengths up to 16 bytes.
The receiver analyzes all IR signals at 40hz and waits to receive a consecutive
series of start flags of some minimal length. Upon receiving this
series the receiver reads all data until something other than the start
flag is found. This data is considered valid under this protocol
and is immediately passed on to the client computer via the serial port.
Advantages:
|
Disadvantages:
|