Newcal / opentx

Automatically exported from code.google.com/p/opentx
0 stars 0 forks source link

Flight modes when used for disenabling/enabling electric motor give incorrect throttle response #94

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which board (stock / gruvin9x / sky9x / Taranis) are you using? - Taranis

What is your openTx FW version? - don't know

What is your openTx EEPROM version? - don't know

What steps will reproduce the problem?
1. CH1 set for throttle (which runs an electric motor via an electronic speed 
controller)
2. No flight modes it works fine - motor starts at about -90% runs up to full 
speed at +100%
3. But set up flight modes, one of which is 'Launch" which is intended to 
enable the motor in Launch mode but disenable it in all other modes.
4. Assign Launch flight mode to switch G up.
5. Set Launch flight mode for CH1 all other flights modes blank.
6. But now, with Launch mode enabled, the motor only starts at 0% and runs up 
to +100%. -100% to 0% gives no response.
7. Tried using a switch rather than flight modes give same issue.
8. Worse, the motor operation is now unpredictable. Sometimes it switches 
itself on in other flight modes. It's dangerous.
9. I cannot use the Taranis for my application.

What is the expected output? What do you see instead? - see above

Please provide any additional information below.

Original issue reported on code.google.com by bill.coo...@btinternet.com on 7 Aug 2013 at 12:17

GoogleCodeExporter commented 8 years ago
Please upload your eeprom

Original comment by romolo.m...@gmail.com on 7 Aug 2013 at 12:46

GoogleCodeExporter commented 8 years ago
I can't for the moment. I've damaged my Taranis (the three switches on the 
right have become displaced).

Original comment by bill.coo...@btinternet.com on 7 Aug 2013 at 2:03

GoogleCodeExporter commented 8 years ago
O.K. I've mended my Taranis.
More alarmingly I tried another ESC.
Original ESC was a JETI Spin 66 (well known, tried and tested)
I tried a Hyperion Atlas ESC (now discontinued but has given reliable service 
for some years}
This time the the throttle response when in Launch mode was o.k. BUT clicking 
out of Launch mode into Cruise mode instead of stopping the motor ran up to 
full speed and wouldn't respond to the throttle stick. Ditto in Land mofde. 

Original comment by bill.coo...@btinternet.com on 8 Aug 2013 at 9:32

Attachments:

GoogleCodeExporter commented 8 years ago
Looking to your eeprom I can confirm the issue is invalid, and that it is your 
programming fault.
As soon the mix on ch1 get invalidated (as the mode is no longer active) the 
channel goes to 0 (neutral position)

Here attached you can find a eeprom with two models:
one called "motor off" as soon you exit launch phase engine get turned off
another called "motor keep" the engine is kept to the rate it was when exiting 
launch phase

Original comment by romolo.m...@gmail.com on 8 Aug 2013 at 9:50

GoogleCodeExporter commented 8 years ago

Original comment by romolo.m...@gmail.com on 8 Aug 2013 at 10:18

Attachments:

GoogleCodeExporter commented 8 years ago
Romolo,

Thanks. I've copied that over and it works! Very many thanks, it's appreciated.
I don't understand how it works but it does and that's o.k., I can simply copy 
it for my other models but ......
On the channel 1 throttle line (below the MAX line) it shows;      :=
Al I can get is:                                                                
             +=
How do I enter := ?

Original comment by bill.coo...@btinternet.com on 9 Aug 2013 at 3:18

GoogleCodeExporter commented 8 years ago
Multiplex: Replace instead of Add.
I.e. that line, when active, replaces all the ones above instead of being added 
to them. 

Original comment by bernet.a...@gmail.com on 9 Aug 2013 at 6:35