DIY-Multiprotocol-TX-Module/Protocols_Details.md
2017-01-03 20:19:57 +01:00

18 KiB

#Protocols details Here are detailed descriptions of every supported protocols (sorted by RF modules) as well as the available options for each protocol.

If you want to see a list of models that use these protocols see the Models page.

The Deviation project (on which this project was based) have a useful list of models and protocols here.

Default Mapping of Protocols

Here is the default mapping of protocols to the 16-position protocol selection switch on the module. You can customize these when you compile your own firmware as described in Compiling and Programming.

Note that the protocol must be selected before the unit is turned on.

Dial Protocol Sub_protocol RX Num Power Auto Bind Option RF Module
0 Select serial
1 FLYSKY Flysky 0 High No 0 A7105
2 HUBSAN - 0 High No 0 A7105
3 FRSKYD - 0 High No 40 CC2500
4 HISKY Hisky 0 High No 0 NRF24L01
5 V2X2 - 0 High No 0 NRF24L01
6 DSM DSM2 0 High No 6 CYRF6936
7 DEVO - 0 High No 0 CYRF6936
8 YD717 YD717 0 High No 0 NRF24L01
9 KN WLTOYS 0 High No 0 NRF24L01
10 SYMAX SYMAX 0 High No 0 NRF24L01
11 SLT - 0 High No 0 NRF24L01
12 CX10 BLUE 0 High No 0 NRF24L01
13 CG023 CG023 0 High No 0 NRF24L01
14 BAYANG - 0 High No 0 NRF24L01
15 SYMAX SYMAX5C 0 High No 0 NRF24L01

Useful notes and definitions

  • Extended limits supported - A command range of -125%..+125% will be transmitted. Otherwise the default is -100%..+100% only.
  • Channel Order - The channel order assumed in all the documentation is AETR and it is highly recommended that you keep it this way. You can change this in the compilation settings. However, please indicate your channel order in all questions and posts on the forum pages.
  • Autobind protocol:
  1. The transmitter will automatically initiate a bind sequence on power up. This is for models where the receiver expects to rebind every time it is powered up. In these protocols you do not need to press the bind button at power up to bind, it will be done automatically.
  2. Enable Bind from channel feature:
  • Bind from channel can be globally enabled/disabled in _config.h using ENABLE_BIND_CH.
  • Bind from channel can be locally enabled/disabled by setting Autobind to Y/N per model for serial or per dial switch number for ppm.
  • Bind channel can be choosen on any channel between 5 and 16 using BIND_CH in _config.h.
  • Bind will only happen if all these elements are happening at the same time:
  • Autobind = Y
  • Throttle = LOW (<-95%)
  • Bind channel is going from -100% to +100%
  • Additional notes:
  • It's recommended to combine Throttle cut with another button to drive the bind channel. This will prevent to launch a bind while flying...
  • Bind channel does not have to be assigned to a free channel. Since it only acts when Throttle is Low (and throttle cut active), it could be used on the same channel as Flip for example since you are not going to flip your model when Throttle is low... Same goes for RTH and such other features.
  • Using channel 16 for the bind channel seems the most relevant as only one protocol so far is using 16 channels which is FrSkyX. But even on FrSkyX this feature won't have any impact since there is NO valid reason to have Autobind set to Y for such a protocol.

#A7105 RF Module

##FLYSKY Extended limits supported

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
A E T R CH5 CH6 CH7 CH8

Note that the RX ouput will be AETR.

###Sub_protocol V9X9

CH5 CH6 CH7 CH8
FLIP LIGHT PICTURE VIDEO

###Sub_protocol V6X6

CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12
FLIP LIGHT PICTURE VIDEO HEADLESS RTH XCAL YCAL

###Sub_protocol V912

CH5 CH6
BTMBTN TOPBTN

###CX20 Model: Cheerson Cx-20

CH5 CH6 CH7

##FLYSKY AFHDS2A Extended limits supported

Telemetry enabled for battery voltage and RX&TX RSSI using FrSky Hub protocol

Option is used to change the servo refresh rate. A value of 0 gives 50Hz (min), 70 gives 400Hz (max). Specific refresh rate value can be calculated like this option=(refresh_rate-50)/5.

RX_Num is used to give a number a given RX. You must use a different RX_Num per RX. A maximum of 16 AFHDS2A RXs are supported.

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12 CH13 CH14
A E T R CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12 CH13 CH14

Note that the RX ouput will be AETR.

###Sub_protocol PWM_IBUS ###Sub_protocol PPM_IBUS ###Sub_protocol PWM_SBUS ###Sub_protocol PPM_SBUS

##HUBSAN Models: Hubsan H102D, H107/L/C/D and Hubsan H107P/C+/D+

Autobind protocol

Telemetry enabled for battery voltage and TX RSSI

