Devo 7E double channel mapping in cleanflight

More
23 Sep 2016 10:59 - 23 Sep 2016 13:00 #54161 by Permutation
I have the following scenario. I am currently building a Racequad with a CC3D flightcontroller (flashed with cleanflight) that uses a Lemon RX satellite to connect to my Devo 7E with the latest nightly build of deviation. As model type I am using the multi template.

Binding Rx and Tx worked with Spektrum 1024 and RX_Serial Settings on the Configuration tab of cleanflight.

The problem that I have now is that when I switch to the Receiver tab in Cleanflight the channel mapping is completly wrong. My throttle stick controls Throttle and Roll on the y-Axis. The stick moves the throttle bar until it reaches the zero position and after the zero position it is moving the roll bar in cleanflight. Same with all other sticks. Every stick axis seems to control two values instead of just one. The Hold and F Mode switches do not impact any of the aux bars.

Does anyone know what I am doing wrong? I did not change anything on the mixer settings so far because I know how to change channels but I dont know what to do when I have two channels on one stick axis.

Thanks for your time and sorry for my bad english.
Attachments:
Last edit: 23 Sep 2016 13:00 by Permutation.

Please Log in or Create an account to join the conversation.

More
23 Sep 2016 13:00 - 23 Sep 2016 13:01 #54166 by Cereal_Killer
Replied by Cereal_Killer on topic Devo 7E weird channel mapping in cleanflight
Throttle and pitch linked is a sure sign of tx being in heli mode. I know you said you have it in multi mode (and not heli) but that's exactly what it sounds like.

Change to plane mode
Verify you're running the advanced gui.
Check your outputs page in the transmitter menu to see if the issue is in the tx or in cleanflight, you may be on 1024 (10-bit) but need to be on 2048(11-bit), how many channels are you running? 10-bit is for <7 channels, more than that and you'll be running 11-bit (and therefore you choosing 10 when you're at >8ch could cause very similar issues).

Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7

What I do in real life: rivergoequestrian.com/
Last edit: 23 Sep 2016 13:01 by Cereal_Killer.

Please Log in or Create an account to join the conversation.

More
23 Sep 2016 13:07 - 23 Sep 2016 13:17 #54168 by Permutation
Replied by Permutation on topic Devo 7E weird channel mapping in cleanflight
Thank you for your help, unfortunately it does not work so far.

I have switched to plane mode. It changed the scale of the channels but I have still two channels per stick axis.
The outputs in the transmitter menu look correct. Every stick is just controlling one channel. I am using 6 channels, the satellite with a cc3d only supports 6 channels.
I tried to bind the Rx with 2048 but this was not working and I found several people who have the same issue with Orange Rx. They all suggested to go to DSMX 1024 and binding works fine in this mode.

Edit (Solution): I figured it out! Thanks a lot! So it seems like the lemon Rx receivers only bind to dsmx of a devo7E if you use 1024 but after binding you can switch back to 2048 and than your channel mappings will work and the receiver still connects properly to the Tx. Thats super weird but I am super happy that it works :woohoo:
Last edit: 23 Sep 2016 13:17 by Permutation.

Please Log in or Create an account to join the conversation.

More
23 Sep 2016 13:12 #54171 by Cereal_Killer
Replied by Cereal_Killer on topic Devo 7E weird channel mapping in cleanflight
Which bind code (in cleanflight) are you using?

Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7

What I do in real life: rivergoequestrian.com/

Please Log in or Create an account to join the conversation.

More
23 Sep 2016 13:17 #54172 by Permutation
Replied by Permutation on topic Devo 7E weird channel mapping in cleanflight
When I tried to bind with 2048 I was using 9. When I tried to bind with 1024 I used 7

Please Log in or Create an account to join the conversation.

More
14 Jan 2017 02:54 #57914 by Jcnube66
Replied by Jcnube66 on topic Devo 7E weird channel mapping in cleanflight
I had the same issue with the mapping. after I got that figured out, I quickly realized that cleanflight isn't detecting my devo 7e toggles and I can't arm my quadcopter.

Thoughts?

Please Log in or Create an account to join the conversation.

More
14 Jan 2017 03:36 #57916 by Deal57
Did you assign a channel to the toggle switches? You can set up a switch to arm. To do that you need to set up channel 5 for a switch with a 1-to-1 curve. Then in CF assign aux1 to arm above 1500. You can also assign channel 6 to set the flight mode.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

Please Log in or Create an account to join the conversation.

More
14 Jan 2017 03:44 #57917 by Jcnube66
Replied by Jcnube66 on topic Devo 7E weird channel mapping in cleanflight
Thank you! No I have not. I'm very new to this, so I am ignorant when it comes to my tx. How do I assign channels to my toggles?

Please Log in or Create an account to join the conversation.

More
14 Jan 2017 05:13 #57920 by Jcnube66
Replied by Jcnube66 on topic Devo 7E weird channel mapping in cleanflight
scratch that. I figured that out too. so now I am at another crossroad. When I throttle up to 88% and leave it there, the motors continue to increase speed until it flips over to one side. I figured out that when I push the AIL control to the left then all motors push equal power and allows the quadcopter straight up. Cleanflight verifies that all the controls are properly programed. and I have double checked all my soldering and everything checks out. why would this do this?

