Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jumper T Pro - S2 switch shows as Pot in EdgeTX
#1
Hi.

I have this transmitter Jumper T Pro with bottom right toggle switch (earlier versions have pot in there). 
In EdgeTX / Hardware screen it shows under Pots: "S2 --- pot with detent", but it is physically a latching switch. You cannot change it from pot to switch there...

It kinda works, shows channel output changing from 1000 to 2000. But it is in reverse: 
- when switch is pressed and latched down, output is 1000
- when switch is depressed and latched in up position, output is 2000


I want to use it for Arm/Disarm in Betaflight. I tried to toggle Outputs / CH5 / Direction = INV, but then it gets stuck at 1000, not reacting to switch.
I tried same INV setting on momentary switch SC, and INV works as intended. So something is wrong with S2 in firmware, I suspect because it thinks its a pot...

I need to invert it because ExpressLRS specifically asks for disarm value = 1000, Arm = 2000.

1. How fo a get firmware that lists S2 as a switch and not pot?
2. Why INV does not work on S2 and works on SC?

I updated EdgeTX to 2.9.2, but S2 is still a pot Smile
Help Much appreciated!

Related post
Reply
Login to remove this ad | Register Here
#2
Hello,

I had the same problem as you but I managed to find a way.

For my latching switch, pressed = 1000 and unpressed = 1500.

I left S2 as pot, but I setup a logical switch to detect if the pot value <-80, "L01" activates. L01 is then used as a source to CH5. For disarming, I setup a special function to override CH5 to -100 when !L01 is detected. Let me know if you need pictures of my setup

One thing that I find fascinating is that why Jumper had designed the latching arm switch as active-low when pressed rather then active-high. A hardware mod might be possible though. Which would simplify alot of things. Anyway, hope this answers your question Smile


EDIT: I did not re-calibrate the sticks after installing the switch. After recalibrating, there is a much simpler way. Just change the weight of CH5 in mixers tab to -100 and it should work.
[-] The following 1 user Likes sternpython's post:
  • maxer
Reply
#3
Can't you setup a new mix, bind it to that switch and then set it high or low. I don't know on the V2. i only have the first version of the T-Pro. The biggest fun is getting the 6 buttons in the middle to work as individual switches. Tongue I had to watch JB's video on it three times to get a handle on it.
Try Not, Do or Do Not
- Yoda

Reply
#4
(24-Dec-2023, 05:42 PM)sternpython Wrote: For my latching switch, pressed = 1000 and unpressed = 1500.

Hmm... mine is different, On the radio itself, in Channel Monitor screen, I see 0 value when pressed (mid position, aka 1500 pwm) and +100 when un-pressed (2000 pwm).

I have this in radio.yml after calibration:
POT2:
mid: 0
spanNeg: 0
spanPos: 1009

And another strange thing about it, in Betaflight Configurator / Receiver tab, CH5 moves from 1000pwm pressed to 2000pwm un-pressed! I hope someone can explain it, my head hurts.

Tried Weight = -100:
-------------------------
Pressed on Radio = 0 (mid position, aka 1500 pwm)
Pressed in BF Configurator = 1000pwm

Un-pressed on Radio = -100 (1000pwm)
Un-Pressed in BF Configurator = 1000pwm

So in BF, with Weight = -100, it does not move at all. I have fresh install of EdgeTX (erasing old radio.yml), its unlikely that I messed it up, but with me its always a possibility Smile
Reply
#5
(24-Dec-2023, 06:15 PM)Pathfinder075 Wrote: Can't you setup a new mix, bind it to that switch and then set it high or low.

You need to be more specific in "set it high or low", there is more than one way Smile

(24-Dec-2023, 06:15 PM)Pathfinder075 Wrote:  I don't know on the V2.  i only have the first version of the T-Pro.  