Option=vTX frequency (H107D) 5645 - 5900 MHz

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9
A E T R FLIP LIGHT PICTURE VIDEO HEADLESS

#CC2500 RF Module

##FRSKYV = FrSky 1 way Models: FrSky receivers V8R4, V8R7 and V8FR.

Extended limits supported

Option=fine frequency tuning. This value is different for each board. To determine this value, find the two limits where the RX loses connection then set the option value to half way between them. If you have a 4in1 V2 board the value is around 40 or -40.

CH1 CH2 CH3 CH4
CH1 CH2 CH3 CH4

##FRSKYD Models: FrSky receivers D4R and D8R. DIY RX-F801 and RX-F802 receivers.

Extended limits supported

Telemetry enabled for A0, A1, RSSI, TSSI and Hub

Option=fine frequency tuning. This value is different for each board. To determine this value, find the two limits where the RX loses connection then set the option value to half way between them. If you have a 4in1 V2 board the value is around 40 or -40.

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8

##FRSKYX Models: FrSky receivers X4R, X6R and X8R.

Extended limits supported

Telemetry enabled for A1 (RxBatt), A2, RSSI, TSSI and Hub

Option=fine frequency tuning. This value is different for each board. To determine this value, find the two limits where the RX loses connection then set the option value to half way between them. If you have a 4in1 V2 board the value is around 40 or -40.

###Sub_protocol CH_16

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12 CH13 CH14 CH15 CH16
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12 CH13 CH14 CH15 CH16

###Sub_protocol CH_8

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8

##SFHSS Models: Futaba RXs and XK models.

Option=fine frequency tuning. This value is different for each board. To determine this value, find the two limits where the RX loses connection then set the option value to half way between them. If you have a 4in1 V2 board the value is around 40 or -40.

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
A E T R CH5 CH6 CH7 CH8

#CYRF6936 RF Module

##DEVO Extended limits supported

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
A E T R CH5 CH6 CH7 CH8

Note that the RX ouput will be EATR.

Bind procedure using serial:

  • With the TX off, put the binding plug in and power on the RX (RX LED slow blink), then power it down and remove the binding plug. Receiver should now be in autobind mode.
  • Turn on the TX, set protocol = Devo with option=0, turn off the TX (TX is now in autobind mode).
  • Turn on RX (RX LED fast blink).
  • Turn on TX (RX LED solid, TX LED fast blink).
  • Wait for bind on the TX to complete (TX LED solid).
  • Make sure to set the RX_Num value for model match.
  • Change option to 1 to use the global ID.
  • Do not touch option/RX_Num anymore.

Bind procedure using PPM:

  • With the TX off, put the binding plug in and power on the RX (RX LED slow blink), then power it down and remove the binding plug. Receiver should now be in autobind mode.
  • Turn on RX (RX LED fast blink).
  • Turn the dial to the model number running protocol DEVO on the module.
  • Press the bind button and turn on the TX. TX is now in autobind mode.
  • Release bind button after 1 second: RX LED solid, TX LED fast blink.
  • Wait for bind on the TX to complete (TX LED solid).
  • Press the bind button for 1 second. TX/RX is now in fixed ID mode.
  • To verify that the TX is in fixed mode: power cycle the TX, the module LED should be solid ON (no blink).
  • Note: Autobind/fixed ID mode is linked to the dial number. Which means that you can have multiple dial numbers set to the same protocol DEVO with different RX_Num and have different bind modes at the same time. It enables PPM users to get model match under DEVO.

##DSM Extended limits supported

Telemetry enabled for TSSI and plugins

option=number of channels from 4 to 12. An invalid option value will end up with 6 channels.

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12
A E T R CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12

Notes:

  • model/type/number of channels indicated on the RX can be different from what the RX is in fact wanting to see. So don't hesitate to test different combinations until you have something working. Using Auto is the best way to find these settings.
  • RX ouput will always be TAER independently of the input AETR, RETA...

###Sub_protocol DSM2_22 DSM2, Resolution 1024, refresh rate 22ms ###Sub_protocol DSM2_11 DSM2, Resolution 2048, refresh rate 11ms ###Sub_protocol DSMX_22 DSMX, Resolution 2048, refresh rate 22ms ###Sub_protocol DSMX_11 DSMX, Resolution 2048, refresh rate 11ms ###Sub_protocol AUTO The "AUTO" feature enables the TX to automatically choose what are the best settings for your DSM RX and update your model protocol settings accordingly.

The current radio firmware which are able to use the "AUTO" feature are ersky9x (9XR Pro, 9Xtreme, Taranis, ...) and er9x for M128 (9XR) and M2561. For these firmwares, you must have a telemetry enabled TX and you have to make sure you set the Telemetry "Usr proto" to "DSMx". Also on er9x you will need to be sure to match the polarity of the telemetry serial (normal or inverted by bitbashing), while on ersky9x you can set "Invert COM1" accordinlgy.

