Foxeer reaper infinity(5w vtx) unable to control tx power

I have built a 13 inch “long range” quad and I’m using matekh743 slim and foxeer reaper infinity vtx. I believe I have set the correct parameters in mp because when i set vtx_max_pwr to 800, it could control the vtx to output at 800mw, but when I raise the maximum to 5000, osd shows it only output at 0mw and 25mw. I dothave a rf meter so I don’t know the real output from vtx.

Post your parameters

Hi andy, heres my parameter file.

I could manually set the output power of my vtx by pressing the button on it, and based on the temperature of my vtx, I can say it’s probably running at 5w but osd only shows 1000 when it does. And when I try to control the output power with rc channel, it only goes from 0 to 25 and not any higher. I am using the six button channel on my tx16s.
Vtx manual says it has 6 different settings: PIT/25/500/1500/3000/5000

If VTX_FREQ is 0 it means your flight controller isn’t communicating with the VTX. You need to have the half-duplex bit set in your serial config. Also have you connected the VTX RX pin to the TX pin of your uart?

Yes I have connected them. And I enabled half duplex, it now shows frenquency in the parameter page and message tab. But it still wont show 5000 when I set it to (from the parameter page). Using rc channel I could only set it to 400 and the VTX_PWR always reset itself back to 1000
Edit: forgot to refresh parameters, vtx_freq and vtx_band/vtx_chennel did show up. And vtx_power did reset itself.



Ok now the message and parameter shows its at 5000 but osd show 25mw. VTX light shows 25mw. VTX band chennel and frequency can be set by parameter page but power seems not working.

Hello Andy!
I have the same problem, but I integrated custom values in VTX table, can you help with understand with logic { level, mw, dbm, dac}

What VTX do you have? I really should get some examples so that I can debug more

I found the problem.
It has to do with a specific implementation of the IRCTramp protocol on the VTX.
Thanks for your time!

Hello, Andy!
As my story continues, I have another question :sweat_smile:

In AP_Tramp.cpp:

send_command(‘P’, vtx.get_configured_power_mw());

But why did we create the VTX(AP_VideoTX::PowerLevel AP_VideoTX::_power_levels[VTX_MAX_POWER_LEVELS]) table if we don’t use the other values from { level, mw, dbm, dac} to configure via IRCTramp?

Foxeer have sent me two of these so I should be able to test in the coming weeks

I have a fix for this if anyone is willing to try it

I could have checked it out

Do you need me to do you a build?

Glad to see updates for Tramp protocol, hope it will be merged in upcoming release :+1:
And I don’t need my branch any more :smile:

It seems rover 4.5.5 contains the updated tramp code, however I am still having erratic behavior with my foxeer reaper infinity. I am have kakute h7, uart6/baud 4/half duplex/irc tramp, max power 5000, and VTx power (option 94) on a 6pos switch. When I power up the video feed repeatedly goes in/out every few seconds. When it goes out it’s not the normal full snow, but mostly snow with some black/white lines near the middle. When it comes it, it’s nice and clean.

Otherwise it seems tramp is somewhat working like it should… MP is showing the correct output freq, and I can change VTx band/freq using MP. When I select the max power switch position, I see 1000mW on the osd and MP, and the vtx flashes leds indicating 2.5W. Switch position 2 goes to 500mW but shows 400mW in the osd and MP. So no 5W and mW are not displaying correctly, but those are issues I could live with for now. The video cutting in/out thing is a deal breaker though; I’ve had to disable vtx control altogether to be able to operate the thing.

I tried playing with some other settings such as pullup/pulldown invert tx etc to no avail. I know the kakute has a vtx power switch built in, but I’m not using the vtx power pin so that can’t be the issue (the vtx power comes from the lipo, and the vtx 5v pin is connected to the fc 5v).

Has anyone else managed to get a reaper infinity fully working with ardupilot?

The video cutting in/out every few seconds only when vtx control is enabled… what could possibly cause that?

FWIW, my vtx works fine at all power levels when I disable vtx control and set things manually. I also have elrs backpack installed on my rc tx for use with my other quads (betaflight)… not sure if that could cause this issue for ardupilot.

Since I know someone will ask… my parameter file is attached:
roboTankVTX.param (31.0 KB)

Any hints/tips are much appreciated.

Thanks,
Kevin

For tramp try setting VTX_MAX_POWER to 800

1 Like

FWIW my issue may have been related to miswiring; I had the VTx 5V out wired to the FC 5V bus thanks to lack of clarity in the vtx manual. This could have easily caused issues with the VTx UART circuit during my testing, and is likely why the VTx quit working (solid black screen indicating good PA, bad input processing) after a few hours of use. Anyhow, a replacement is on the way; I’ll report back my findings after I get the thing wired (correctly this time).

OK it’s not working correctly with the new properly installed VTx. I’m not having anymore issues with video cutting in/out, channels are working fine, but I am only able to select 25mW and 1000mW with my transmitter channel. I am using the 6pos switch on my tx16s; the first and second buttons give 25mW, and buttons 3-6 give 1000mW (tx16s is putting out 1000-2000usec, verified in MP). These are actual output power levels based on the VTx LED flashing patterns. When the VTx is at 25mW, the OSD shows 25mW. When the VTx is at 1000mW, the OSD shows 400mW.

I tried with VTX_MAX_POWER set to 800, 1000, and 5000… same results each time. My parameter file is attached if needed.

roboTank.param (29.2 KB)

I suspect going with VTx tables like betaflight, if possible with ardupilot, would be the most flexible and future proof method. It’s hard to predict what power levels manufacturers will use, and then there is the issue with units (mW vs dBm).

Tramp have fixed power levels inside protocol.
25,100,200,400,600 mW.
What mean just 5 power levels. So you can’t tell him exact power level like in SmartAudio 2.1.
In Betafly you have separate table, where you set “Tramp power level” and shown on screen actual power value.
600 mW in you’r case is 5W.
More one problem with Trump- if you use 6-pos switch- lower or higer pos will not work. So you need limit RC out to 1600 PWM f.e. (what correspond to pos 5 of 6-pos switch)
Just set VTX Power MAx to 600, Min to 25 and changing power level check power Led on VTX.