We are talking V1 here, mine does not have "V2" in product description and its not OLED. They shipped some V1s with 2 pots, and some with 1 pot and 1 switch.
Reply
#6
(25-Dec-2023, 01:45 AM)maxer Wrote: Hmm... mine is different, On the radio itself, in Channel Monitor screen, I see 0 value when pressed (mid position, aka 1500 pwm) and +100 when un-pressed (2000 pwm).

I have this in radio.yml after calibration:
  POT2:
     mid: 0
     spanNeg: 0
     spanPos: 1009

And another strange thing about it, in Betaflight Configurator / Receiver tab, CH5 moves from 1000pwm pressed to 2000pwm un-pressed! I hope someone can explain it, my head hurts.

Tried Weight = -100:
-------------------------
Pressed on Radio = 0 (mid position, aka 1500 pwm)
Pressed in BF Configurator = 1000pwm

Un-pressed on Radio = -100 (1000pwm)
Un-Pressed in BF Configurator = 1000pwm

So in BF, with Weight = -100, it does not move at all. I have fresh install of EdgeTX (erasing old radio.yml), its unlikely that I messed it up, but with me its always a possibility Smile

My radio.yml (after sticks and Pot re-calib) shows 

   POT2:
      mid: 512
      spanNeg: 504
      spanPos: 504


With this, I get this as raw data when I have S2 as a source to CH5:

Pressed on Radio = -100 (1000us)
Unpressed on Radio = 100 (2000us)

After applying weight of -100 in mixer, I get the desired output.

Pressed on Radio = 100 (2000us)
Unpressed on Radio = -100 (1000us)

I'm not sure why your radio.yml is different from mine. That said, maybe you could try to play around with the offsets and weights. Here are my settings.



[Image: A6kj3Tkl.jpg] 



2nd Option
You could try to use a logical switch just like my previous settings, using a>x with V2 = -10 (assuming the values you got before you did the -100 weight), L05 activates. L05 can then be used as a source for CH5 in mixes.
[-] The following 1 user Likes sternpython's post:
  • maxer
Reply
#7
(25-Dec-2023, 10:43 AM)sternpython Wrote: My radio.yml (after sticks and Pot re-calib) shows 

   POT2:
      mid: 512
      spanNeg: 504
      spanPos: 504

This was the fix! Edited my radio.yml and now everything works as in your T Pro.
For ones reading this, also set "manuallyEdited: 1", otherwise radio will reject it saying its corrupt.

Thank you and merry Xmas Smile
[-] The following 1 user Likes maxer's post:
  • sternpython
Reply
#8
(25-Dec-2023, 01:58 AM)maxer Wrote: You need to be more specific in "set it high or low", there is more than one way Smile


We are talking V1 here, mine does not have "V2" in product description and its not OLED. They shipped some V1s with 2 pots, and some with 1 pot and 1 switch.

Mine is one of the very first ones with two pots.  While I did think about buying the switch and adding it, once i made the other six buttons work as independent switches I had more than enough to fly with.  Also the pot that it would replace is currently used as a throttle modifier to cut it by 50% for when I'm testing.

Glad you found a solution.
Try Not, Do or Do Not
- Yoda

Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Announcement EdgeTX "Centurion" v2.10.0 Release Candidate 3 Now Available SnowLeopardFPV 0 260 03-Apr-2024, 03:53 PM
Last Post: SnowLeopardFPV
  Announcement EdgeTX "Centurion" v2.10.0 Release Candidate 2 Now Available SnowLeopardFPV 0 224 30-Mar-2024, 02:25 AM
Last Post: SnowLeopardFPV
  Announcement EdgeTX "Centurion" v2.10.0 Release Candidate 1 Now Available SnowLeopardFPV 0 625 09-Mar-2024, 06:55 PM
Last Post: SnowLeopardFPV
  Crossfire diversity nano on backup lipo does not switch off fpvapnea 11 310 07-Mar-2024, 03:39 PM
Last Post: StuweFPV
  Announcement EdgeTX "Providence" v2.9.4 Release Now Available SnowLeopardFPV 0 213 13-Feb-2024, 11:26 PM
Last Post: SnowLeopardFPV


Login to remove this ad | Register Here