Skip to content

OpenRcBus

Kari Hautio edited this page Feb 12, 2016 · 4 revisions

OpenRcBus - work in progress

OpenRcBus is an open and expandable protocol to be used between Transmitter - radiomodule or recevier - flightcontroller.

It will interleave RC control and telemetry inside a single serial link.

Physical layer

TTL level serial port at 115200 bauds (tbd,)

High level frame format

[HEADER]
[DATA]
[CRC16]

Header

[PREFIX]   single byte of value '0x??' tbd.
[LENGTH]   length of data part in bytes [0..255], excludes HEADER and CRC16
[DATATYPE] single byte identifying the format of the DATA

Datatype values

0x01 RC channel data (2 bytes per channel)

Data

Data (0x01)

RC data for (LENGTH - 1) / 2 channels [FLAGS] - 0x01 -- set failsafe X * ( [CHANNEL_MSB] [CHANNEL_LSB] ) - Channel value

Defined data types to be defined

CRC16

CRC16 value over HEADER and DATA parts. Calculation details tbd.