PROTOCOL
|
Start Bits |
Instructions |
Data |
Error Check |
Stop Bits |
|
4-bits |
4-bits |
8-bits |
12-bits |
4-bits |
Figure: Breakdown of the Protocol
Start Bits
It is used to wake up the Receiver that the information is coming, and at ready to ready the information.
Instructions
These instruction codes are used to for encoding and decoding during transmission. Before transmitting all information all information must be encoded first before transmitting. At the receiver, all received information must be decode first before sending any signals to control the motors.
|
codes |
Instructions |
|
0000 |
neutral |
|
0001 |
forward |
|
0010 |
backward |
|
0011 |
* |
|
0100 |
right |
|
0101 |
* |
|
0110 |
* |
|
0111 |
* |
|
1000 |
left |
|
1001 |
* |
|
1010 |
* |
|
1011 |
* |
|
1100 |
* |
|
1101 |
* |
|
1110 |
* |
|
1111 |
* |
Figure: Instruction Codes
Data
Data consists of the output results of the ADC from the microcontroller of the Transmitter. This data is mainly used for speed control purposes.
Error Check
This error check bits are used for error detection and if applicable also for error correction.
Stop Bits
This is to inform the Receiver that all information has been sent out.