##J6Pro

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12
A E T R CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12

##WK2X01 Extended limits supported Autobind protocol

Note: RX ouput will always be AETR independently of the input AETR, RETA...

###WK2801 This roughly corresponds to the number of channels supported, but many of the newer 6-channel receivers actually support the WK2801 protocol. It is recommended to try the WK2801 protocol 1st when working with older Walkera models before attempting the WK2601 or WK2401 mode, as the WK2801 is a superior protocol. The WK2801 protocol supports up to 8 channels.

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
A E T R CH5 CH6 CH7 CH8

###WK2401 The WK2401 protocol is used to control older Walkera models.

CH1 CH2 CH3 CH4
A E T R

###W6_5_1 WK2601 5+1: AIL, ELE, THR, RUD, GYRO (ch 7) are proportional. Gear (ch 5) is binary. Ch 6 is disabled

CH1 CH2 CH3 CH4 CH5 CH6 CH7
A E T R GEAR DIS GYRO

###W6_6_1 WK2601 6+1: AIL, ELE, THR, RUD, COL (ch 6), GYRO (ch 7) are proportional. Gear (ch 5) is binary. This mode is highly experimental.

CH1 CH2 CH3 CH4 CH5 CH6 CH7
A E T R GEAR COL GYRO

###W6_HEL and W6HEL_I WK2601 Heli: AIL, ELE, THR, RUD, GYRO are proportional. Gear (ch 5) is binary. COL (ch 6) is linked to Thr. If Ch6 >= 0, the receiver will apply a 3D curve to the Thr. If Ch6 < 0, the receiver will apply normal curves to the Thr. The value of Ch6 defines the ratio of COL to THR.

W6HEL_I: Invert COL servo

option= maximum range of COL servo

CH1 CH2 CH3 CH4 CH5 CH6 CH7
A E T R GEAR COL GYRO

#NRF24L01 RF Module

##ASSAN Extended limits supported

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8

The transmitter must be close to the receiver while binding.

##BAYANG Models: EAchine H8(C) mini, BayangToys X6/X7/X9, JJRC JJ850, Floureon H101 ...

Autobind protocol

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10
A E T R FLIP RTH PICTURE VIDEO HEADLESS INVERTED

Option=0 -> normal Bayang protocol

Option=1 -> enable telemetry with Silverxxx firmware. Value returned to the TX using FrSkyD Hub are RX RSSI, TX RSSI, A1=uncompensated battery voltage, A2=compensated battery voltage ###Sub_protocol H8S3D Model: H8S 3D

Same channels assignement as above.

##CG023 Models: EAchine CG023/CG031/3D X4

Autobind protocol

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9
A E T R FLIP LIGHT PICTURE VIDEO HEADLESS

###Sub_protocol YD829 Models: Attop YD-822/YD-829/YD-829C ...

CH5 CH6 CH7 CH8 CH9
FLIP PICTURE VIDEO HEADLESS

###Sub_protocol H8_3D Models: EAchine H8 mini 3D, JJRC H20/H22/H11D

CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13 ---|---|---|---|---|---|---|--- FLIP|LIGTH|PICTURE|VIDEO|OPT1|OPT2|CAL1|CAL2|GIMBAL

JJRC H20: OPT1=Headless, OPT2=RTH

JJRC H22: OPT1=RTH, OPT2=180/360° flip mode

H8 3D: OPT1=RTH then press a direction to enter headless mode (like stock TX), OPT2=switch 180/360° flip mode

CAL1: H8 3D acc calib, H20 headless calib CAL2: H11D/H20 acc calib

##CX10 Autobind protocol

CH1 CH2 CH3 CH4 CH5 CH6
A E T R FLIP RATE

Rate: -100%=rate 1, 0%=rate 2, +100%=rate 3

###Sub_protocol GREEN Models: Cheerson CX-10 green pcb

Same channels assignement as above.

###Sub_protocol BLUE Models: Cheerson CX-10 blue pcb & some newer red pcb, CX-10A, CX-10C, CX11, CX12, Floureon FX10, JJRC DHD D1

CH5 CH6 CH7 CH8
FLIP RATE PICTURE VIDEO

Rate: -100%=rate 1, 0%=rate 2, +100%=rate 3 or headless for CX-10A

###Sub_protocol DM007

CH5 CH6 CH7 CH8 CH9
FLIP MODE PICTURE VIDEO HEADLESS

##Q2X2 ###Sub_protocol Q242 and Q282

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12
A E T R FLIP LED PICTURE VIDEO HEADLESS RTH XCAL YCAL

Model: JXD 509 is using Q282 with CH12=Start/Stop motors

