mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-01 10:17:53 +00:00
MT99xx Trim channels
This commit is contained in:
parent
a9be2a8644
commit
99cd4d34d4
@ -134,14 +134,16 @@
|
|||||||
18,4,MJXQ,E010,1,Flip,LED,Pict,Video,HLess,RTH,AuFlip,Pan,Tilt,Rate
|
18,4,MJXQ,E010,1,Flip,LED,Pict,Video,HLess,RTH,AuFlip,Pan,Tilt,Rate
|
||||||
18,5,MJXQ,H26WH,1,Flip,Arm,Pict,Video,HLess,RTH,AuFlip,Pan,Tilt,Rate
|
18,5,MJXQ,H26WH,1,Flip,Arm,Pict,Video,HLess,RTH,AuFlip,Pan,Tilt,Rate
|
||||||
18,6,MJXQ,Phoenix,1,Flip,Arm,Pict,Video,HLess,RTH,AuFlip,Pan,Tilt,Rate
|
18,6,MJXQ,Phoenix,1,Flip,Arm,Pict,Video,HLess,RTH,AuFlip,Pan,Tilt,Rate
|
||||||
17,0,MT99XX,Std,1,Flip,LED,Pict,Video,HLess
|
17,0,MT99XX,Std,1,Flip,LED,Pict,Video,HLess,Atrim,Etrim
|
||||||
17,1,MT99XX,H7,1,Flip,LED,Pict,Video,HLess
|
17,1,MT99XX,H7,1,Flip,LED,Pict,Video,HLess,Atrim,Etrim
|
||||||
17,2,MT99XX,YZ,1,Flip,LED,Pict,Video,HLess
|
17,2,MT99XX,YZ,1,Flip,LED,Pict,Video,HLess,Atrim,Etrim
|
||||||
17,3,MT99XX,LS,1,Flip,Invert,Pict,Video,HLess
|
17,3,MT99XX,LS,1,Flip,Invert,Pict,Video,HLess,Atrim,Etrim
|
||||||
17,4,MT99XX,FY805,1,Flip,n-a,n-a,n-a,HLess
|
17,4,MT99XX,FY805,1,Flip,n-a,n-a,n-a,HLess,Atrim,Etrim
|
||||||
17,5,MT99XX,A180,0,3D_6G,Rate,3D_6G
|
17,5,MT99XX,A180,0,3D_6G,Rate,3D_6G,n-a,n-a,Atrim,Etrim
|
||||||
17,6,MT99XX,Dragon,0,Mode,RTH
|
17,6,MT99XX,Dragon,0,Mode,RTH,n-a,n-a,n-a,Atrim,Etrim
|
||||||
17,7,MT99XX,F949G,0,6G_3D,Light,Rates,Unk1,Unk2
|
17,7,MT99XX,F949G,0,6G_3D,Light,Rates,Unk1,Unk2,Atrim,Etrim
|
||||||
|
92,0,MT99xx2,PA18,0,MODE,FLIP,RTH,n-a,n-a,Atrim,Etrim
|
||||||
|
92,1,MT99xx2,SU35,0,Mode,LED,LED_FH,Invert,Rate,Atrim,Etrim
|
||||||
44,0,NCC1701,Std,1,Warp
|
44,0,NCC1701,Std,1,Warp
|
||||||
77,0,OMP,M2,0,THold,IdleUp,6G_3D
|
77,0,OMP,M2,0,THold,IdleUp,6G_3D
|
||||||
60,0,Pelikan,PRO_V4,0,CH5,CH6,CH7,CH8
|
60,0,Pelikan,PRO_V4,0,CH5,CH6,CH7,CH8
|
||||||
@ -217,8 +219,6 @@
|
|||||||
90,0,MouldKg,Analog,0
|
90,0,MouldKg,Analog,0
|
||||||
90,1,MouldKg,Digit,0
|
90,1,MouldKg,Digit,0
|
||||||
91,0,Xerall,Tank,0,FlTa,TakLan,Rate,HLess,Photo,Video,TrimR,TrimE,TrimA
|
91,0,Xerall,Tank,0,FlTa,TakLan,Rate,HLess,Photo,Video,TrimR,TrimE,TrimA
|
||||||
92,0,MT99xx2,PA18,0,MODE,FLIP,RTH
|
|
||||||
92,1,MT99xx2,SU35,0,Mode,LED,LED_FH,Invert,Rate
|
|
||||||
93,0,Kyosho2,KT-17,0
|
93,0,Kyosho2,KT-17,0
|
||||||
94,0,Scorpio
|
94,0,Scorpio
|
||||||
95,0,Bluefly,HP100,0,CH5,CH6,CH7,CH8
|
95,0,Bluefly,HP100,0,CH5,CH6,CH7,CH8
|
||||||
|
@ -189,8 +189,8 @@ static void __attribute__((unused)) MT99XX_send_packet()
|
|||||||
packet[1] = convert_channel_16b_limit(RUDDER ,0x00,0xE1); // rudder
|
packet[1] = convert_channel_16b_limit(RUDDER ,0x00,0xE1); // rudder
|
||||||
packet[2] = convert_channel_16b_limit(AILERON ,0xE1,0x00); // aileron
|
packet[2] = convert_channel_16b_limit(AILERON ,0xE1,0x00); // aileron
|
||||||
packet[3] = convert_channel_16b_limit(ELEVATOR,0x00,0xE1); // elevator
|
packet[3] = convert_channel_16b_limit(ELEVATOR,0x00,0xE1); // elevator
|
||||||
packet[4] = 0x20; // pitch trim (0x3f-0x20-0x00)
|
packet[4] = (convert_channel_8b(CH10) ^ 0xFF) >> 2; // aileron trim (3F..20..00)
|
||||||
packet[5] = 0x20; // roll trim (0x00-0x20-0x3f)
|
packet[5] = convert_channel_8b(CH11) >> 2; // elevator trim (00..20..3F)
|
||||||
packet[6] = GET_FLAG( CH5_SW, FLAG_MT_FLIP );
|
packet[6] = GET_FLAG( CH5_SW, FLAG_MT_FLIP );
|
||||||
if(sub_protocol != PA18+8)
|
if(sub_protocol != PA18+8)
|
||||||
packet[7] = h7_mys_byte[hopping_frequency_no]; // next rf channel index ?
|
packet[7] = h7_mys_byte[hopping_frequency_no]; // next rf channel index ?
|
||||||
@ -337,7 +337,7 @@ static void __attribute__((unused)) MT99XX_send_packet()
|
|||||||
XN297_SetTxRxMode(TX_EN);
|
XN297_SetTxRxMode(TX_EN);
|
||||||
XN297_WritePayload(packet, MT99XX_PACKET_SIZE);
|
XN297_WritePayload(packet, MT99XX_PACKET_SIZE);
|
||||||
|
|
||||||
#if 0
|
#if 1
|
||||||
for(uint8_t i=0; i<MT99XX_PACKET_SIZE; i++)
|
for(uint8_t i=0; i<MT99XX_PACKET_SIZE; i++)
|
||||||
debug(" %02X",packet[i]);
|
debug(" %02X",packet[i]);
|
||||||
debugln();
|
debugln();
|
||||||
|
@ -1185,16 +1185,22 @@ If only a NRF24L01 is installed then this sub protocol might be problematic beca
|
|||||||
## MT99XX - *17*
|
## MT99XX - *17*
|
||||||
Autobind protocol
|
Autobind protocol
|
||||||
|
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9
|
CC2500: only YZ and F949G are supported.
|
||||||
---|---|---|---|---|---|---|---|---
|
|
||||||
A|E|T|R|FLIP|LED|PICTURE|VIDEO|HEADLESS
|
|
||||||
|
|
||||||
CC2500: only YZ is supported.
|
|
||||||
|
|
||||||
### Sub_protocol MT99 - *0*
|
### Sub_protocol MT99 - *0*
|
||||||
Models: MT99xx
|
Models: MT99xx
|
||||||
|
|
||||||
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
|
A|E|T|R|FLIP|LED|PICTURE|VIDEO|HEADLESS|ATrim|ETrim
|
||||||
|
|
||||||
### Sub_protocol H7 - *1*
|
### Sub_protocol H7 - *1*
|
||||||
Models: Eachine H7, Cheerson CX023
|
Models: Eachine H7, Cheerson CX023
|
||||||
|
|
||||||
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
|
A|E|T|R|FLIP|LED|PICTURE|VIDEO|HEADLESS|ATrim|ETrim
|
||||||
|
|
||||||
### Sub_protocol YZ - *2*
|
### Sub_protocol YZ - *2*
|
||||||
Model: Yi Zhan i6S
|
Model: Yi Zhan i6S
|
||||||
|
|
||||||
@ -1204,63 +1210,71 @@ If a CC2500 is installed it will be used for this sub protocol. Option in this c
|
|||||||
|
|
||||||
If only a NRF24L01 is installed then this sub protocol might be problematic because it is using the xn297L emulation with a transmission speed of 250kbps which doesn't work very well with every NRF24L01, this is an hardware issue with the authenticity and accuracy of the components.
|
If only a NRF24L01 is installed then this sub protocol might be problematic because it is using the xn297L emulation with a transmission speed of 250kbps which doesn't work very well with every NRF24L01, this is an hardware issue with the authenticity and accuracy of the components.
|
||||||
|
|
||||||
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
|
A|E|T|R|FLIP|LED|PICTURE|VIDEO|HEADLESS|ATrim|ETrim
|
||||||
|
|
||||||
### Sub_protocol LS - *3*
|
### Sub_protocol LS - *3*
|
||||||
Models: LS114, 124, 215
|
Models: LS114, 124, 215
|
||||||
|
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
---|---|---|---|---|---|---|---|---
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
A|E|T|R|FLIP|INVERT|PICTURE|VIDEO|HEADLESS
|
A|E|T|R|FLIP|INVERT|PICTURE|VIDEO|HEADLESS|ATrim|ETrim
|
||||||
|
|
||||||
### Sub_protocol FY805 - *4*
|
### Sub_protocol FY805 - *4*
|
||||||
Model: FY805
|
Model: FY805
|
||||||
|
|
||||||
**Only 1 ID available**
|
**Only 1 ID available**
|
||||||
|
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
---|---|---|---|---|---|---|---|---
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
A|E|T|R|FLIP||||HEADLESS
|
A|E|T|R|FLIP||||HEADLESS|ATrim|ETrim
|
||||||
|
|
||||||
### Sub_protocol A180 - *5*
|
### Sub_protocol A180 - *5*
|
||||||
Model: XK A180, A120, F949S, F959
|
Model: XK A180, A120, F949S, F959
|
||||||
|
|
||||||
A180:
|
A180:
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
---|---|---|---|---|---
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
A|E|T|R|3D6G|RATE
|
A|E|T|R|3D6G|RATE||||ATrim|ETrim
|
||||||
|
|
||||||
A120:
|
A120:
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
---|---|---|---|---|---
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
A|E|T|R|RATE|LED
|
A|E|T|R|RATE|LED||||ATrim|ETrim
|
||||||
|
|
||||||
F949S:
|
F949S:
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6|CH7
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
---|---|---|---|---|---|---
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
A|E|T|R|RATE|RXLED|3D6G
|
A|E|T|R|RATE|RXLED|3D6G|||ATrim|ETrim
|
||||||
|
|
||||||
### Sub_protocol DRAGON - *6*
|
### Sub_protocol DRAGON - *6*
|
||||||
Model: Eachine Mini Wing Dragon, Eachine Mini Cessna
|
Model: Eachine Mini Wing Dragon, Eachine Mini Cessna
|
||||||
|
|
||||||
Telemetry is supported: A1 = battery voltage with a Ratio of 25.5, A2=battery low flag (0=off,>0=on) and RSSI = dummy value of 100
|
Telemetry is supported: A1 = battery voltage with a Ratio of 25.5, A2=battery low flag (0=off,>0=on) and RSSI = dummy value of 100
|
||||||
|
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
---|---|---|---|---|---
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
A|E|T|R|MODE|RTH
|
A|E|T|R|MODE|RTH||||ATrim|ETrim
|
||||||
|
|
||||||
MODE: -100%=Beginner, 0%=Intermediate, +100%=Advanced
|
MODE: -100%=Beginner, 0%=Intermediate, +100%=Advanced
|
||||||
|
|
||||||
### Sub_protocol F949G - *7*
|
### Sub_protocol F949G - *7*
|
||||||
|
If a CC2500 is installed it will be used for this sub protocol. Option in this case is used for fine frequency tuning like any CC2500 protocols so check the [Frequency Tuning page](/docs/Frequency_Tuning.md).
|
||||||
|
|
||||||
|
If only a NRF24L01 is installed then this sub protocol might be problematic because it is using the xn297L emulation with a transmission speed of 250kbps which doesn't work very well with every NRF24L01, this is an hardware issue with the authenticity and accuracy of the components.
|
||||||
|
|
||||||
Model: F949G
|
Model: F949G
|
||||||
|
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
---|---|---|---|---|---
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
A|E|T|R|6G3D|Light
|
A|E|T|R|6G3D|Light||||ATrim|ETrim
|
||||||
|
|
||||||
Model: KFPLAN Z-Series like Z61 BF109, Z54 A380,...
|
Model: KFPLAN Z-Series like Z61 BF109, Z54 A380,...
|
||||||
|
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
---|---|---|---|---|---|---|---|---
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
A|E|T|R|-|Rate|Light|Unk1|Unk2
|
A|E|T|R||Rate|Light|Unk1|Unk2|ATrim|ETrim
|
||||||
|
|
||||||
Unk1&2: long press right/left
|
Unk1&2: long press right/left
|
||||||
|
|
||||||
@ -1269,20 +1283,18 @@ Unk1&2: long press right/left
|
|||||||
### Sub_protocol PA18 - *0*
|
### Sub_protocol PA18 - *0*
|
||||||
Model: PA18 mini
|
Model: PA18 mini
|
||||||
|
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6|CH7
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
---|---|---|---|---|---|---
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
A|E|T|R|MODE|FLIP|RTH
|
A|E|T|R|MODE|FLIP|RTH|||ATrim|ETrim
|
||||||
|
|
||||||
MODE: -100% beginner, 0% intermediate, +100% Expert
|
MODE: -100% beginner, 0% intermediate, +100% Expert
|
||||||
|
|
||||||
### Sub_protocol SU35 - *1*
|
### Sub_protocol SU35 - *1*
|
||||||
Model: QF009 SU35
|
Model: QF009 SU35
|
||||||
|
|
||||||
CH6 - LED, CH7 - LED Flash, CH8 - Invert, CH9 - Rate
|
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11
|
||||||
|
---|---|---|---|---|---|---|---|---|---|---
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9
|
A|E|T|R|MODE|LED|LED_FLASH|INVERT|RATE|ATrim|ETrim
|
||||||
---|---|---|---|---|---|---|---|---
|
|
||||||
A|E|T|R|MODE|LED|LED_FLASH|INVERT|RATE
|
|
||||||
|
|
||||||
MODE: -100% 6G, +100% 3D
|
MODE: -100% 6G, +100% 3D
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user