Hey there,
made another addition to this code: Spektrum X-Plus channel decoding!
What the hell is this?? Well, it's simple: if you have a Spectrum DX10t/DX18 or DX18t radio you can enable X-Plus channels, which let's your transmitter send 18 channels in total.
With the standard code AQ ist only able to use 12 channels when using a Spektrum Sat/Cypress onboard receiver. I've added some code so we now can use all 18 channels.
First off all, you need to have a transmitter which allows you to use X-Plus (DX10t/DX18 or DX18t) and enable X-Plus channels (FRAME RATE TAB)
- Enable X-Plus channels
- SPM_1000.jpg (7.74 KiB) Viewed 32470 times
Note: This code supports DSMX only! Why should anybody want to loose resolution on channels by using DSM2....
- Input channel assignment on my DX10t
- SPM_0001.jpg (12.52 KiB) Viewed 32470 times
- All X-Plus channels in use --> 18 RX channels in total
- SPM_0002.jpg (10.93 KiB) Viewed 32470 times
- Channel Monitor shows values of all 18 channels
- channel monitor.jpg (68.53 KiB) Viewed 32470 times
- Please not parameters tab! Current QGC will not allow you to choose channel 17 and 18 from dropdown list
I've tested this code with Spektrum DSMX sat receiver (SPM9645) bound to:
- AR10000
- AR9020
- AR7700
--> AR7700 is special, since this a a serial receiver which gives you diversity and 3 more PWM channels (think of using gimbal contol on M4 based crafts (with PWM ESCs)). You can either use the AR7700 stand-alone, together with the sat receiver, or the sat receiver only.
- new Spektrum AR7700 receiver: serial receiver with 3 additional PWM ports for gimbal control. Specially tailored for multi rotor use
and - for sure - with the M4r6 onboard receiver (Cypress!).
All work fine
Nevertheless, I need some help in testing because the code needs to be tested with other Spektrum transmitters for failures (less than 10 channels), as well as with DX18 and DX18t.
Attached to this post you will find the sources together with compiled versions for:
- M4r6 with Quatos and External ESC
- AQ 6 rev1 with DIMU and Quatos
- AQ6 rev1 with DIMU and PID
(if you need another version please let me know!)
ATTENTION: THIS IS EXPERIMENTAL FIRMWARE! PLEASE TAKE CARE IF YOU WANT TO TEST!!!
- Compiled FW.zip
- Compiled firmware with Follow me, Waypoint live Recording and new Spektrum code for X-Plus decoding
- (450.32 KiB) Downloaded 1348 times
@Max: Thank you for adding the mavlink-code changes to have all 18 channels displayed in the Rc channel widget!
Please note: requires mavlink from Peter (sandman) -
viewtopic.php?f=31&t=4690#p35225!