###Sub_protocol Q222 Models: Q222 v1 and V686 v2

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12
A E T R FLIP LED MODULE2 MODULE1 HEADLESS RTH XCAL YCAL

###Sub_protocol JC3015_1

CH5 CH6 CH7 CH8
FLIP MODE PICTURE VIDEO

###Sub_protocol JC3015_2

CH5 CH6 CH7 CH8
FLIP MODE LED DFLIP

###Sub_protocol MK33041

CH5 CH6 CH7 CH8 CH9 CH10
FLIP MODE PICTURE VIDEO HEADLESS RTH

##ESKY

CH1 CH2 CH3 CH4 CH5 CH6
A E T R GYRO PITCH

##FY326

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9
A E T R FLIP RTH HEADLESS EXPERT CALIBRATE

##FQ777 Model: FQ777-124 (with SV7241A)

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
A E T R FLIP RTH HEADLESS EXPERT

##HISKY

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
A E T R GEAR PITCH GYRO CH8

GYRO: -100%=6G, +100%=3G

###Sub_protocol HK310 Models: RX HK-3000, HK3100 and XY3000 (TX are HK-300, HK-310 and TL-3C)

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
T R AUX T_FSAFE R_FSAFE AUX_FSAFE

##KN

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11
A E T R DR THOLD IDLEUP GYRO Ttrim Atrim Etrim

Dual Rate: +100%=full range, Throttle Hold: +100%=hold, Idle Up: +100%=3D, GYRO: -100%=6G, +100%=3G

###Sub_protocol WLTOYS ###Sub_protocol FEILUN Same channels assignement as above.

##HONTAI Autobind protocol

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11
A E T R FLIP LED PICTURE VIDEO HEADLESS RTH CAL

###Sub_protocol HONTAI ###Sub_protocol JJRCX1

CH6
ARM

###Sub_protocol X5C1 clone

###Sub_protocol FQ777_951

##MJXQ Autobind protocol

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12 CH13
A E T R FLIP LED PICTURE VIDEO HEADLESS RTH AUTOFLIP PAN TILT

###Sub_protocol WLH08 ###Sub_protocol X600 Only 3 TX IDs available, change RX_Num value 0..2 to cycle through them ###Sub_protocol X800 Only 3 TX IDs available, change RX_Num value 0..2 to cycle through them ###Sub_protocol H26D Only 3 TX IDs available, change RX_Num value 0..2 to cycle through them ###Sub_protocol H26WH

CH6
ARM

Only 1 TX ID available

###Sub_protocol E010 15 TX IDs available, change RX_Num value 0..14 to cycle through them

If the E010 does not respond well to inputs or hard to bind, set Power to Low. ##MT99XX Autobind protocol

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9
A E T R FLIP LED PICTURE VIDEO HEADLESS

###Sub_protocol MT Models: MT99xx ###Sub_protocol H7 Models: Eachine H7, Cheerson CX023 ###Sub_protocol YZ Model: Yi Zhan i6S Only one model can be flown at the same time since the ID is hardcoded. ###Sub_protocol LS Models: LS114, 124, 215

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9
A E T R FLIP INVERT PICTURE VIDEO HEADLESS

###Sub_protocol FY805 Model: FY805

Only 1 ID available

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9
A E T R FLIP HEADLESS

##Shenqi Autobind protocol

Model: Shenqiwei 1/20 Mini Motorcycle

CH1 CH2 CH3 CH4
T R

Throttle +100%=full forward,0%=stop,-100%=full backward.

##SLT Autobind protocol

CH1 CH2 CH3 CH4 CH5 CH6
A E T R GEAR PITCH

##Symax Autobind protocol

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9
A E T R FLIP PICTURE VIDEO HEADLESS

###Sub_protocol SYMAX Models: Syma X5C-1/X11/X11C/X12

###Sub_protocol SYMAX5C Model: Syma X5C (original) and X2

##V2X2 Models: WLToys V202/252/272, JXD 385/388, JJRC H6C, Yizhan Tarantula X6 ...

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11
A E T R FLIP LIGHT PICTURE VIDEO HEADLESS MAG_CAL_X MAG_CAL_Y

PICTURE: also automatic Missile Launcher and Hoist in one direction

VIDEO: also Sprayer, Bubbler, Missile Launcher(1), and Hoist in the other dir

###Sub_protocol JXD506 Model: JXD 506

CH10 CH11 CH12
Start/Stop EMERGENCY CAMERA_UP/DN

##YD717 Autobind protocol

CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9
A E T R FLIP LIGHT PICTURE VIDEO HEADLESS

###Sub_protocol YD717 ###Sub_protocol SKYWLKR ###Sub_protocol SYMAX4 ###Sub_protocol XINXUN ###Sub_protocol NIHUI Same channels assignement as above.