Please Log in or Create an account to join the conversation.

More
14 Jan 2017 09:05 - 14 Jan 2017 09:06 #57925 by aMax
You simply did not calbrate the ACC on your flight controller. Maybe even the mid on the channels are not set correctly with subtrim.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Last edit: 14 Jan 2017 09:06 by aMax.

Please Log in or Create an account to join the conversation.

More
14 Jan 2017 19:17 - 14 Jan 2017 19:19 #57943 by Jcnube66
Replied by Jcnube66 on topic Devo 7E weird channel mapping in cleanflight
I calibrated the ACC already, but i still went ahead and calibrated it again anyways. Still does the same thing. I connected it to cleanflight and used my tx to throttle the motors and watched the power levels on cleanflight to see what each motor was doing. Motors 1, 2, and 4 were all slowly but steadily rising when I left the throttle stick on the tx at -99%. And motor 3 was the only one that was correctly following the tx command and remaining at the -99%. Could this just be a setting issue in the tx? Everything else works great!
Last edit: 14 Jan 2017 19:19 by Jcnube66.

Please Log in or Create an account to join the conversation.

More
14 Jan 2017 21:37 #57956 by Deal57
In the Receiver settings, what is the Channel Map? And do the names next to the bars match up to Aileron, Elevator, Throttle and Rudder?

Do your channels go all the way from 1000 to 2000? I found I needed to use the rxrange command "rxrange 0 1159 1842" because in my TX/RX system the range went from 1159 to 1842, and IIUC this commands maps this to the desired 1000-2000 range.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

Please Log in or Create an account to join the conversation.

More
15 Jan 2017 00:25 - 15 Jan 2017 00:41 #57958 by Jcnube66
Replied by Jcnube66 on topic Devo 7E weird channel mapping in cleanflight
I amnot sure where to look at the reciever settings at, but I did change the min. And max throttle commands in clean flight to almost the exact numbers you have. Is that where you were talking about, or do I have to use the CLI for something? As i said, i am new to this, but i assume that you are talking about the bars in clean flight and yes, everything matches up. And the mapping is the third choice in the drop down. I thing maybe TAER without getting my computer out
Last edit: 15 Jan 2017 00:41 by Jcnube66.

Please Log in or Create an account to join the conversation.

More
15 Jan 2017 03:03 #57959 by Deal57
If you are using a Spektrum (or DSMX) RX then use TAER, for Flysky and Devo use AETR (I think most others use this, too). In the receiver menu in the latest version of CF the control is listed next to the signal bar. Look to see that the bar goes the right direction, too, because you may have to reverse one or two of the channels (in the Mixer screen, click on the channel name, e.g.1-Thr, to reverse the signal).

One last thing, when you flashed Devo, did you calibrate your sticks?

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

Please Log in or Create an account to join the conversation.

More
15 Jan 2017 08:52 #57960 by FDR
The strange thing was when I used an Orange RX615X, which is TAER by nature, that the PPM was in AETR order in CleanFlight...

Please Log in or Create an account to join the conversation.

More
15 Jan 2017 10:43 - 15 Jan 2017 11:01 #57962 by aMax

FDR wrote: The strange thing was when I used an Orange RX615X, which is TAER by nature, that the PPM was in AETR order in CleanFlight...

Yes this is correct. The ppm stream of the Orange R615X is AETR while the Devo mixer order is TAER..
So you must select AETR in Cleanflight. I did a a test with a Saleae logic analyzer two years ago.

Edit: The Storm S603 receiver has the same ppm stream output.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Last edit: 15 Jan 2017 11:01 by aMax.

Please Log in or Create an account to join the conversation.

More
15 Jan 2017 12:51 #57965 by Jcnube66
Replied by Jcnube66 on topic Devo 7E weird channel mapping in cleanflight
Yes I calibrated the sticks and i am using spektrum DSMX rx so my mapping is correct as well and my throttle increases power in CF when i move the left stick up

Please Log in or Create an account to join the conversation.

More
15 Jan 2017 17:15 #57987 by Deal57
Is your Devo in stick Mode 2 (Right Vert = Elevator, Right Horiz = Ail, Left Vert = Throttle, Left Horiz = Rudder)? When you move the Right Vertical stick does the Elevator bar move in CF? You can set the stick mode in the transmitter menu, transmitter config screen.

In one of my first tries with Cleanflight I remember writing down all my changes (use Dump from CLI and highlight what you changed), then started everything over again. Flash the CF firmware and step through the notes listed here . It may have had no real effect, but after that we were flying.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

Please Log in or Create an account to join the conversation.

More
15 Jan 2017 17:50 #57990 by Jcnube66
Replied by Jcnube66 on topic Devo 7E weird channel mapping in cleanflight
Yes to everything from the first paragraph. As far as the dump technique, i will try that tonight when i get back to my computer

Please Log in or Create an account to join the conversation.

More
16 Jan 2017 13:12 #58025 by Jcnube66
Replied by Jcnube66 on topic Devo 7E weird channel mapping in cleanflight
Have got everything reflashed but wont arm again. Have the switch set to arm it and all the settings are back to the way they were. Just can't get the motors spinning again lol.

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum